feat(web): integrate MarkdownEditor into SpecEditor #919
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!919
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/917"
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 CodeMirror + markdown preview split-pane with
MarkdownEditor(Milkdown Crepe, visual mode). Autosave debounce and ⌘/Ctrl+S flush wired viaonChangeprop and a containeronKeyDownhandler. Status pill andaria-liveregion unchanged. No AI assistant drawer — architect lives in the workspace sidebar.Closes #917
Test plan
bun x @biomejs/biome check apps/web/src/components/spec-editor/— cleanCI still pending at review time (run #1625, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1625, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #1625, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3147, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3147, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3147, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.CI still pending at review time (run #3147, sha
7f3ef7f). Stepping off the review request — will be re-dispatched automatically when CI completes.All AC met. Autosave debounce + in-flight guard + tail-chase logic is correct. Ctrl+S handler wired cleanly on the container div. Status pill aria attributes intact. No drawer added. 7 tests cover all key paths.
Nit (non-blocking):
flushSavesilently no-ops on Ctrl+S during an in-flight save — the tail-chase recovers it, so no data loss, just a subtle UX gap.