Skip to content

fix: clear stale Notes tab error message - #47

Merged
Atreus-X merged 1 commit into
mainfrom
fix/notes-error-stale
Sep 30, 2026
Merged

Atreus-X merged 1 commit into
mainfrom
fix/notes-error-stale

Conversation

@Atreus-X

Copy link
Copy Markdown
Owner

Summary

  • The Notes tab's create-note error (for example a name that already exists) stayed on screen until the next successful create, even after the note was deleted or another note was selected.
  • It now clears when you select a note, delete one, click New note, type in the name box, or press Escape.

Notes

  • UI only; no host or transport involved, so SSH and wsh behave the same.
  • Branched from main, no stacking.
  • Library-wide errors (snippet save, list refresh) are a separate banner and are unchanged.

Test plan

  • npx tsc --noEmit: no errors in library.tsx
  • npx vitest run: passes
  • Create a note with a name that already exists: error shows; delete or select another note: error clears
  • Error also clears when you type in the name box or press Escape

🤖 Generated with Claude Code

https://claude.ai/code/session_01W6QMXXvRReaKxWk1JL5Et6

…e new-note name

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W6QMXXvRReaKxWk1JL5Et6
@Atreus-X Atreus-X mentioned this pull request Sep 30, 2026
@Atreus-X
Atreus-X merged commit 95defa1 into main Sep 30, 2026
1 check passed
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.

1 participant