stable

Clone or download

Read-only

refactor: DOM lib to reuse common selections

Part of story #26799 associate a Tuleap project and a GitLab group No functional change expected in the following parts: - Keyboard shortcuts help modal, especially with plugin-specific shortcuts like in Taskboard context - Program management: Program view (where you plan in Program Increments) (no change at init) - Program management: Iterations view (no change at init) - Git Administration, Gitlab group link tab (no change at init) Notes: the goal of this lib is to reuse common selection operations we do, for example reading a data-attribute on an app mount point, or selecting an element that must exist. We often do that on app init. Change-Id: I437ce7af91bc4b6a883c4c86ae45a9fe9bee8104

Modified Files

Name
A lib/frontend/dom/.gitignore +1 −0 Go to diff View file
A lib/frontend/dom/README.md +3 −0 Go to diff View file
A lib/frontend/dom/package.json +26 −0 Go to diff View file
A lib/frontend/dom/pnpm-lock.yaml +7 −0 Go to diff View file
A lib/frontend/dom/src/main.test.ts +86 −0 Go to diff View file
A lib/frontend/dom/src/main.ts +65 −0 Go to diff View file
A lib/frontend/dom/tsconfig.json +7 −0 Go to diff View file
A lib/frontend/dom/vite.config.ts +31 −0 Go to diff View file
M lib/frontend/keyboard-shortcuts/package.json +1 −0 Go to diff View file
M lib/frontend/keyboard-shortcuts/pnpm-lock.yaml +2 −0 Go to diff View file
M lib/frontend/keyboard-shortcuts/src/help-modal/create-shortcuts-group-container/create-shortcuts-group-table.ts +6 −5 Go to diff View file
M lib/frontend/keyboard-shortcuts/src/help-modal/get-shortcuts-section.ts +6 −15 Go to diff View file
M plugins/gitlab/scripts/group-link-wizard/package.json +1 −0 Go to diff View file
M plugins/gitlab/scripts/group-link-wizard/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/gitlab/scripts/group-link-wizard/src/gitlab-group-link.ts +4 −11 Go to diff View file
M plugins/program_management/package.json +1 −0 Go to diff View file
M plugins/program_management/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/program_management/scripts/planned-iterations/index.ts +8 −15 Go to diff View file
M plugins/program_management/scripts/program_management/index.ts +15 −54 Go to diff View file