Skip to content

feat(FR-2904): replace replica status enum filter with running/terminated radio group#7436

Closed
agatha197 wants to merge 1 commit into
feat/FR-2904-extend-deployment-list-filters-columnsfrom
05-15-feat_fr-2904_replace_replica_status_enum_filter_with_running_terminated_radio_group
Closed

feat(FR-2904): replace replica status enum filter with running/terminated radio group#7436
agatha197 wants to merge 1 commit into
feat/FR-2904-extend-deployment-list-filters-columnsfrom
05-15-feat_fr-2904_replace_replica_status_enum_filter_with_running_terminated_radio_group

Conversation

@agatha197
Copy link
Copy Markdown
Contributor

resolves #NNN (FR-MMM)

Checklist: (if applicable)

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@github-actions github-actions Bot added the size:M 30~100 LoC label May 15, 2026
Copy link
Copy Markdown
Contributor Author

agatha197 commented May 15, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@agatha197 agatha197 marked this pull request as ready for review May 15, 2026 09:28
Copilot AI review requested due to automatic review settings May 15, 2026 09:28
@agatha197
Copy link
Copy Markdown
Contributor Author

Consolidating into #7435 — both changes belong to FR-2904.

@agatha197 agatha197 closed this May 15, 2026
@agatha197 agatha197 deleted the 05-15-feat_fr-2904_replace_replica_status_enum_filter_with_running_terminated_radio_group branch May 15, 2026 09:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Coverage Report for react-coverage (./react)

Status Category Percentage Covered / Total
🔵 Lines 6.51% 1785 / 27388
🔵 Statements 5.36% 1980 / 36936
🔵 Functions 5.25% 296 / 5634
🔵 Branches 3.74% 1293 / 34531
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
react/src/components/DeploymentReplicasTab.tsx 0% 0% 0% 0% 46-491
Generated in workflow #790 for commit 97f2c97 by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

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

Replaces the replica status enum-based property filter with a simpler “Running / Terminated” radio-group category filter, and wires it into the query-string + Relay query variables for the Deployment Replicas tab.

Changes:

  • Added rStatusCategory query param (running/terminated) and UI control via BAIRadioGroup.
  • Removed status from BAIGraphQLPropertyFilter properties; status filtering is now enforced via a category-based GraphQL filter merge.
  • Updated initial query variables and refetch logic to apply the selected status category filter.

Comment on lines +54 to +56
userFilter: Record<string, unknown> | null,
category: ReplicaStatusCategory,
) => ({ ...userFilter, ...buildStatusFilter(category) });
@agatha197 agatha197 restored the 05-15-feat_fr-2904_replace_replica_status_enum_filter_with_running_terminated_radio_group branch May 15, 2026 09:31
@agatha197 agatha197 reopened this May 15, 2026
@agatha197
Copy link
Copy Markdown
Contributor Author

Replaced by #7437 (renamed to follow project branch naming convention).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30~100 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants