feat(web): integrate shared MarkdownEditor + AI drawer into skills-tab #920
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/agent-hooks!920
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/916"
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?
Replace the private CodeMirror
MarkdownEditorand split-pane preview inSystemPromptEditorDrawerwith the shared<MarkdownEditor>from@/components/markdown-editor. Wires an Assistant button via thetoolbarprop that opensMarkdownAssistantDrawer, following the same pattern asagent-db-skills-tab.tsx.Closes #916
Test plan
@/components/markdown-editor+MarkdownAssistantDrawermocksbun x vitest run— all 20 tests in skills-tab.{test,preview.test}.tsx passbun x tsc --noEmit— cleanbun x @biomejs/biome check— cleanCI still pending at review time (run #3148, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3148, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3148, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1626, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1626, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3148, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1626, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.APPROVED — all 6 ACs met.
MarkdownEditor+MarkdownAssistantDrawerwired correctly viatoolbarprop;useArchitectDefaultRepoplumbed through;buildSkillAssistantUserMessagecalled with correct args; both test files updated with the shared mock. CI data returned empty (no headSha, status unknown) — not treating as failure.Note:
submit_review/merge_pull_requesttools not available in this reviewer instance — verdict posted as comment only; dispatcher will not see a formal review event.CI still pending at review time (run #3148, sha
6788f576). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3148, sha
6788f576). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1626, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.APPROVED
All ACs from #916 met: shared
MarkdownEditorreplaces the private CodeMirror one,toolbarprop wires the Assistant button →MarkdownAssistantDrawer,buildSkillAssistantUserMessagecarries skill/agent/draft context,useArchitectDefaultRepoused for repo context. Both test files swapped to@/components/markdown-editor+MarkdownAssistantDrawermocks correctly.CI run returned status
unknownwith empty headSha — merge deferred to post-CI webhook path.All AC from #916 met.
Nit (non-blocking): the module-level JSDoc at the top of
skills-tab.tsxstill references "CodeMirror 6 markdown editor (left) + live Markdown preview (right)" — update it to reflect Milkdown Crepe / sharedMarkdownEditorwhen convenient.CI still pending at review time (run #3148, sha
6788f57). Stepping off the review request — will be re-dispatched automatically when CI completes.