Repository navigation
Conversation
Generated-by: Maka
me2seeks
force-pushed
the
feat/ios-auto-pagination-and-chat-history
branch
from
November 27, 2026 09:57
fcfad94 to
5e6484d
Compare
This branch has not been deployed
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.
Summary
Replaces manual pagination clicks with automatic scroll-triggered pagination in both Chats and Chat screens, switches iOS chat history reads to the Host's
view: 'chat'projection so loading earlier history advances cleanly across full conversation turns, and migratesChatScreenonto NSHListfor native prepend scroll anchoring.ChatListScreen+state/sessions.ts)Retrywithout blocking healthy Hosts from paging or getting implicitly retried by background catalog pushes / reconnect heads.Load more chatsbutton when the current list cannot scroll or search has no matches in loaded chats, and pause automatic retries after a failure until explicitRetry.view: 'chat'history loading & scroll-up auto-pagination (ChatScreen+state/chat.ts)view: 'conversation'(where 8-chunk pages were consumed by collapsed thinking/tool rows) toview: 'chat'(Shape::Groups), lazily readingturn/stepsdetails only when expanding an activity group (preserving live multi-page refresh without starving or flashing back toLoading…, and handlinguser-headed work groups cleanly).A\n\nBCopy / Quote contract on folded turns without requiring prior expansion, invalidate stale in-flightbeforereads and re-read boundary turns on completion, and rebuild non-overlapping windows instead of stitching gaps.TranscriptSkeletonin theListempty slot (from fix(ios): keep cached chats visible while reconnecting and add cold-load skeletons #7362) so cold-load handoff lands cleanly at the latest message without disturbing list anchoring.TextViewsourceOffsetanchoring (third-party/nsh)sourceOffsetprop toTextViewso prepending earlier UTF-8 bytes of a long Markdown message preserves the reading anchor on the same passage, and fixprovisionalcomparison against absolute byte ends so non-zero offsets settle and unpin normally.Verification
CARGO=mbx node scripts/ci.mjs check ios(62 headless behavior tests +aarch64-apple-ios-simtarget check)mbx test --locked --manifest-path third-party/nsh/Cargo.toml -p nsh-base --lib text_view(191 passed, 5 ignored)mbx test --locked --manifest-path third-party/nsh/Cargo.toml -p nsh-core --lib source(38 passed) +sourceOffsetcompat casenode scripts/ci.mjs check i18n(12 locales), Biome check, andgit diff --check feat/ios-reconnect-and-skeletons...HEAD