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 2019/01/23 11:24: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=16749832#comment-16749832 ] 

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

FAILURE: Integrated in Jenkins build Tobago Trunk #1646 (See [https://builds.apache.org/job/Tobago%20Trunk/1646/])
TOBAGO-1633: Use TypeScript instead of JavaScript (lofwyr: rev 2eb8e7a4965d296a1b65aebadfff476009ff63b5)
* (add) tobago-theme/tobago-theme-standard/src/main/npm/js/tobago-myfaces.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/20-docker/tobago.d.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-dropdown.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/20-docker/docker.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-panel.ts
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-dropdown.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-select.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/110-wysiwyg/00-tinymce/tinymce.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/sheet/sheet-reload.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-panel.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-stars.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/script/demo.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-file.ts
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-sheet.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-layout.js
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/PageRenderer.java
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-popup.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-command.js
* (edit) tobago-theme/tobago-theme-roxborough/src/main/npm/package.json
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-command.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tobago-config.xml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1020-suggest-quotMark/Suggest_QuotMark.test.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tree.ts
* (edit) tobago-theme/tobago-theme-speyside/src/main/npm/package.json
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/declare.d.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-jsf.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tab.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-tab.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/script/login.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/gridLayout/TabGroup_Auto.xhtml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/script/tobago-testAll.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/20-docker/docker.js.map
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-suggest.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-popover.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago.ts
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-file.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-popover.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/tsconfig.json
* (edit) tobago-theme/tobago-theme-charlotteville/src/main/npm/package.json
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-overlay.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-suggest.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/sheet/Sheet_Multi_Header.xhtml
* (edit) tobago-theme/tobago-theme-standard/pom.xml
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-in.ts
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-console.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/script/script-event.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/Mode_ValueIfSet.test.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/sheet/sheet-simple.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/80-security/05-csp/Content_Security_Policy.xhtml
* (edit) tobago-theme/pom.xml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/20-docker/docker.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-stars.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-calendar.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-utils.ts
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-in.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/gridLayout/TabGroup_Auto_Auto.xhtml
* (edit) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-utils.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-myfaces.js
* (edit) tobago-theme/tobago-theme-standard/src/main/npm/package-lock.json
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-select.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/sheet/sheet-large.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/Suggest.test.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/js/tobago-deltaspike.js
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/20-component/110-wysiwyg/01-ckeditor/demo-ckeditor.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-deltaspike.js
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-overlay.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-popup.ts
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/gridLayout/TabGroup_Relative.xhtml
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-layout.ts
* (edit) tobago-theme/tobago-theme-scarborough/src/main/npm/package.json
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts
* (edit) tobago-theme/tobago-theme-standard/src/main/npm/package.json
* (delete) tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-tree.js
* (add) tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-listener.ts
* (add) tobago-theme/tobago-theme-standard/src/main/npm/tslint.json
* (edit) tobago-core/src/test/resources/theme-config.xml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/15-suggest-method/Suggest_Method.test.js


> 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 Noeth
>            Assignee: Udo Schnurpfeil
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Will be implemented with:
> * first steps:
> ** 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) (/)
> * second steps
> ** optimize code with native TypeScript
> ** Check, if we need jQuery vs. Vanilla JS
> ** Check to remove jQuery UI



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)