Repository navigation
Conversation
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
Keep the last acknowledged session catalog visible while updated ordering timestamps start a replacement reader. The sidebar retains its count and expansion controls until the replacement settles, while pagination still restarts with the new pins.
Type and Areas
Bug fix; Web UI session sidebar.
Motivation / Impact
Starting or finishing a session changes its ordering pins. Previously, that immediately cleared the catalog's
paged,complete, and total state, causing the session count and expansion controls to flicker. Separate the selected view's identity from the pinned request identity, retain its settled display state, and update the known-row baseline as replacement pages hydrate.Workspace, source, ordering, client-side view, discovery refresh, and device activation changes still invalidate the display immediately. Failed requests remain visible as failures, and legacy-host fallback clears the saved total.
Verification
AI-assisted; lightly tested through automated checks, without a native UI recording or live remote connection.
pnpm --dir src/web-ui exec tsc --noEmitcheck:webstages passed individually after preparing ignored frontend assets:canvas:sdk:check,typography:audit:test,typography:audit,appearance:contract-audit,theme:color-audit:test,theme:color-audit:all, andtheme:visual-contract.git diff --checkRegression cases cover every render during multi-page pin refresh, hydration count stability, repeated and reverted pins, stale replies, failed requests, view changes, and legacy-host fallback.
Reviewer Notes
Local DOM/store/API fixtures exercise simulated Peer Device activation and old-host behavior. Live SSH/Docker remote workspaces, relay remote control, live Peer Device connections, and Detached Dispatch were not exercised. Wire and persisted shapes are unchanged.
Checklist