Skip to content

PB-15775: Let a ResourceFilter say what the UI filter bar offers - #476

Merged
lalat-das merged 1 commit into
pb-15775-rcbfrom
pb-15775-resourcefilter
Dec 5, 2026
Merged

lalat-das merged 1 commit into
pb-15775-rcbfrom
pb-15775-resourcefilter

Conversation

@lalat-das

Copy link
Copy Markdown
Collaborator

The Figma resource list filters on Name, Status, Labels and Clusters. ResourceFilter had no state member, so Status was unexpressible.

It also had only map selectors. A map cannot express In, NotIn or Exists, which is why the legacy BackupScheduleInfo carries a separate advanced_resource_label_selector string. ResourceFilter had inherited the limitation legacy already worked around, and BindingInfo carries both forms, so a Binding could express an operator selector while the rule that creates it could not.

  • states, for the Status column
  • advanced_resource_label_selector, for what a map cannot say

What this PR does / why we need it:

Which issue(s) this PR fixes (optional)
Closes #

Special notes for your reviewer:

The Figma resource list filters on Name, Status, Labels and Clusters.
ResourceFilter had no state member, so Status was unexpressible.

It also had only map selectors. A map cannot express In, NotIn or
Exists, which is why the legacy BackupScheduleInfo carries a separate
advanced_resource_label_selector string. ResourceFilter had inherited
the limitation legacy already worked around, and BindingInfo carries
both forms, so a Binding could express an operator selector while the
rule that creates it could not.

- states, for the Status column
- advanced_resource_label_selector, for what a map cannot say
@lalat-das
lalat-das merged commit 7f689b6 into pb-15775-rcb Dec 5, 2026
1 check passed
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.

1 participant