feat: allow to filter views based on labels#101
Merged
olblak merged 8 commits intoupdatecli:mainfrom Mar 20, 2026
Merged
Conversation
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
There was a problem hiding this comment.
Pull request overview
This PR adds label-based filtering support to the SCM dashboard and pipeline reports views, wiring the UI filter state through to the backend via new search endpoints.
Changes:
- Introduces an “Advanced Filter” section in the SCM filter component to select label key/value pairs (and reuses it in the SCM dashboard).
- Updates SCM summary and pipeline reports data fetches to use POST-based
/searchendpoints and includeslabelsin the request body. - Enhances SCM summary status chips to display percentages and adds label display to individual pipeline report pages.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/views/SCMDashboard.vue | Adds the SCM filter component and forwards filter state into the SCM summary view. |
| src/views/pipeline/ReportsView.vue | Explicitly enables repository/branch filtering UI for reports view. |
| src/components/scm/_summary.vue | Switches summary fetch to POST /pipeline/scms/search, adds labels support, and tweaks status chip display. |
| src/components/scm/_filter.vue | Adds label filtering UI + API calls to fetch label keys/values and emits labels in the filter payload. |
| src/components/pipeline/reports.vue | Switches reports fetch to POST /pipeline/reports/search and forwards labels in request body. |
| src/components/pipeline/report.vue | Displays pipeline labels (sorted) on the report detail page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Olivier Vernin <olivier@vernin.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required updatecli/udash#369
Allow to filter views based on labels
Description
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement