stable

Clone or download

Read-only

feat: Do not reset semantics if calendar events

When calendar events are used, tracker administrators should not be able to unset title or timeframe semantics since they are mandatory for the feature. Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: I3d13590d791f49c7c7192fddae0ac5e08515fcb6

Modified Files

Name
M plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeAdministrationPresenter.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeAdministrationPresenterBuilder.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Title/AdminPresenter.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Title/AdminPresenterBuilder.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Title.class.php +6 −1 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/po/fr_FR.po +8 −1 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/po/pt_BR.po +5 −0 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/App.test.ts +1 −0 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/App.vue +2 −0 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/TimeframeAdminSubmitButtons.test.ts +28 −0 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/TimeframeAdminSubmitButtons.vue +12 −1 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/index.ts +3 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −0 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +5 −0 Go to diff View file
M plugins/tracker/templates/semantics/admin-title.mustache +9 −1 Go to diff View file
M plugins/tracker/templates/timeframe-semantic/timeframe-semantic-admin.mustache +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Title/AdminPresenterBuilderTest.php +11 −4 Go to diff View file