Commit 5b117ef
authored
[cueweb/docs] Add view presets, immersive mode, and split-view workspaces (#2449)
## Related Issues
- #2455
## Summarize your change.
[cueweb] Add view presets, immersive mode, and split-view workspaces
Three web-native replacements for CueGUI window/layout affordances, all
sharing the existing localStorage + cross-tab `storage`-event
conventions.
Saveable view presets (CueGUI "Save Window Settings"):
- [x] New components/ui/views-menu.tsx: per-table "Views" dropdown to
Save as…, Apply, Rename, Delete named presets capturing column
order/visibility, sort, filters, and page size. Persists under
cueweb.views.<page> with the active preset under
cueweb.views.<page>.active; syncs across tabs. Built-in "Default" entry
restores documented defaults and can't be renamed/deleted.
- [x] Operates on the TanStack table instance, so it's table-agnostic.
Wired into SimpleDataTable (hosts, allocations, shows, layers, frames)
and the Jobs data-table toolbar.
Immersive (full-screen) mode (CueGUI Toggle Full-Screen):
- [x] New app/utils/use_immersive_mode.ts + components/ui/app-shell.tsx:
hides the header, sidebar, and status bar so the active table gets the
full viewport.
- [x] Toggled via `F` / Cmd-Ctrl+Shift+F, the Other menu, and a floating
Exit-immersive button. Persists under cueweb.layout.immersive; syncs
tabs.
Multi-pane split workspaces (CueGUI Window > "Add new window"):
- [x] New /split route + components/ui/split-view.tsx: open two pages
side-by-side in resizable iframe panes, each with its own URL
(/split?left=/jobs&right=/hosts/server-01). Drag/keyboard divider resize
(ratio persisted under cueweb.split.ratio); in-pane navigation syncs
back to the URL so reload restores both panes. AppShell hides chrome
inside panes.
- [x] Register Immersive + Split view in the menu registry (Help
search), add Suspense around useSearchParams on /split, and document all
three in README + docs/_docs/reference/cueweb.md.
- [x] Split-view: the per-pane page picker now offers Monitor Jobs,
every CueCommander page (Allocations, Limits, Monitor Cue, Monitor
Hosts, Redirect, Services, Shows, Stuck Frame, Subscription Graphs,
Subscriptions), CueSubmit, the plugins index, and the Cue Progress Bar
plugin, in sidebar order.
- [x] Tests: views-menu, immersive_mode, and split_view_utils unit
suites (jest green; tsc + lint clean; production build passes).
[cueweb/docs] Document workspace layout (view presets, immersive mode,
split view) across all guides:
- [x] quick-starts: a "Customize your workspace" step.
- [x] concepts: "Workspace layout (web-native windows)".
- [x] getting-started: a "Workspace layout" note (client-side state;
allow same-origin framing for split view behind a proxy).
- [x] user-guide: a full "Workspace layout" section with view-preset,
immersive, and split-view screenshots, plus the picker list.
- [x] other-guides: a feature-list entry
- [x] reference: corrected the split-view picker list.
- [x] tutorials: a "Customizing your workspace" walkthrough with
screenshots.
- [x] developer-guide: a "Workspace layout" implementation section.
## LLM usage disclosure
Parts of this solution's implementation were developed with assistance
from Claude Opus.1 parent 3af9662 commit 5b117ef
53 files changed
Lines changed: 2048 additions & 26 deletions
File tree
- cueweb
- app
- __tests__
- components
- utils
- allocations
- hosts
- jobs
- [job-name]
- shows
- split
- utils
- components/ui
- docs
- _docs
- concepts
- developer-guide
- getting-started
- other-guides
- quick-starts
- reference
- tutorials
- user-guides
- assets/images/cueweb
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
439 | 441 | | |
440 | 442 | | |
441 | 443 | | |
442 | | - | |
| 444 | + | |
443 | 445 | | |
444 | 446 | | |
445 | 447 | | |
| |||
448 | 450 | | |
449 | 451 | | |
450 | 452 | | |
| 453 | + | |
451 | 454 | | |
452 | 455 | | |
453 | 456 | | |
| |||
| 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 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
0 commit comments