stable
Clone or download
Read-only
part of: story #20919 define progress of artifacts How to test: - Go to Tracker > Admin > Fields - Remove the Artifact links field - Go to Admin > Semantics > Progress - In the "computation method" <select>, choose "Artifacts links count based" --> Alert error "Please add an artifact link field" --> You cannot submit - Re-add the links field - Select again the "Artifacts links count based" method --> No alert error - Save the semantic --> Feedback success --> The semantic is now configured to compute the progress by counting _is_child links - Reset the semantic --> Feedback success --> Semantic is reset Change-Id: I9fe6989acccb2934b1be11b57f73f59bace1d8d3
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenter.php | +23 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenterBuilder.php | +9 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnLinksCount.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/MethodBuilder.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/scripts/semantics/progress/admin-selectors.ts | +10 | −2 | Go to diff View file |
M | plugins/tracker/scripts/semantics/progress/options-manager.test.ts | +65 | −8 | Go to diff View file |
M | plugins/tracker/scripts/semantics/progress/options-manager.ts | +70 | −6 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +21 | −0 | Go to diff View file |
M | plugins/tracker/templates/semantic-progress/semantic-progress-admin.mustache | +40 | −3 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Progress/Administration/SemanticProgressAdminPresenterBuilderTest.php | +48 | −5 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnLinksCountTest.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBuilderTest.php | +30 | −0 | Go to diff View file |