Commit 3fcf6ca
committed
feat(clients): Phase 2 — unified Cursor/Generic tabs in Register client modal
Autonomous decisions:
- useTranslation for new tab/comparison copy only — reuses existing cursorBridge.* keys where they fit; leaves pre-existing hardcoded Generic strings untouched to keep diff smaller
- Segmented button-group tabs — matches modal rounded-xl/token styling without adding a new tab primitive
- HTML table in chevron expander — comparison content from planning doc rendered inline above submit row
- Shared machine state + one create-new sub-form — both tabs use the same SearchableSelect handlers and NEW_MACHINE_OPTION flow
- Cursor regenerate calls mintClient() again — same registerApiKeyClient path as CursorBridgeSection until Phase 3 rotate choice
Signed-off-by: crimsonsunset <jsangio1@gmail.com>1 parent 82093ae commit 3fcf6ca
3 files changed
Lines changed: 440 additions & 134 deletions
File tree
- apps/desktop/src
- features/clients
- locales/en
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
| |||
0 commit comments