stable

Clone or download

Read-only

Semantic timeframe admin as a Vue app

part of: story #21362 Base artifact timeframe on a linked artifact Motivation: The complexity of the UX will be increased in the next commit, making it hard to continue with only Typescript and mustache. A vue.js app will be a lot easier to maintain and to extend. No functional change expected Change-Id: If6c7658502309dbe85dae9e1c8d86602e3003650

Modified Files

Name
M plugins/tracker/build-manifest.json +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeAdministrationPresenter.php +30 −73 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeAdministrationPresenterBuilder.php +6 −43 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +1 −3 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/index.ts +67 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/po/fr_FR.po +51 −0 Go to diff View file
D plugins/tracker/scripts/semantics/timeframe/semantic-timeframe-option-selector.ts +0 −47 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/components/App.vue +90 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/components/TimeframeAdminSubmitButtons.test.ts +79 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/components/TimeframeAdminSubmitButtons.vue +92 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/components/TimeframeBasedOnFieldsConfig.test.ts +263 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/components/TimeframeBasedOnFieldsConfig.vue +187 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/src/helpers/local-vue-for-tests.ts +31 −0 Go to diff View file
D plugins/tracker/scripts/semantics/timeframe/timeframe-options-manager.test.ts +0 −249 Go to diff View file
D plugins/tracker/scripts/semantics/timeframe/timeframe-options-manager.ts +0 −177 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/type.ts +23 −0 Go to diff View file
A plugins/tracker/scripts/semantics/timeframe/vue.shims.d.ts +23 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +0 −19 Go to diff View file
M plugins/tracker/templates/timeframe-semantic/timeframe-semantic-admin.mustache +12 −105 Go to diff View file
M plugins/tracker/tsconfig.json +2 −1 Go to diff View file
M plugins/tracker/webpack.common.js +12 −5 Go to diff View file