Skip to content

[0.19] Return filtering label values as map#2566

Merged
barreiro merged 4 commits into0.19from
bp-0.19-dc1fe30-43da9bb-0d10cdb-e54f3f6
Oct 23, 2025
Merged

[0.19] Return filtering label values as map#2566
barreiro merged 4 commits into0.19from
bp-0.19-dc1fe30-43da9bb-0d10cdb-e54f3f6

Conversation

@rh-appservices-perf
Copy link
Collaborator

Backport: #2555

Fixes Issue

Fixes the issue that users might experience when they have multiple filtering labels values and many datasets.

Currently the filteringLabelValues endpoint returns for each dataset an object with the values of all filtering labels (defined in the schema on that dataset) - this could end up in loading a lot of data and making the browser hanging!

Changes proposed

  • Add new endpoint to avoid introducing breaking change (/test/{0}/filteringLabels)
  • Return a map where the key is the name of the label and the value is the list of all possible values for that label (across all datasets)
  • Adapt the UI to manage this result structure
  • Mark as deprecated the old endpoint

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.

lampajr and others added 4 commits October 23, 2025 14:49
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Co-authored-by: Luis Barreiro <barreiro@users.noreply.github.com>
@barreiro barreiro merged commit 29c978f into 0.19 Oct 23, 2025
3 checks passed
@lampajr lampajr deleted the bp-0.19-dc1fe30-43da9bb-0d10cdb-e54f3f6 branch October 24, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants