Skip to content

Add CodeMirror editors to Memory, Skills, and Agents viewers - #2

Closed
aarlint wants to merge 2 commits into
doctly:mainfrom
aarlint:feature/skills-agents
Closed

aarlint wants to merge 2 commits into
doctly:mainfrom
aarlint:feature/skills-agents

Conversation

@aarlint

@aarlint aarlint commented Mar 14, 2026 •

Copy link
Copy Markdown

Summary

  • Replace read-only textContent rendering in Memory, Skills, and Agents viewers with full CodeMirror editors (matching the existing Plans viewer pattern)
  • Add Save, Copy Content, and Copy Path buttons to each viewer header
  • Add save-memory, save-skill, save-agent IPC handlers with path validation
  • Fix hardcoded .claude string checks to use CLAUDE_DIRNAME constant derived from CLAUDE_DIR

Test plan

  • Open a memory file — CodeMirror renders with syntax highlighting, editing works
  • Open a skill — same editor behavior
  • Open an agent — same editor behavior
  • Save button persists changes to disk for all three viewers
  • Copy Path / Copy Content buttons work
  • Plan viewer still works unchanged
  • Path validation rejects writes outside .claude directories

🤖 Generated with Claude Code

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>
@aarlint
aarlint force-pushed the feature/skills-agents branch from e6fbdc3 to 2d4afe7 Compare March 14, 2026 00:43
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>
@abasiri

abasiri commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Thank you. Will review and merge.

@abasiri
abasiri self-requested a review March 15, 2026 20:54
@aarlint

aarlint commented Mar 16, 2026

Copy link
Copy Markdown
Author

Closing — this branch is identical to feature/project-groups (PR #3), which contains both the CodeMirror editor changes and the project groups feature. All changes will be merged via PR #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants