feat: customise default system prompts #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/custom-system-prompts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
AppSettings.prompt_overrides.GET /prompts/defaultsreturns rendered defaults for the editor pre-fill;POST /settingsvalidates each slot (8 KB cap, CRLF → LF, strip\0, trim-to-None).Spec & plan
Test plan
The narrow-screen layout was hiding the main content pane in Behavior because the responsive rule .pkma-body:not(.no-history) .thread {display: none} applied to every section, not just chat. Toggling Ctrl+1 also hid the subtab sidebar in settings views, where it serves as navigation rather than as a togglable column. Changes: - Add section-<name> class to .pkma-body so CSS can target chat vs non-chat layouts. - Scope the responsive "hide thread when history visible" rule to .section-chat only. Non-chat narrow layouts now keep both the subtab sidebar and main pane side-by-side. - Gate the Ctrl+1 / Ctrl+2 keyboard handler and toolbar buttons to chat view (disabled state + non-chat tooltip). - Drop BehaviorRight - the panel only duplicated info already visible in the main pane and the subtab sidebar dot. Apply no-telemetry in Behavior so the freed column width goes to the main pane. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>