feat(desktop): add terminal presets system
Closed
KI
1y ago+464+464+012345678901234567890123456789-1-1-0123456789
Summary
- Add terminal presets to
.superset/config.jsonfor quick-launch preconfigured terminals - Preset buttons appear in sidebar below window list
- Support creating presets via modal ("+ New Preset" button) or "Save as Preset" from terminal context menu
- Presets can specify custom working directory and startup commands
- Right-click to delete presets
Config Schema
{
"setup": [],
"teardown": [],
"terminalPresets": [
{
"name": "Dev Server",
"cwd": "apps/website",
"commands": "bun dev"
},
{
"name": "Test Watch",
"commands": ["bun install", "bun test:watch"]
}
]
}
Test plan
- Create a preset via "+ New Preset" button in sidebar
- Create a preset via "Save as Preset" from terminal context menu
- Click preset button to launch terminal with custom cwd and commands
- Verify relative paths work (both
apps/websiteand./apps/website) - Delete preset via right-click context menu
- Verify presets persist in
.superset/config.json
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
- New Features
- Terminal presets: Save and reuse terminal configurations with custom commands and working directories
- Preset management: Create new presets from active terminals and delete presets via a dedicated sidebar panel
- Quick launch: Select any saved preset to instantly open a new terminal with its configured settings
✏️ Tip: You can customize this high-level summary in your review settings.