feat(FR-2904): replace replica status enum filter with running/terminated radio group#7437
Merged
Merged
Conversation
5 tasks
Contributor
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via 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. |
5 tasks
Contributor
Coverage Report for react-coverage (./react)
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Deployment Replicas tab filtering UX to match the deployment list pattern by replacing the replica status enum property filter with a persisted Running/Terminated radio category that composes with the existing GraphQL property filter.
Changes:
- Replaced the replica
statusenum filter option with aBAIRadioGrouptoggle (Running vs Terminated). - Added
rStatusCategoryas a URL query param and merged it into the GraphQLReplicaFilterat query/refetch time. - Removed the now-unused
replicaStatusOptionsand the staleWARMING_UPTODO block.
f355bff to
5fd7e9b
Compare
97f2c97 to
bb91225
Compare
5 tasks
Merge activity
|
…ated radio group (#7437) Resolves #7434 ([FR-2904](https://lablup.atlassian.net/browse/FR-2904)) Stacked on top of #7435. ## Summary - Removed the `status` enum option from `BAIGraphQLPropertyFilter` in `DeploymentReplicasTab` and replaced it with a `BAIRadioGroup` (`Running` / `Terminated`), mirroring the deployment list pattern. - `Running` selects every status except `TERMINATED` (`status.notIn: ['TERMINATED']`); `Terminated` selects only `TERMINATED`. - The category persists in the URL via a new `rStatusCategory` query param and merges with the user-defined filter at query time, so toggling the category does not clobber other filters. - Removed the now-unused `replicaStatusOptions` and the `WARMING_UP` TODO comment block. ## Test plan - [ ] Open a deployment's Replicas tab — verify the `Running` / `Terminated` radio appears next to the property filter. - [ ] Toggle to `Terminated` — verify only `TERMINATED` replicas show; toggle back to `Running` — verify all other statuses show. - [ ] Apply a `trafficStatus` filter, then toggle the radio — verify both filters apply (not overwritten). - [ ] Refresh the page with a non-default `rStatusCategory` in the URL — verify the radio reflects the URL state. - [ ] `bash scripts/verify.sh` passes. [FR-2904]: https://lablup.atlassian.net/browse/FR-2904?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
5fd7e9b to
ac8cb71
Compare
bb91225 to
b82b552
Compare
graphite-app Bot
pushed a commit
that referenced
this pull request
May 15, 2026
…rawer link, drop createdUserId, strictSelection on enum filters (#7439) Resolves #7438([FR-2905](https://lablup.atlassian.net/browse/FR-2905)) Stacked on top of #7437. ## Summary Follow-up polish on the deployment list & replicas tab (FR-2904 series). Bundled as one PR per the project's "avoid excessive PR splitting" convention. - **Admin deployment list — Project column.** Replaced the raw project-ID cell with a `project name (BAIId)` cell. Name comes from `metadata.projectV2.basicInfo.name @SInCE(version: "26.4.3")` (DataLoader-resolved). ID stays copyable + ellipsis via `BAIId`. - **Deployment list — Revision number drawer link.** The Applied-Revision column now opens `DeploymentRevisionDetailDrawer` on click, matching the pattern used in `DeploymentReplicasTab`. The `currentRevision` fragment ref is spread into `...DeploymentRevisionDetail_revision` for the drawer. - **Drop `createdUserId` from the deployment list.** Both the admin column and the matching filter property were removed — the existing Owner / Creator column already surfaces the same information via `DeploymentOwnerInfo`. Orphan i18n key `deployment.filter.CreatedUserId` was removed from all 21 locale files. - **Property filter — `strictSelection: true` on enum types.** Applied to the `trafficStatus` enum filter in `DeploymentReplicasTab` so the value must come from the provided options. ## Test plan - [ ] Admin deployment list: open column settings, toggle the `Project` column on → confirm `project name (ID)` renders for deployments that have a project, and only the ID shows when name is unavailable (≤ 26.4.2 manager). - [ ] Deployment list: enable the Revision Number column → click the link → confirm `DeploymentRevisionDetailDrawer` opens with the right revision. - [ ] Admin deployment list: confirm the `Creator ID` column and the `Creator ID` admin filter are no longer present. - [ ] Replicas tab: open the property filter, choose `TrafficStatus` → confirm input requires selection from `Active` / `Inactive` (typing arbitrary text is rejected). - [ ] `bash scripts/verify.sh` — Relay / Lint / Format pass; TypeScript only reports pre-existing errors in unrelated pages. [FR-2905]: https://lablup.atlassian.net/browse/FR-2905?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Base automatically changed from
feat/FR-2904-extend-deployment-list-filters-columns
to
main
May 15, 2026 12:16
graphite-app Bot
pushed a commit
that referenced
this pull request
May 15, 2026
…rawer link, drop createdUserId, strictSelection on enum filters (#7439) Resolves #7438([FR-2905](https://lablup.atlassian.net/browse/FR-2905)) Stacked on top of #7437. ## Summary Follow-up polish on the deployment list & replicas tab (FR-2904 series). Bundled as one PR per the project's "avoid excessive PR splitting" convention. - **Admin deployment list — Project column.** Replaced the raw project-ID cell with a `project name (BAIId)` cell. Name comes from `metadata.projectV2.basicInfo.name @SInCE(version: "26.4.3")` (DataLoader-resolved). ID stays copyable + ellipsis via `BAIId`. - **Deployment list — Revision number drawer link.** The Applied-Revision column now opens `DeploymentRevisionDetailDrawer` on click, matching the pattern used in `DeploymentReplicasTab`. The `currentRevision` fragment ref is spread into `...DeploymentRevisionDetail_revision` for the drawer. - **Drop `createdUserId` from the deployment list.** Both the admin column and the matching filter property were removed — the existing Owner / Creator column already surfaces the same information via `DeploymentOwnerInfo`. Orphan i18n key `deployment.filter.CreatedUserId` was removed from all 21 locale files. - **Property filter — `strictSelection: true` on enum types.** Applied to the `trafficStatus` enum filter in `DeploymentReplicasTab` so the value must come from the provided options. ## Test plan - [ ] Admin deployment list: open column settings, toggle the `Project` column on → confirm `project name (ID)` renders for deployments that have a project, and only the ID shows when name is unavailable (≤ 26.4.2 manager). - [ ] Deployment list: enable the Revision Number column → click the link → confirm `DeploymentRevisionDetailDrawer` opens with the right revision. - [ ] Admin deployment list: confirm the `Creator ID` column and the `Creator ID` admin filter are no longer present. - [ ] Replicas tab: open the property filter, choose `TrafficStatus` → confirm input requires selection from `Active` / `Inactive` (typing arbitrary text is rejected). - [ ] `bash scripts/verify.sh` — Relay / Lint / Format pass; TypeScript only reports pre-existing errors in unrelated pages. [FR-2905]: https://lablup.atlassian.net/browse/FR-2905?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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.

Resolves #7434 (FR-2904)
Stacked on top of #7435.
Summary
statusenum option fromBAIGraphQLPropertyFilterinDeploymentReplicasTaband replaced it with aBAIRadioGroup(Running/Terminated), mirroring the deployment list pattern.Runningselects every status exceptTERMINATED(status.notIn: ['TERMINATED']);Terminatedselects onlyTERMINATED.rStatusCategoryquery param and merges with the user-defined filter at query time, so toggling the category does not clobber other filters.replicaStatusOptionsand theWARMING_UPTODO comment block.Test plan
Running/Terminatedradio appears next to the property filter.Terminated— verify onlyTERMINATEDreplicas show; toggle back toRunning— verify all other statuses show.trafficStatusfilter, then toggle the radio — verify both filters apply (not overwritten).rStatusCategoryin the URL — verify the radio reflects the URL state.bash scripts/verify.shpasses.