feat(web): integrate MarkdownEditor into SpecEditor (visual mode, no AI drawer) #917
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
1 participant
Notifications
Due date
No due date set.
Depends on
#915 feat(web): MarkdownEditor — visual-only mode, drop Source tab
charles/agent-hooks
Reference
charles/agent-hooks#917
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
SpecEditor(apps/web/src/components/spec-editor/spec-editor.tsx) uses a CodeMirror 6 split-pane layout (editor left, preview right). Replacing the body-editing surface with the sharedMarkdownEditor(Milkdown Crepe, visual mode) gives a consistent, polished WYSIWYG experience across the app.The Architect is already embedded in the workspace sidebar for specs — no AI assistant drawer needed here.
AC
SpecEditorwith<MarkdownEditor defaultMode="visual">from@/components/markdown-editor.onChangecallback should still trigger the debouncedsaveSpeccall and update the save-state pill (idle / saving / saved / error).⌘/Ctrl+Shotkey (already a no-op / flush — wire it via a CodeMirror-free handler or thesourceExtensionsprop if source mode is retained).MarkdownAssistantDraweror toolbar assistant button — the workspace architect panel already serves this purpose.aria-liveregion must remain accessible above or below the editor surface.spec-editor.test.tsx— swap theEditorViewmock for@/components/markdown-editormock.Notes
onChangeprop.SpecEditorremains a split-pane or full-width layout at the call site's discretion — workspace is the sole consumer.Depends on
#915 (visual-only MarkdownEditor)
feat(web): integrate MarkdownEditor + AI drawer into plugins-tab editorto feat(web): integrate MarkdownEditor into SpecEditor (visual mode, no AI drawer)