feat(FR-2417): add admin model card management page with CRUD#6330
Draft
agatha197 wants to merge 1 commit intospec/admin-model-card-managementfrom
Draft
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
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. |
This was referenced Apr 1, 2026
Contributor
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔴 | Statements | 8.61% (-0.05% 🔻) |
1548/17973 |
| 🔴 | Branches | 7.55% (-0.04% 🔻) |
940/12450 |
| 🔴 | Functions | 5.56% (-0.04% 🔻) |
278/4999 |
| 🔴 | Lines | 8.3% (-0.04% 🔻) |
1452/17489 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
|---|---|---|---|---|---|
| 🔴 | ... / AdminModelCardSettingModal.tsx |
0% | 0% | 0% | 0% |
| 🔴 | ... / AdminModelCardListPage.tsx |
0% | 0% | 0% | 0% |
Test suite run success
784 tests passing in 37 suites.
Report generated by 🧪jest coverage report action from 3124821
df6934c to
3124821
Compare
3124821 to
db87825
Compare
Add new admin-only page at /admin-model-store for managing model cards via the ModelCardV2 GraphQL API (requires backend >= 26.5.0). - AdminModelCardListPage: table with pagination, filtering (name), sorting (name, created_at), and delete action - AdminModelCardSettingModal: combined create/edit modal using adminCreateModelCardV2 and adminUpdateModelCardV2 mutations - Route registration at /admin-model-store with superadmin-only access - Menu item gated behind model-card-v2 feature flag (26.5.0+) - i18n keys for adminModelCard namespace Resolves #6328 #6329 TODO(needs-backend): - GQL CreateInput/UpdateInput expansion for all metadata fields - Visibility field for public/private toggle - Service definition fields for runtime/GPU configuration
db87825 to
5052495
Compare
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 #6328 (FR-2417) #6329 (FR-2417)
Note
It'll be updated after mutation changing.
ref: Sujin Kim: HyeokJin Kim ⏺ GQL ModelCardV2 API 제한 사항 정리 1. CreateModelCard... | devops > JIRA Issue Notification | Microsoft Teams
Summary
/admin-model-storefor managing model cards via theModelCardV2GraphQL APIAdminModelCardListPage: BAITable with pagination, name filtering (BAIGraphQLPropertyFilter), sorting (name, created_at), and delete action (adminDeleteModelCardV2)AdminModelCardSettingModal: combined create/edit modal usingadminCreateModelCardV2andadminUpdateModelCardV2mutationsadminModelCardnamespaceBackend Dependency
Based on backend.ai#10703 —
model_cardstable with full CRUD stack.TODO(needs-backend) — deferred to follow-up PRs:
CreateModelCardV2Input/UpdateModelCardV2Inputexpansion for all metadata fields (currently only name/description for update)model_cardstable yetVerification