stable
Clone or download
Read-only
part of story #35825 Pull request new home page - Filter on labels This contribution adds a "Labels" entry in the [+ Add filter] dropdown. When clicked, it shows an autocompleter for project labels. Note: The selection is not handled yet. It will be done in a dedicated commit. How to test: - Open the [+ Add filter] dropdown --> There is a "Labels" item in the menu - Click on it --> The side panel opens --> It displays an autocompleter showing the labels defined in the current project - Click on "Author" --> The author autocompleter is now displayed Change-Id: I2db4de6288322c84f422c3066be2f5dd2b4a97f8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/SelectorsDropdownAutocompleter.ts | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/SelectorsDropdownController.test.ts | +44 | −15 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/SelectorsDropdownController.ts | +14 | −9 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/themes/style.scss | +8 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po | +13 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.test.ts | +30 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.ts | +12 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsFilteringCallback.test.ts | +57 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsFilteringCallback.ts | +37 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsLoader.test.ts | +66 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsLoader.ts | +41 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsSelectorEntry.ts | +49 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsTemplatingCallback.test.ts | +74 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsTemplatingCallback.ts | +41 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.vue | +4 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/injection-symbols.ts | +1 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/pullrequest-homepage.ts | +2 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/tests/injection-symbols-stub.ts | +4 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/tests/stubs/ProjectLabelStub.ts | +35 | −0 | Go to diff View file |