stable

Clone or download

Read-only

feat: Introduce milestones in sidebar config

This introduces the config table in db in order to be able to start working on milestones in sidebar. Since feature is not ready yet, it is not possible to update this settings via the UI, you have to manually update the database. Though, if milestones in sidebar are allowed, then we can see the setting (readonly) in project ยป backlog ยป administration. For now a simple checkbox is displayed, it will be adjusted later after Design Team feedbacks. The setting is guarded by a feature flag, no matter the config in db, if feature flag is off (default is on), then milestones will not appear in sidebar. To set/unset the feature flag: tuleap config-set feature_flag_allow_milestones_in_sidebar 0 Part of story #35104: Milestones below Backlog Change-Id: I1a25765b92bc4543dc3d2dab435d00c6c19d829c

Modified Files

Name
M plugins/agiledashboard/db/install.sql +6 โˆ’0 Go to diff View file
A plugins/agiledashboard/db/mysql/updates/2023/202311301525_add_milestones_in_sidebar_config.php +43 โˆ’0 Go to diff View file
M plugins/agiledashboard/db/uninstall.sql +1 โˆ’0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AdminScrumPresenter.class.php +1 โˆ’0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/CheckMilestonesInSidebar.php +26 โˆ’0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/MilestonesInSidebarDao.php +54 โˆ’0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Scrum/ScrumPresenterBuilder.php +4 โˆ’0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +2 โˆ’0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +2 โˆ’0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +6 โˆ’0 Go to diff View file
M plugins/agiledashboard/site-content/pt_BR/LC_MESSAGES/tuleap-agiledashboard.po +6 โˆ’0 Go to diff View file
M plugins/agiledashboard/templates/admin-scrum.mustache +18 โˆ’0 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Scrum/ScrumPresenterBuilderTest.php +2 โˆ’0 Go to diff View file
A plugins/agiledashboard/tests/unit/Stub/Milestone/Sidebar/CheckMilestonesInSidebarStub.php +47 โˆ’0 Go to diff View file
A tests/lib/Milestone/Sidebar/MilestonesInSidebarDaoTest.php +98 โˆ’0 Go to diff View file