stable

Clone or download

Read-only

feat: Use @floating-ui for TLP dropdowns

Positioning floating element is hard to do with pure CSS and we should trust dedicated JS library to do the job, like it was done for popovers. Floating-ui is the next generation of Popper (the latter is still used for TLP popovers but will be upgraded in a dedicated contribution): https://floating-ui.com/docs/motivation No functional changes expected everywhere TLP dropdowns are used. Part of story #24197: search for Documents with criteria Change-Id: I6921b0b1b1f740def0e88d6212e06c69135a55fe

Modified Files

Name
M plugins/git/scripts/repositories/src/components/DropdownActionButton.test.ts +2 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitLabAdministration.test.ts +2 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/__snapshots__/DropdownActionButton.test.ts.snap +4 −4 Go to diff View file
M plugins/git/themes/BurningParrot/repositories/_gitlab.scss +1 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html +1 −1 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_current-execution.scss +4 −0 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_execution-list-campaign-header.scss +1 −1 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_execution-list.scss +1 −2 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_steps.scss +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.test.ts +2 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/TestDefinitionCardXrefCategoryStatus.test.ts +2 −2 Go to diff View file
M src/scripts/tlp-doc/src/editors.js +18 −6 Go to diff View file
M src/themes/BurningParrot/css/includes/_help-dropdown.scss +1 −1 Go to diff View file
M src/themes/FlamingParrot/css/utils/_help-dropdown.scss +0 −37 Go to diff View file
M src/themes/tlp/package.json +1 −0 Go to diff View file
M src/themes/tlp/pnpm-lock.yaml +12 −0 Go to diff View file
M src/themes/tlp/src/js/dropdowns.test.ts +46 −2 Go to diff View file
M src/themes/tlp/src/js/dropdowns.ts +43 −8 Go to diff View file
M src/themes/tlp/src/scss/components/_dropdowns.scss +18 −26 Go to diff View file
M src/www/tlp-doc/resources/flyover/dropdowns/example.html +32 −1 Go to diff View file