Commit a1fa454
feat(studio): developer UX overhaul — Inspector, Problems, Hotkeys, Actions, Onboarding
Add cross-cutting tools to make Studio feel like a real developer workbench:
* Inspector drawer (right Sheet, toggle via header button or `]`)
- API tab: endpoint, sample curl GET/POST
- Source tab: raw metadata JSON with copy
- Refs tab: cross-references (objects → views/hooks/flows)
- Auto-populates when navigating to a resource detail page
* Problems panel (status bar pill + slide-up panel, `[`)
- Subscribes to object/view/flow/hook changes
- Reports unknown object refs, missing field refs, broken triggers
- Deep-links problems back to source resource
* Keyboard shortcuts
- `g o` / `g f` / `g v` / `g a` / `g s` / `g p` nav
- `[` problems, `]` inspector, `?` help dialog
* Resource actions menu (⋯ on detail page header)
- Copy as curl / fetch() / defineX() TypeScript / Metadata JSON
- Open in VS Code, Open API endpoint
* Welcome onboarding (empty-state in DeveloperOverview)
- 3 CTA cards: Create object / Playground / Browse docs
* StudioShell wraps all of the above; TopBar grows `rightSlot` for Inspector/Help buttons
Also: surface RECORD_LOCKED-style plain-string `error` bodies in client
fetch error messages instead of swallowing them as "Bad Request".
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 03e6e61 commit a1fa454
19 files changed
Lines changed: 1468 additions & 45 deletions
File tree
- apps/studio/src
- components
- hooks
- routes
- examples/app-crm
- .objectstack
- dist
- src
- approvals
- pages
- packages/client/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments