Skip to content

fix: reset command palette history when switching vault - #980

Merged
antonreshetov merged 1 commit into
mainfrom
fix/palette-history-vault-switch
Oct 13, 2026
Merged

antonreshetov merged 1 commit into
mainfrom
fix/palette-history-vault-switch

Conversation

@antonreshetov

Copy link
Copy Markdown
Member

Command Palette Recent and usage history were global and kept records of the previous vault after switching to another one. They showed old titles, and opening one could open a different record with the same id in the new vault, or fail silently.

  • Switching to another vault clears Recent, usage history and Back/Forward navigation history; spaces and commands are kept
  • Moving the vault to another folder or reopening the same vault keeps the history
  • Opening a Recent record that no longer exists removes it from Recent and shows a not found message

@antonreshetov antonreshetov self-assigned this Oct 13, 2026
@antonreshetov
antonreshetov merged commit affd839 into main Oct 13, 2026
@antonreshetov
antonreshetov deleted the fix/palette-history-vault-switch branch October 13, 2026 13:33
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