stable

Clone or download

Read-only

Introduce Switch to modal

This is a base commit to build the Switch to modal. Modal should look nearly the same between BurningParrot and FlamingParrot. The modal only displays "Under construction" therefore it is hidden temporarily behind the lab mode. This restriction will be removed in the next commit. Modal can be open with: * Switch to button in the navbar - `/` or `s` shortcuts. If one is taken by your browser, try the another one βˆ’ e.g `/` is taken to search in the page on my Firefox. Note: empty presenter is intended, it will encapsulate usefull data later. Part of story #16209: Β« Switch to… Β» button Change-Id: Ic985e542f906435cb430a0be8fbaad2229de7bca

Modified Files

Name
M build-manifest.json +4 βˆ’0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +9 βˆ’0 Go to diff View file
A src/common/User/SwitchToPresenter.php +31 βˆ’0 Go to diff View file
A src/common/User/SwitchToPresenterBuilder.php +39 βˆ’0 Go to diff View file
M src/common/layout/Layout.class.php +1 βˆ’0 Go to diff View file
M src/scripts/keyboard-navigation/index.ts +8 βˆ’0 Go to diff View file
A src/scripts/switch-to/index-bp.ts +38 βˆ’0 Go to diff View file
A src/scripts/switch-to/index-fp.ts +38 βˆ’0 Go to diff View file
A src/scripts/switch-to/po/fr_FR.po +19 βˆ’0 Go to diff View file
A src/scripts/switch-to/src/components/AppBurningParrot.vue +56 βˆ’0 Go to diff View file
A src/scripts/switch-to/src/components/AppFlamingParrot.vue +42 βˆ’0 Go to diff View file
A src/scripts/switch-to/src/components/SwitchToBody.vue +31 βˆ’0 Go to diff View file
A src/scripts/switch-to/src/components/SwitchToHeader.vue +47 βˆ’0 Go to diff View file
M src/templates/common/shortcuts.mustache +26 βˆ’3 Go to diff View file
M src/themes/BurningParrot/css/_includes.scss +1 βˆ’0 Go to diff View file
M src/themes/BurningParrot/css/includes/_help-dropdown.scss +4 βˆ’0 Go to diff View file
M src/themes/BurningParrot/css/includes/_navbar.scss +21 βˆ’0 Go to diff View file
A src/themes/BurningParrot/css/includes/_switch-to.scss +65 βˆ’0 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +4 βˆ’1 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenter.php +8 βˆ’1 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenterBuilder.php +5 βˆ’2 Go to diff View file
M src/themes/BurningParrot/templates/header.mustache +4 βˆ’0 Go to diff View file
M src/themes/BurningParrot/templates/navbar/navbar.mustache +7 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_bootstrap-overrides.scss +1 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_definitions.scss +1 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_help-dropdown.scss +4 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_navbar.scss +14 βˆ’12 Go to diff View file
A src/themes/FlamingParrot/css/utils/_switch-to.scss +73 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/include/ContainerPresenter.class.php +8 βˆ’1 Go to diff View file
M src/themes/FlamingParrot/include/NavBarPresenter.class.php +24 βˆ’17 Go to diff View file
M src/themes/FlamingParrot/templates/container.mustache +5 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/templates/navbar-user-logged-in.mustache +1 βˆ’1 Go to diff View file
M src/themes/FlamingParrot/templates/navbar-user-navigation.mustache +9 βˆ’0 Go to diff View file
M src/themes/tlp/src/scss/components/_forms.scss +0 βˆ’1 Go to diff View file
M src/themes/tlp/src/scss/variables/colors/_computed-colors.scss +2 βˆ’0 Go to diff View file
M src/webpack.common.js +2 βˆ’0 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +13 βˆ’5 Go to diff View file