Files
Marcos Paulo 15d7f5e873 feat: editor blocks and lint, vault knowledge, calendar plugin, macOS menu
- notescraft-lint (rules, safe fixes, learned style) and notescraft-blocks (block model and edits); engine lint.* and block.* commands with CLI and MCP parity
- Lint tab, underlines, slash menu with preview in Source and Visual, block grip and menu, Settings > Editor and lint, Vim block keys
- Visual view: tables, note embeds, %% comments, wrapping property chips
- Vault knowledge (Related tab, assistant sources, Settings) and calendar plugin
- Sidebar top padding fixed, dot grid follows PaperCraft spacing, right-card tabs no longer cover the collapse button

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 12:36:00 -03:00

1.4 KiB

Tasks: Editor blocks, component slash menu and note lint

Wave 1 (parallel, disjoint files)

  • 1. Pure crate notescraft-lint: rules, fixes, apply/apply_all_safe, closest-title, style vote, hostile-input tests. Files: crates/lint/**, root Cargo.toml, xtask/src/layers.rs
  • 2. Block model and marks in notescraft-editor: parse blocks, move/duplicate/delete/turn_into, toggle marks. Files: crates/editor/src/{blocks,marks}*.rs, crates/editor/src/lib.rs, crates/editor/tests/**

Wave 2 (after 1, 2)

  • 3. Engine: config session.lint.*/editor.blocks.*, lint.* and block.* commands, dismiss state, style vote off-thread, gate, i18n keys. Files: crates/engine/src/{lint,prefs,commands,lib}*, crates/engine/tests/**, crates/i18n/locales/en.toml
  • 4. MCP aliases + CLI parity for lint and block commands. Files: crates/mcp/**, apps/notescraft-cli/**

Wave 3 (after 3; UI)

  • 5. Right card Lint tab, status-bar count, underlines in Visual and Source current line.
  • 6. Slash popup: groups, fuzzy rank, preview pane, plugin slash flag, no-open-in-fence, component inserts with caret placement.
  • 7. Visual blocks: grip, drag move, block menu, floating selection toolbar.
  • 8. Settings > Editor and lint page; Vim keys; mobile layouts.

Wave 4

  • 9. Docs: ROADMAP, ARCHITECTURE, SPEC acceptance table; cargo xtask ci green.