Skip to content

Fix loading state for omitted timeline diffs - #157

Closed
ymichael wants to merge 4 commits into
mainfrom
bb/explain-missing-diff-rows-thr_zdx4cgth2f
Closed

ymichael wants to merge 4 commits into
mainfrom
bb/explain-missing-diff-rows-thr_zdx4cgth2f

Conversation

@ymichael

@ymichael ymichael commented Jun 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Treat empty omitted file diff previews as pending while timeline row detail is loading
  • Mark omitted non-empty feed previews as incomplete so small completed diffs/output remain lazy-loadable, including inside bundles
  • Refresh memoized timeline rows when lazy detail refs change, so file-change rows can become expandable once their diff detail is available
  • Show loading placeholders for omitted command/tool output and empty omitted delegation details
  • Add regression coverage for omitted diff previews, omitted output previews, omitted delegation details, bundled small file diffs, and file-change detail-ref render signatures

Verification

  • pnpm exec turbo run test --filter=@bb/thread-view -- --run test/timeline-feed-row-helpers.test.ts
  • pnpm exec turbo run test --filter=@bb/server -- --run test/public/public-thread-data.test.ts -t "keeps small bundled file diffs"
  • pnpm exec turbo run test --filter=@bb/app -- --run src/components/thread/timeline/TimelineRowDetails.test.ts src/components/thread/timeline/ThreadTimelineRows.test.ts src/components/thread/timeline/timelineRowSignatures.test.ts
  • pnpm exec turbo run typecheck --filter=@bb/thread-view
  • pnpm exec turbo run typecheck --filter=@bb/server
  • pnpm exec turbo run typecheck --filter=@bb/app

@ymichael

Copy link
Copy Markdown
Collaborator Author

Closing per request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant