stable

Clone or download

Read-only

"βž•New" Dropdown can display trackers

Run forgeupgrade. Hack the database and inject one or more tracker id. On every pages of the project, the "βž•New" dropdown displays links to submit artifact in given trackers. If user is not allowed to submit an artifact in the tracker, then the link is not displayed. The title of the global links has been renamed from Tuleap to `sys_name`. Part of story #16205: Β« + New Β» button Change-Id: Ib896b08787c6101e9c850d055d2bf66a47dd649f

Modified Files

Name
M plugins/tracker/db/install.sql +5 βˆ’0 Go to diff View file
A plugins/tracker/db/mysql/updates/2020/202008120942_create_in_new_dropdown_table.php +43 βˆ’0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 βˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/NewDropdown/TrackerInNewDropdownDao.php +41 βˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/NewDropdown/TrackerInNewDropdownRetriever.php +59 βˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/NewDropdown/TrackerLinksInNewDropdownCollector.php +59 βˆ’0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +15 βˆ’1 Go to diff View file
A plugins/tracker/test/unit/Tracker/NewDropdown/TrackerLinksInNewDropdownCollectorTest.php +62 βˆ’0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/NewDropdown/TrackerInNewDropdownRetrieverTest.php +94 βˆ’0 Go to diff View file
A src/common/layout/NewDropdown/NewDropdownLinkPresenter.php +49 βˆ’0 Go to diff View file
A src/common/layout/NewDropdown/NewDropdownLinkSectionPresenter.php +47 βˆ’0 Go to diff View file
A src/common/layout/NewDropdown/NewDropdownPresenter.php +47 βˆ’0 Go to diff View file
A src/common/layout/NewDropdown/NewDropdownPresenterBuilder.php +90 βˆ’0 Go to diff View file
A src/common/layout/NewDropdown/NewDropdownProjectLinksCollector.php +74 βˆ’0 Go to diff View file
M src/themes/BurningParrot/css/includes/_navbar.scss +9 βˆ’0 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +18 βˆ’8 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenterBuilder.php +3 βˆ’3 Go to diff View file
M src/themes/BurningParrot/include/Navbar/Presenter.php +6 βˆ’5 Go to diff View file
M src/themes/BurningParrot/include/Navbar/PresenterBuilder.php +3 βˆ’8 Go to diff View file
M src/themes/BurningParrot/templates/navbar/navbar.mustache +22 βˆ’15 Go to diff View file
M src/themes/FlamingParrot/css/utils/_navbar.scss +12 βˆ’2 Go to diff View file
M src/themes/FlamingParrot/include/NavBarPresenter.class.php +5 βˆ’4 Go to diff View file
M src/themes/FlamingParrot/templates/navbar-user-navigation.mustache +26 βˆ’18 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +16 βˆ’9 Go to diff View file
A tests/unit/common/layout/NewDropdown/NewDropdownPresenterBuilderTest.php +154 βˆ’0 Go to diff View file