Commit 4790132
committed
Resolves #6912
## Summary
Consolidates the full deployment launcher UX (FR-2674, FR-2683, FR-2675, FR-2684):
- **FR-2674**: `DeploymentLauncherPageContent` — multi-step form (Basic → Resources → Review) with nuqs URL state, pre-fill support, and per-step validation
- **FR-2683**: `useDeploymentLauncher` hook — encapsulates Quick Deploy (`deployInstantly`) and launcher navigation (`openLauncher`) using `createModelDeployment`; gated behind `model-deployment-extended-filter` flag
- **FR-2675**: `DeploymentLauncherPage` — page-level orchestrator for `/deployments/new` (create) and `/deployments/:id/edit` routes; owns the `createModelDeployment` / `addModelRevision` mutations
- **FR-2684**: Migrate Deploy buttons in `ModelCardDrawer` and `VFolderDeployModal` to `[Deploy | ▼]` split button using `useDeploymentLauncher`; dropdown opens pre-filled launcher at the review step
1 parent 11e3cc1 commit 4790132
37 files changed
Lines changed: 3037 additions & 139 deletions
File tree
- data
- packages/backend.ai-ui/src
- components
- hooks
- react/src
- components
- hooks
- pages
- resources/i18n
Large diffs are not rendered by default.
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | | - | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments