Add project groups and CodeMirror editors#3
Conversation
Replace read-only textContent rendering with full CodeMirror editors matching the existing Plans viewer pattern. Add Save, Copy Content, and Copy Path buttons to each viewer header. Fix hardcoded '.claude' string checks to use CLAUDE_DIRNAME constant derived from CLAUDE_DIR. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Allows grouping projects under named collapsible folders with tree-line connectors. Groups persist via global settings, support drag-and-drop to add/remove projects, inline rename via double-click, and flatten during search. Includes add-group button, delete button, and full morphdom integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1f1b801 to
af461b4
Compare
|
Hey @abasiri, I rebased and cleaned up the pull requests into one. I hope this helps with the merge. |
|
Thank you Aarlint, The design overall looks great. One thing I was thinking is if we should combine all the different tabs for the different files into a single one, instead of the Memory tab, just having one that has all the agent files. Claude was complaining that the file lookups were a bit fragile, so I'm going to review that piece in more detail. |
|
Yeah, I was thinking those should actually be accessible / viewable at the project level since many of them are project specific. In design it could have one global tab for skills/agents/memories that exist in the ~.claude/ and each project would/could have its own subset. Let me see if i can refactor a bit |
|
Superseded by #8 which adds the unified Config tab on top of these changes. |
Summary
Two enhancements to the Switchboard sidebar and viewer experience:
Project Groups (Folder Groups)
Adds collapsible named folder groups to the sidebar for organizing projects into logical categories.
CodeMirror Editors for Memory, Skills, and Agents Viewers
Replaces read-only
textContentrendering with full CodeMirror editors in the Memory, Skills, and Agents viewers..claudestring checks withCLAUDE_DIRNAMEconstant derived fromCLAUDE_DIRfor correct behavior across environmentsTest Plan
🤖 Generated with Claude Code