You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (Jira)" <de...@myfaces.apache.org> on 2020/05/06 14:56:00 UTC

[jira] [Commented] (TOBAGO-1633) Use TypeScript instead of JavaScript.

    [ https://issues.apache.org/jira/browse/TOBAGO-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100867#comment-17100867 ] 

Hudson commented on TOBAGO-1633:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1984 (See [https://builds.apache.org/job/Tobago%20Trunk/1984/])
TOBAGO-1633: Use TypeScript instead of JavaScript * remove usused old (udo.schnurpfeil: rev 3a06476e1ffaf8a3bc5fdda7e17efcc9cfe74d4d)
* (edit) tobago-theme/tobago-theme-standard/src/main/npm/ts/declare.d.ts


> Use TypeScript instead of JavaScript.
> -------------------------------------
>
>                 Key: TOBAGO-1633
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1633
>             Project: MyFaces Tobago
>          Issue Type: Task
>          Components: Themes
>            Reporter: Henning Nöth
>            Assignee: Udo Schnurpfeil
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Will be implemented with:
>  * mv JavaScript code in to TypeScript files (should be more or less compatible) (/)
>  * using a ts transpiler from node js in build time (executed from maven pom.xml) (/)
>  * Using [Custom Elements|https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements]
>  ** Using e. g. <tobago-in> instead of <div class="tobago-in"> as main-tag
>  ** Introducing <tobago-behavior> instead of data-tobago-command attribute. Renaming command attribute "transition" to NOT "decoupled".
>  ** Work in progress (!)
>  * Using Custom Events
>  ** avoid tobago javascript imports (e.g. tobago-listener) for projects (like the demo)
>  * optimize code
>  ** native TypeScript
>  ** using classes
>  ** using custom elements
>  * Check, if we need jQuery vs. Vanilla JS
>  ** Current progress: Most jQuery code was removed, but some included libs stil using jQuery:
>  *** dateTimePicker
>  *** typeahead
>  *** ...
>  * Check to remove jQuery UI (e. g. widget factory)
>  * Current problems (09/19/2019)
>  ** (x) Date: change event doesn't call ajax (seems to depend on the date JS framework)
>  ** (x) AJAX TabSwitch: at the first call, the oder of setting the new index and the AJAX call is wrong
>  ** (x) Test for Tree Select fails
>  ** (x) drop down doesn't works
>  ** (?) ajaxListener doesn't work
>  ** (x) tc:selectManyShuttle - ajax
>  ** (x) closing X for tc:messages



--
This message was sent by Atlassian Jira
(v8.3.4#803005)