Skip to content

perf(inbox): Prefetch issue preview details - #122468

Merged
roggenkemper merged 13 commits into
masterfrom
perf/inbox-preview-details-loading
Aug 26, 2026
Merged

perf(inbox): Prefetch issue preview details#122468
roggenkemper merged 13 commits into
masterfrom
perf/inbox-preview-details-loading

Conversation

@roggenkemper

@roggenkemper roggenkemper commented Aug 24, 2026

Copy link
Copy Markdown
Member

Inbox hover prefetching now waits 200 ms, then warms the existing group query, linked Pull Requests, and Autofix setup and state for eligible issues at the same time. Speculative requests do not retry. The preview's existing rendering and selection behavior is unchanged.

The additional queries reuse the same option factories as their consumers. Autofix setup and state use a 30-second stale window so the warmed cache is consumed when the preview mounts; polling, explicit refetches, and mutation invalidation continue to refresh them.

Refs ISWF-3354

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 24, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 69cc873. Configure here.

Comment thread static/app/views/issueDetails/issuePreview/issuePreview.tsx Outdated
@roggenkemper roggenkemper changed the title perf(inbox): Render preview content while details load perf(inbox): Prefetch issue preview details Aug 24, 2026
@roggenkemper
roggenkemper marked this pull request as ready for review August 24, 2026 19:34
@roggenkemper
roggenkemper requested review from a team as code owners August 24, 2026 19:34
@roggenkemper
roggenkemper marked this pull request as draft August 24, 2026 19:34
Replace the preview-wide loading indicator with section placeholders so Activity remains available while pull request and Seer data load.
Keep pull request and Autofix loading states independent so an unfinished prefetch does not block Activity or other cached issue content.

Refs ISWF-3354
Start group, pull request, and Autofix queries immediately on hover or focus. Keep group content available while secondary preview requests are pending.

Refs ISWF-3354
Debounce preview prefetches for 100 ms while keeping every query independent. Replace the group-level spinner with a structured preview skeleton.

Refs ISWF-3354
Keep the existing hover-only debounce while warming the additional preview requests independently. Restore the original group loading state and retain only section-level progressive rendering.

Refs ISWF-3354
Reuse the shared group and organization parameters across preview queries and remove unused response fixtures from requests that intentionally remain pending.

Refs ISWF-3354
Keep the group prefetch at 100ms, delay secondary requests to 300ms, and only prefetch Autofix data when the issue supports it. Avoid retries for secondary hover requests and omit the pull request placeholder when no section is known to exist.

Refs ISWF-3354
Render the selected inbox group while the full group and secondary preview requests continue loading independently.

Refs ISWF-3354
Render only the safe group summary from inbox list data, then mount the full preview after the group detail request completes.

Refs ISWF-3354
Restore the existing preview rendering and selection flow. Keep this change limited to warming the additional Pull Request and Autofix query caches.

Refs ISWF-3354
Use one 200 ms hover delay before warming the group, Pull Request, and eligible Autofix queries.

Refs ISWF-3354
@roggenkemper
roggenkemper marked this pull request as ready for review August 25, 2026 16:47
@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

ISWF-3354

@roggenkemper
roggenkemper merged commit d991cc4 into master Aug 26, 2026
75 checks passed
@roggenkemper
roggenkemper deleted the perf/inbox-preview-details-loading branch August 26, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants