stable

Clone or download

Read-only

Tracker admin can define an effort based semantic progress

part of: story #20919 define progress of artifacts How to test: - Go to the admin of the semantic progress of one of your trackers --> You are asked to select a computation method - Select "Effort based" --> The configuration section of the effort based computation method is toggled - Fill in the fields - Submit --> Feedback success --> The configuration is displayed - Click on [Reset this semantic] --> Feedback success --> You are asked to choose a computation method Change-Id: I78f8cabf3a9f7c7f337ce6b3c75768215e194f15

Modified Files

Name
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php +7 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenter.php +60 −6 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenterBuilder.php +121 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/IComputeProgression.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/InvalidMethod.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnEffort.php +5 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Progress/MethodBuilder.php +109 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodNotConfigured.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgress.php +73 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressBuilder.php +16 −57 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +9 −4 Go to diff View file
A plugins/tracker/scripts/semantics/progress/admin-selectors.ts +42 −0 Go to diff View file
A plugins/tracker/scripts/semantics/progress/jest.config.js +25 −0 Go to diff View file
A plugins/tracker/scripts/semantics/progress/options-manager.test.ts +171 −0 Go to diff View file
A plugins/tracker/scripts/semantics/progress/options-manager.ts +78 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +24 −6 Go to diff View file
M plugins/tracker/templates/semantic-progress/semantic-progress-admin.mustache +67 −3 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenterBuilderTest.php +204 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/InvalidMethodTest.php +8 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnEffortTest.php +11 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBuilderTest.php +217 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodNotConfiguredTest.php +8 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/SemanticProgressBuilderTest.php +30 −120 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +8 −0 Go to diff View file
M plugins/tracker/webpack.common.js +2 −0 Go to diff View file