Skip to content

fix: reconcile keyboard note saves - #115

Merged
EastSun5566 merged 1 commit into
mainfrom
fix/101-reconcile-keyboard-save
Sep 26, 2026
Merged

EastSun5566 merged 1 commit into
mainfrom
fix/101-reconcile-keyboard-save

Conversation

@EastSun5566

Copy link
Copy Markdown
Owner

Fix Cmd/Ctrl+S so it passes the active tab and submitted draft through the same reconciliation path as the Save button. This prevents Local Vault saves from leaving a stale draft revision and showing an incorrect disk-change recovery state.

Closes #101

Validation:

  • pnpm check
  • npx -y react-doctor@latest --verbose --scope changed (92/100; existing Home complexity warning)

@vercel

vercel Bot commented Sep 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
hackdesk-docs Ignored Ignored Sep 26, 2026 6:47pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

馃煝 Approval recommended

The focused implementation matches the existing Save-button path and includes regression coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Aligns keyboard note saves with button saves so Local Vault drafts reconcile correctly.

Changes:

  • Passes active tab and submitted draft metadata during keyboard saves.
  • Adds regression coverage for Local Vault reconciliation.
File Description
src/鈥媝ages/鈥婬ome.tsx Routes keyboard saves through draft reconciliation.
src/鈥媝ages/鈥婬ome.test.tsx Tests Local Vault keyboard-save behavior.

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@EastSun5566
EastSun5566 merged commit 867a538 into main Sep 26, 2026
7 checks passed
@EastSun5566
EastSun5566 deleted the fix/101-reconcile-keyboard-save branch September 26, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconcile Cmd+S saves with the active tab

2 participants