Repository navigation
refactor(mob): align app with backend API and redesign UI - #155
Merged
mrsumanbiswas merged 1 commit intoOct 3, 2026
Merged
mrsumanbiswas merged 1 commit into
mrsumanbiswas merged 1 commit into
Conversation
Fix client/server mismatches:
- Decode the {type, ciphertext} message envelope in one place, so
plaintext group messages (type 0) no longer fail Signal decryption
- Replace the app-level ping/pong watchdog (the server never sends
pong) with protocol-level WebSocket pings
- Refresh the access token before each WebSocket connect and share a
single refresh request across the app, since refresh tokens rotate
- Cap messages by UTF-8 bytes and size-check frames against the
server's 4096-byte WebSocket limit
- Stop re-uploading prekeys on every launch, refill one-time prekeys
when the server reports fewer than 10, and allow sessions when a
contact has none left
- Show the full 60-digit safety number
- Resolve the signed-in user ID lazily, send UTC paging cursors, wipe
cached chats when a different account signs in, and match the
server's registration validation
Use more of the API: message edit, contact verification, server key
reset, group rename/leave/add/remove, groups without messages, group
unread counts, mark all read, paged user search, older-message paging.
Redesign every screen on a shared glass design system (theme tokens
and widgets in widgets/ui/) built on the Frost, Aura, Onyx and Nebula
themes. Remove UI with no backend: stories, calls, phone number,
forgot password, and the notification and chats & media stubs.
Bump the local DB schema to v2 (adds messages.edited_at).
Add protocol unit tests, a frame-size budget test, and a UI smoke
test covering all four themes at two screen sizes.
Refs CommandLineCoding#154
This was referenced Nov 7, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix client/server mismatches:
Use more of the API: message edit, contact verification, server key reset, group rename/leave/add/remove, groups without messages, group unread counts, mark all read, paged user search, older-message paging.
Redesign every screen on a shared glass design system (theme tokens and widgets in widgets/ui/) built on the Frost, Aura, Onyx and Nebula themes. Remove UI with no backend: stories, calls, phone number, forgot password, and the notification and chats & media stubs.
Bump the local DB schema to v2 (adds messages.edited_at).
Add protocol unit tests, a frame-size budget test, and a UI smoke test covering all four themes at two screen sizes.
Refs #154