Skip to content

ChatWalaʻau v0.106.2

Choose a tag to compare

@motojinc25 motojinc25 released this 15 Jul 00:17

This release fixes the folder chat counts in the sidebar: 「every folder showed 0 until you clicked it, and the delete-folder confirmation under-reported how many chats it was about to touch」.

Highlights

Folder chat counts are correct from the moment the sidebar loads (v0.106.2)

  • Every folder in the sidebar showed a chat count of 0 until you clicked it, at which point the real number appeared.
  • The cause: since 0.106.0 a folder's chats are fetched only when the folder is opened -- which is what keeps the sidebar fast with hundreds of conversations -- but that also means the web UI is holding none of a closed folder's chats. It was still counting them itself, so it counted zero.
  • The count now comes from the server, the only participant that can see every chat. It is correct on first load, with every folder still closed. Getting it costs nothing: the server already keeps a metadata index that knows which folder each chat belongs to.

The delete-folder confirmation now states the real number (v0.106.2)

  • Same root cause, but this one mattered more. Deleting a folder that held eight chats asked you to confirm that "The 0 sessions inside it will stay intact" -- a destructive action under-reporting what it was about to touch. It now shows the true count.

Opening a folder no longer flashes "empty" (v0.106.2)

  • While a folder's chats were loading, it briefly showed the "Drop chats here or use the menu" empty-folder message. It now shows skeleton rows, so a folder that is empty and a folder that is loading no longer look the same.

Included in this release

This release includes implementation work from:

  • v0.106.2 through v0.106.2

Notes

  • Internal design management content and architecture control artifacts are intentionally omitted from this release note.
  • Bug fix only. The folder record gains an additive session_count field; nothing is removed or renamed, no on-disk format changes, no new environment variable, and no migration is required.

Installation

See the repository README for setup and usage instructions.

Version

  • Release version: 0.106.2
  • Previous release: 0.106.1