Skip to content

Improve loading skeletons and preserve active turn status - #149

Merged
badcuban merged 4 commits into
mainfrom
threadlines/improve-usage-mobile-loading
Aug 12, 2026
Merged

Improve loading skeletons and preserve active turn status#149
badcuban merged 4 commits into
mainfrom
threadlines/improve-usage-mobile-loading

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Summary

  • add mobile back navigation and a responsive, layout-matched loading skeleton to the Usage page
  • keep usage statistics overflow-free across desktop and mobile widths
  • add native-layout skeletons for slower-loading sidebar, command palette, file viewer, diagnostics, extensions, connected-device, and archive surfaces
  • preserve active turn status when mid-turn assistant segments, diffs, and checkpoints complete

Why

The Usage page had no explicit mobile exit control and showed plain loading text while data loaded. Other slower surfaces had the same abrupt loading experience.

Separately, assistant item completion and checkpoint/diff events were being treated as authoritative turn completion. That could make an active response appear finished while provider activity was still continuing.

Implementation

  • use bounded CSS-only shimmer animation with reduced-motion support
  • render skeletons only for initial empty loads so background refreshes preserve existing content
  • require producers to declare whether assistant/diff completion events actually complete the turn
  • keep legacy replay safe by treating events associated with the active session turn as non-terminal
  • separate checkpoint completion timestamps from turn completion timestamps with a database migration

Validation

  • vp fmt
  • vp lint
  • vp run typecheck
  • focused provider-ingestion, checkpoint, projection, projector, store, and migration tests
  • full serialized web browser suite: 406/406 passed
  • Usage browser suite: 8/8 passed
  • live desktop and mobile preview checks for the Usage layout, skeleton, navigation, and horizontal overflow

- Add mobile loading states and responsive usage/sidebar UI
- Track checkpoint completion explicitly so intermediate diffs do not finish turns
- Persist completed checkpoint timestamps and settle stopped projection turns
- Update orchestration contracts, seed data, and coverage
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadlines Skipped Skipped Aug 12, 2026 2:03pm

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Aug 12, 2026
@badcuban
badcuban merged commit 9137510 into main Aug 12, 2026
15 checks passed
@badcuban
badcuban deleted the threadlines/improve-usage-mobile-loading branch August 12, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant