Repository navigation
fix(chat): page conversation history and reuse saved reading windows - #5069
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
Warden review summary — ClearNative findings: 2. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (303890 ms), confidentiality-review (423272 ms), spec-provenance-review (464552 ms), desktop-den-sync-review (536655 ms), design-spec-review (709613 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (4ef2d0743543be8ff141960fd32f731b93d5467c). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Opening a long conversation should not download and prepare its entire transcript before the person needs it.
UI/UX impact
No label, layout, styling, or list-framework changes. History loads as it is needed, and saved reading positions reopen from their native page. Existing scroll anchoring and full-history actions are retained. This follows DESIGN.md P3 (progressive disclosure), P5 (reuse), and S5 (no unsolicited navigation). Real-size evidence below addresses P10.
Testing
Focused checks on head
4ef2d0743using Node 24.11.1, pnpm 11.4.0, and Bun 1.3.4:--conditions=development).git diff --checkpassed.Commands:
Visual evidence
Captured the real app renderer at commit
4ef2d0743543be8ff141960fd32f731b93d5467c, at 1440 × 900 in isolated local app-web with the native v1 engine. The existing long-history fixture creates 150 synthetic user-only messages through the engine no-reply API and holds ancillary status/todo reads. No personal conversation data or model execution is involved. Owned processes and temporary profiles were stopped and removed after capture.Bounded initial page
The latest messages are visible. The capture observation recorded one initial request with
limit=24and no uncapped history read.Reading older history
Scrolling into an adjacent page loaded 48 messages in total; the observed boundary anchor stayed at the same 16px offset when the older page arrived. This screenshot shows the subsequent reading position, with message 120 at a 24px offset in the scroll viewport.
Saved reading position after reopening
After leaving the conversation, reloading the renderer, and reopening, the saved older-page cursor was reused. Message 120 is again at the observed 24px offset rather than jumping to the latest message.
Explicit navigation to the first message
Invoking the existing
session.scroll_topaction loaded all 150 messages and made the first message visible. No uncapped read was observed before this explicit action.Remaining validation and known limits
c4356f0a2; it is not changed here. Two non-failing React act warnings remain in the history harness.