stable

Clone or download

Read-only

Popover on project flags in BurningParrot pages

If your project has project flags, then on BurningParrot pages (e.g. project dashboard), you should have a popover that appears on mouse over. This popover displays description of project flags when available. Same as git #tuleap/stable/b4a9cf21724e5342e0427abd5e65605aba54bf97 but for BurningParrot. This introduces popovers in TLP. Documentation is available in flyovers section. In order to not mess our brain with placement issues, we now leverage on external library Popper.js. This library is tested under major browsers and we don't have to reinvent the wheel. Part of story #12553: see flags that categorize my project in all project pages Fix request #12201 Add popover in tlp Change-Id: I91fe6981e54821d6fe0bfb21a834f0b59e68aee1

Modified Files

Name
M src/www/scripts/BurningParrot/index.js +2 −0 Go to diff View file
A src/www/scripts/BurningParrot/project-flags.js +34 −0 Go to diff View file
M src/www/themes/BurningParrot/CurrentProjectNavbarInfoPresenter.php +13 −1 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_navbar.scss +44 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/navbar/current-project-nav.mustache +22 −1 Go to diff View file
M src/www/themes/common/tlp/doc/css/_demos.scss +86 −0 Go to diff View file
M src/www/themes/common/tlp/doc/css/_nav.scss +1 −1 Go to diff View file
M src/www/themes/common/tlp/doc/css/main.scss +7 −0 Go to diff View file
M src/www/themes/common/tlp/doc/js/editors.js +23 −0 Go to diff View file
A src/www/themes/common/tlp/doc/resources/flyover/popovers/doc.html +19 −0 Go to diff View file
A src/www/themes/common/tlp/doc/resources/flyover/popovers/example.html +259 −0 Go to diff View file
M src/www/themes/common/tlp/doc/resources/flyover/popovers/manifest.json +2 −1 Go to diff View file
M src/www/themes/common/tlp/package-lock.json +5 −0 Go to diff View file
M src/www/themes/common/tlp/package.json +1 −0 Go to diff View file
M src/www/themes/common/tlp/src/js/index.js +2 −0 Go to diff View file
A src/www/themes/common/tlp/src/js/popovers.js +93 −0 Go to diff View file
M src/www/themes/common/tlp/src/scss/_components.scss +2 −1 Go to diff View file
A src/www/themes/common/tlp/src/scss/components/_popovers.scss +204 −0 Go to diff View file