Repository navigation
perf(mobile): keep thread navigation responsive - #1464
Merged
Merged
Conversation
Start the route on tap and let the screen restore its checkpoint. Defer encoding on return to the list and mount row action sheets on demand. Fixes: #375
nixuuu
marked this pull request as ready for review
November 29, 2026 09:05
nixuuu
enabled auto-merge (squash)
November 29, 2026 09:05
This was referenced Nov 30, 2026
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.
Change
On a phone, a tap on a thread could leave the thread list on screen while an outstanding cache write, a directory scan or protobuf decoding finished. Push or replace the route immediately and use the screen's existing cache reader. An in-memory thread still renders on entry. A disk-only thread can display its overview header while the reader restores its saved cursor.
Returning to the list schedules retention accounting and persistence in an idle callback. Backgrounding an open conversation still flushes its checkpoint. Root rows mount their action sheets on first use, and the covered phone list skips looking up the selected thread and expanding its side threads. Layout context stays stable across unrelated thread updates.
Fixes: #375
Verification