Skip to content

fix: normalize invalid saved ids in code and notes#732

Merged
antonreshetov merged 1 commit into
mainfrom
fix/invalid-saved-ids
Apr 9, 2026
Merged

fix: normalize invalid saved ids in code and notes#732
antonreshetov merged 1 commit into
mainfrom
fix/invalid-saved-ids

Conversation

@antonreshetov

Copy link
Copy Markdown
Member

Summary

  • normalize stale saved folder, tag, and selected item ids in code and notes spaces
  • load folders and tags before list fetch so startup and storage refresh use normalized state
  • add regression tests for init and storage-sync paths

Context

Test Plan

  • pnpm test src/renderer/composables/tests/useCodeSelectionNormalization.test.ts src/renderer/composables/tests/useCodeSpaceInit.test.ts src/renderer/composables/spaces/notes/tests/useNotesSelectionNormalization.test.ts src/renderer/composables/spaces/notes/tests/useNotesSpaceInitialization.test.ts src/renderer/ipc/listeners/tests/system.test.ts
  • pnpm exec eslint src/renderer/composables/index.ts src/renderer/composables/useCodeSelectionNormalization.ts src/renderer/composables/useCodeSpaceInit.ts src/renderer/composables/tests/useCodeSelectionNormalization.test.ts src/renderer/composables/tests/useCodeSpaceInit.test.ts src/renderer/composables/spaces/notes/index.ts src/renderer/composables/spaces/notes/useNotesSelectionNormalization.ts src/renderer/composables/spaces/notes/useNotesSpaceInitialization.ts src/renderer/composables/spaces/notes/tests/useNotesSelectionNormalization.test.ts src/renderer/composables/spaces/notes/tests/useNotesSpaceInitialization.test.ts src/renderer/ipc/listeners/system.ts src/renderer/ipc/listeners/tests/system.test.ts
@antonreshetov antonreshetov merged commit f3806b9 into main Apr 9, 2026
@antonreshetov antonreshetov deleted the fix/invalid-saved-ids branch April 9, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant