stable

Clone or download

Read-only

request #17121: Rewrite tracker homepage script in TypeScript

While this script was recently introduced (git #tuleap/stable/21052e0fe6895afad18b7825646e8bf93c17dcd6) it does not respect Tuleap internal conventions: new code MUST be written in TypeScript. It also incorrectly imports the tlp.createPopover function which lead to importing the whole tlp library into the script. As a result this contribution also reduces the size of the production asset (276KB → 2.83KB). Change-Id: Id3bf24bc6b63a183b1175373f44ec85a52ed3f91

Modified Files

Name
R plugins/tracker/scripts/tracker-homepage/index.js Go to diff View file
M plugins/tracker/tsconfig.json +2 −1 Go to diff View file
M plugins/tracker/webpack.common.js +1 −1 Go to diff View file