Skip to content

Fix diary legacy storage and typed client data - #53

Merged
tiye merged 7 commits into
mainfrom
fix/legacy-storage-nils
Sep 29, 2026
Merged

tiye merged 7 commits into
mainfrom
fix/legacy-storage-nils

Conversation

@tiye

@tiye tiye commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Normalize legacy storage with nil user/diary entries or nil diaries maps.
  • Convert typed session messages to the plain maps expected by respo-message.
  • Fix typed username lookup for login and sign-up.
  • Convert a missing diary lookup from Option :none to nil before constructing ClientStore.

Verification

  • Calcit 0.27.0: 8 tests passed; client and server entry checks passed.
  • Existing storage copies decoded successfully; the account named chen is present in current data.
  • Vite 8 production build passed with Node 24.19.0.

The running local native server must be restarted to load these changes. Isolated server execution was blocked by WebSocket FFI startup status 8, so the missing-diary path still needs a local UI check after restart.

@tiye tiye changed the title Fix legacy diary storage with empty records Fix legacy diary storage and typed toast rendering Sep 29, 2026
@tiye tiye changed the title Fix legacy diary storage and typed toast rendering Fix diary legacy storage, toast rendering, and login Sep 29, 2026
@tiye tiye changed the title Fix diary legacy storage, toast rendering, and login Fix diary legacy storage and typed client data Sep 29, 2026
@tiye
tiye merged commit e56564a into main Sep 29, 2026
1 check passed
@tiye
tiye deleted the fix/legacy-storage-nils branch September 29, 2026 05:10
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