Skip to content

feat: allow to filter views based on labels#101

Merged
olblak merged 8 commits intoupdatecli:mainfrom
olblak:feat/labels
Mar 20, 2026
Merged

feat: allow to filter views based on labels#101
olblak merged 8 commits intoupdatecli:mainfrom
olblak:feat/labels

Conversation

@olblak
Copy link
Member

@olblak olblak commented Mar 19, 2026

Required updatecli/udash#369

Allow to filter views based on labels

Description

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

olblak added 4 commits March 19, 2026 08:36
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>
@olblak olblak added the enhancement New feature or request label Mar 19, 2026
@olblak olblak changed the title Feat/labels feat: allow to filter views based on labels Mar 19, 2026
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 /search endpoints and includes labels in 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.

@olblak olblak merged commit 2e45899 into updatecli:main Mar 20, 2026
4 checks passed
@olblak olblak deleted the feat/labels branch March 20, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants