Decide and document Tab/Shift+Tab semantics for Document blocks - #274
Conversation
Tab already falls through BlockEditor's handleKeydown untouched, since arrow-key navigation (#158) already meets the keyboard-only block-to-block movement bar, and indent has no home in the data model without new list-nesting support (out of 0.4.0's scope per the editor UX research brief). Document the decision in rich-text-toolbar.md §5.5 and add a regression test pinning that Tab/Shift+Tab are never intercepted, so the choice stays intentional rather than reverting to an undocumented gap. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 2 billable files and costs up to $0.50. Or wait 24 minutes for your next included review. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Your 38 included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (2)
Comment |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
PR Summary by QodoDocument and test native Tab behavior in block editors
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Summary
rich-text-toolbar.md§5.5 documenting the decision and rationale — Keyboard navigation between Document blocks (arrow keys / Tab) #158's arrow-key navigation already meets the keyboard-only movement bar, and indent has no home in the data model (no list-nesting concept inWorkspaceRecord/ViewConfig) without a real data-model design pass that's explicitly out of 0.4.0's editor-research-brief scope.page.svelte.test.tspinning thatBlockEditornever starts intercepting Tab/Shift+Tab by accident, so the "intentional, documented, tested" bar from Decide and implement Tab/Shift+Tab semantics for Document blocks #162 stays true over time.No code behavior changes —
BlockEditor.svelte'shandleKeydownalready had no'Tab'branch; this PR documents and pins that as a deliberate choice rather than an unexamined gap.Test plan
npm run test(1283 tests passing)npm run lintnpm run checkCloses #162
🤖 Generated with Claude Code