stable
Clone or download
Read-only
part of story #35825 Pull request new home page - Filter on labels How to test: - Open the [+ Add filter] - Add a filter on author - Add a filter on an outlined label - Add a filter on a regular label --> The labels are disabled in the list --> The filters have been created and applied --> The filter badge for the outlined label is outlined and has the label color --> The filter badge for the regular label is not outlined and has the label color --> The filter badge for the author is outlined and has the primary color Change-Id: I65a818e785b16844a80df8e75306e44a16a36c14
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/SelectorsDropdown.ts | +3 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/SelectorsDropdownAutocompleter.ts | +3 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/autocompleter/OnSelectionCallback.test.ts | +16 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/src/elements/autocompleter/OnSelectionCallback.ts | +7 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/selectors-dropdown/tests/SelectorEntryStub.ts | +3 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po | +6 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.test.ts | +22 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.ts | +12 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Author/AuthorFilter.test.ts | +3 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Author/AuthorFilter.ts | +2 | −1 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/FilterBadge.test.ts | +118 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/FilterBadge.vue | +56 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelFilter.test.ts | +36 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelFilter.ts | +43 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsLoader.test.ts | +24 | −6 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsLoader.ts | +3 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsSelectorEntry.ts | +23 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsTemplatingCallback.test.ts | +19 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LabelsTemplatingCallback.ts | +25 | −18 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LazyboxItemLabelBuilder.test.ts | +83 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Labels/LazyboxItemLabelBuilder.ts | +44 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/ListFiltersStore.test.ts | +55 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/ListFiltersStore.ts | +18 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.test.ts | +4 | −14 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.vue | +11 | −17 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsListFilter.ts | +4 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-homepage/tests/stubs/AuthorFilterStub.ts | +1 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-homepage/tests/stubs/GettextStub.ts | +20 | −0 | Go to diff View file |