stable

Clone or download

Read-only

feat: Label selector in a modal

part of: story #31537 Add tags and make them updatable In this contribution, the tags are not saved yet. It will come in a dedicated commit. How to test: - click on the pencil icon in the tags area --> A modal opens, showing the current tags selected - click on the selector, and select/unselect tags --> Selected tags are shown already selected in the dropdown - Submit --> The tags have been updated on the UI (not backend-side yet) - If you cannot update the labels --> There is no pencil icon Change-Id: I5bae49a3944ee227cd2a7bb789c63e4bfb18c27b

Modified Files

Name
M lib/frontend/lazybox/src/index.ts +2 −0 Go to diff View file
A lib/frontend/lazybox/src/selection/CreateSelectionBadge.test.ts +33 −0 Go to diff View file
A lib/frontend/lazybox/src/selection/CreateSelectionBadge.ts +30 −0 Go to diff View file
M lib/frontend/lazybox/themes/style.scss +11 −7 Go to diff View file
M lib/frontend/rest-api-types/src/main.ts +11 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/main.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/pull-request.ts +4 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/po/fr_FR.po +18 −9 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/api/tuleap-rest-querier.test.ts +36 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/api/tuleap-rest-querier.ts +34 −23 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestLabels.test.ts +46 −16 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestLabels.vue +73 −20 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestManageLabelsModal.test.ts +119 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestManageLabelsModal.vue +176 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/AssignableLabelTemplate.test.ts +68 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/AssignableLabelTemplate.ts +88 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/GroupOfLabelsBuilder.test.ts +51 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/GroupOfLabelsBuilder.ts +37 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/LabelFinder.test.ts +45 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/LabelFinder.ts +47 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/LabelsAutocompleter.test.ts +92 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/autocomplete/LabelsAutocompleter.ts +55 −0 Go to diff View file
R plugins/pullrequest/scripts/lib/rest-api-types/src/labels.ts Go to diff View file