stable

Clone or download

Read-only

Transform hardly visible browser deprecation banner into a popup

The popup is shown once every 4 days so it is seen by the users at least once per work week. Transforming the banner into a modal also means it will have less interactions with the rest of Tuleap and will not need a refactoring for upcoming features such the site wide banner. Closes request #17155: Announce end of support of Internet Explorer Change-Id: Ie7298434d002e8f0319ddcc93745aba6d2b2eef2

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +20 −15 Go to diff View file
A src/common/BrowserDetection/BrowserDeprecationMessage.php +62 −0 Go to diff View file
M src/common/Request/RouteCollector.php +0 −7 Go to diff View file
D src/common/User/Account/DisableLegacyBrowsersWarningMessageController.php +0 −44 Go to diff View file
M src/common/User/User.class.php +0 −1 Go to diff View file
M src/common/layout/BaseLayout.php +1 −38 Go to diff View file
A src/db/mysql/updates/2020/202010071700_remove_user_preference_disable_legacy_browser_warning.php +44 −0 Go to diff View file
M src/package-lock.json +16 −0 Go to diff View file
M src/package.json +1 −0 Go to diff View file
A src/scripts/browser-deprecation/browser-deprecation-modal-bp.ts +31 −0 Go to diff View file
A src/scripts/browser-deprecation/browser-deprecation-modal-fp.ts +30 −0 Go to diff View file
A src/scripts/browser-deprecation/browser-deprecation-modal.test.ts +60 −0 Go to diff View file
A src/scripts/browser-deprecation/browser-deprecation-modal.ts +37 −0 Go to diff View file
A src/scripts/browser-deprecation/mark-deprecation-acknowledgement.test.ts +41 −0 Go to diff View file
A src/scripts/browser-deprecation/mark-deprecation-acknowledgement.ts +34 −0 Go to diff View file
D src/templates/common/unsupported_browser.mustache +0 −14 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +12 −0 Go to diff View file
M src/themes/BurningParrot/include/FooterPresenter.php +11 −4 Go to diff View file
A src/themes/BurningParrot/templates/browser-deprecation.mustache +16 −0 Go to diff View file
M src/themes/BurningParrot/templates/footer.mustache +3 −0 Go to diff View file
A src/themes/FlamingParrot/css/utils/_browser-deprecation-modal.scss +24 −0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_definitions.scss +1 −0 Go to diff View file
A src/themes/FlamingParrot/templates/browser-deprecation.mustache +14 −0 Go to diff View file
M src/tsconfig.json +1 −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 +16 −0 Go to diff View file
A tests/unit/common/BrowserDetection/BrowserDeprecationMessageTest.php +60 −0 Go to diff View file
M tests/unit/common/BrowserDetection/DetectedBrowserTest.php +2 −1 Go to diff View file