|
| 1 | +# Stitch Prompts: Session History And Claude Settings |
| 2 | + |
| 3 | +These prompts are prepared for Stitch generation once a Stitch MCP or CLI environment is available. |
| 4 | + |
| 5 | +## Screen 1: Global Session History Drawer |
| 6 | + |
| 7 | +Quiet, dark terminal-first developer workbench UI for Coder Studio. Design a global session history drawer that slides in from the left edge of an existing multi-workspace coding application. This is low-frequency "undo / regret insurance" functionality, so the UI should feel compact, utility-grade, and tightly integrated with the workbench shell instead of looking like a separate product area. |
| 8 | + |
| 9 | +**DESIGN SYSTEM (REQUIRED):** |
| 10 | +- Platform: Web, desktop-first, responsive down to narrow laptop widths |
| 11 | +- Theme: dark terminal minimalist, quiet ops, dense engineering cockpit |
| 12 | +- Palette: background `#0d1418`, elevated `#121b1e`, secondary surface `#141f24`, tertiary `#1c2a31`, primary text `#e7f3f7`, secondary text `#b4cad3`, muted `#7d98a4`, primary accent `#5ac8fa`, positive accent `#8fffae`, warning accent `#ffd37a`, danger accent `#ff9eb0` |
| 13 | +- Typography: IBM Plex Sans / Noto Sans SC for UI, JetBrains Mono for technical snippets |
| 14 | +- Geometry: subtle 4px to 8px radius, straight panel boundaries, restrained shadows |
| 15 | +- Motion: 160ms drawer slide-in, subtle row hover and focus states |
| 16 | + |
| 17 | +**PAGE STRUCTURE:** |
| 18 | +1. **Workbench Shell Context:** show a compact top workspace tab strip across the top, with a history icon fixed at the far left of the tab row, and the left-side history drawer opened. |
| 19 | +2. **Drawer Header:** title "History", short helper text explaining that closed sessions are archived not deleted, close icon on the right. |
| 20 | +3. **Grouped Workspace History:** multiple workspace sections, each with workspace title, path summary, target badge like Native or WSL, and session count. |
| 21 | +4. **Session Rows:** each row shows title, recent activity time, subtle status chip, and different visual semantics for: |
| 22 | + - active session: click jumps and focuses |
| 23 | + - archived session: click restores |
| 24 | + - interrupted session: click retries restore |
| 25 | +5. **Row Actions:** hard delete icon button aligned right, danger on hover but not visually dominant. |
| 26 | +6. **States:** include one empty workspace group case hidden entirely, one live session row, one archived row, one interrupted row, and one focused hover state. |
| 27 | + |
| 28 | +**UI DETAILS:** |
| 29 | +- Workspace groups are stacked with tight spacing and divider rhythm. |
| 30 | +- Status chips are compact and understated, not colorful pills. |
| 31 | +- Active row uses blue accent edge or focus bar. |
| 32 | +- Archived row uses amber informational tone, not warning-alert tone. |
| 33 | +- Delete button is subtle until hover. |
| 34 | +- The drawer should feel attached to the main shell with an inner border and faint shadow. |
| 35 | + |
| 36 | +## Screen 2: Draft Pane Restore Chooser |
| 37 | + |
| 38 | +Design a pane-local chooser for a new split inside the same Coder Studio dark workbench. The user has just created a new split pane. Instead of immediately starting a new session, the pane shows two choices: create a fresh session or restore from current workspace history. This interaction should feel lightweight, decisive, and local to the pane position. |
| 39 | + |
| 40 | +**DESIGN SYSTEM (REQUIRED):** |
| 41 | +- Same design system as above |
| 42 | +- Must visually inherit the existing workbench shell |
| 43 | +- Dense, technical, low-noise |
| 44 | + |
| 45 | +**PAGE STRUCTURE:** |
| 46 | +1. **Pane Frame:** show this chooser inside one split pane of a larger multi-pane agent workspace. |
| 47 | +2. **Mode Switch:** top segmented control with two tabs: |
| 48 | + - New Session |
| 49 | + - Restore From History |
| 50 | +3. **New Session Mode:** compact input area with concise placeholder, launch button, minimal empty-state guidance. |
| 51 | +4. **Restore Mode:** list only current-workspace recoverable sessions, each with title, last activity time, status chip, and short metadata hint. |
| 52 | +5. **Selection Feedback:** one row selected and ready to restore into this exact pane. |
| 53 | +6. **Primary Action Area:** restore button makes the "restore into this pane slot" meaning obvious. |
| 54 | + |
| 55 | +**UI DETAILS:** |
| 56 | +- Do not show cross-workspace content anywhere. |
| 57 | +- Do not show already-mounted live sessions in the restore list. |
| 58 | +- The chooser should read as a replacement state for a draft pane, not a full-screen dialog. |
| 59 | +- Include a subtle line explaining that the restored session keeps its original identity. |
| 60 | + |
| 61 | +## Screen 3: Claude Settings Center |
| 62 | + |
| 63 | +Design a high-density Claude runtime settings panel for Coder Studio. This replaces a simplistic launch-command setting with a complete Claude configuration center. The screen must feel like configuring an engineering runtime, not a generic SaaS settings page. |
| 64 | + |
| 65 | +**DESIGN SYSTEM (REQUIRED):** |
| 66 | +- Platform: Web, desktop-first |
| 67 | +- Same dark terminal-first design language as the rest of the product |
| 68 | +- Compact typography and sectional rhythm optimized for serious configuration work |
| 69 | + |
| 70 | +**PAGE STRUCTURE:** |
| 71 | +1. **App Settings Shell:** existing settings page with left navigation. Include top-level nav items General, Claude, Appearance. Claude is selected. |
| 72 | +2. **Claude Header:** title, short explanation, runtime validation indicator, and summary of whether current target inherits global config or uses an override. |
| 73 | +3. **Target Scope Switch:** clearly show Global, Native Override, WSL Override with inheritance toggles. |
| 74 | +4. **Structured Sections:** stacked sections for: |
| 75 | + - Launch & Auth |
| 76 | + - Model & Behavior |
| 77 | + - Permissions |
| 78 | + - Sandbox |
| 79 | + - Hooks & Automation |
| 80 | + - Worktree |
| 81 | + - Plugins & MCP |
| 82 | + - Global Preferences |
| 83 | +5. **Advanced JSON Area:** two integrated editors labeled `settings.json advanced` and `~/.claude.json advanced`, dark technical editor styling, validation state visible. |
| 84 | +6. **Field Examples:** include executable path, startup args list, API key / base URL, model selector, permission mode, danger flags, sandbox toggles, plugin controls, IDE auto-connect preferences. |
| 85 | + |
| 86 | +**UI DETAILS:** |
| 87 | +- Strong grouping and separators, not oversized cards. |
| 88 | +- Each section should have a compact heading and short muted explanation. |
| 89 | +- Inheritance state must be unambiguous. |
| 90 | +- Danger-related flags should be visually distinct but not alarmist. |
| 91 | +- Validation state should feel operational: neutral info, warning, error, success. |
| 92 | +- Use monospace for file paths, command arguments, and JSON labels. |
0 commit comments