Repository navigation
fix(dashboard): Show outline jumps at once with a stand-in while the page loads - #3767
Merged
Merged
Conversation
…page loads In Outline mode, a click or drag to a message that is not mounted draws the outline item over the transcript, where the message lands, then swaps in the real rows when they render. No page read sits between the input and the first frame. Hover prefetch starts at once, covers the pointed item and its neighbours, and runs one read at a time. A jump reuses any cached page that holds the target. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This comment has been minimized.
This comment has been minimized.
Contributor
|
15 screenshot changes — 15 changed · 0 added · 0 removed Review screenshots in Frameshift Show 9 more changed screenshots |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bf68690. Configure here.
… jump on scroll The stand-in passed clicks through to the hidden rows below it. It now takes the pointer, and a wheel or touch on it, or a key in the transcript, ends the jump, so rows that land later do not realign it.
BYK
approved these changes
Nov 19, 2026
22 tasks done
BYK
added a commit
that referenced
this pull request
Nov 21, 2026
…3974) Follows up #3767. That PR made outline jumps show at once. This one makes them read less and land more clearly, and it adds links to a transcript row. **Seq store.** Each Conversation keeps every event it has read in one query cache entry (`["conversation", id, "event-runs"]`), as seq-sorted runs that have no gaps. The transcript window is the run that holds its start. A later read gets only what no run holds: - If the target is held, it shows at once. A side that holds fewer than 150 events gets one more page past the run end. - If a held run ends within 300 seqs of the target, the read continues from that run's cursor and stops at the next run. - Otherwise, one read of `event=<seq>&limit=300`. Reads that start from the same cursor share one request. Earlier and newer scroll loads also stop at the next run or at the latest page. The store holds at most 5,000 events. When it is full, it drops the run farthest from the newest read. It lives as long as the Conversation's queries, plus the default cache time. The latest page and its earlier pages stay outside the store. **Wider jump window.** A jump reads 300 events, 150 on each side of its target. Before, it read 150. **Highlight.** A click or release on the outline marks the row it lands on. It uses the same background fade (2s) as a `?message=` link. A drag marks nothing on the way. **`#event-<seq>` links.** Each transcript row gets the anchor `event-<seq>`, where seq is the seq of the row's last event. When a moved question shares its reply's seq, only the first of those rows takes the anchor. A Conversation URL with `#event-<seq>` opens on the row that holds that event. It reads the events around it through the seq store when they are not held, and marks the row. A row holds the events up to its seq, so an event seq lands on the first row at or after it. An event after the last row lands on the last row before it. `?event=` still opens the event log, and `?message=` still shows a Message. **Layout shift.** Measured in the target row's first visible frame and after it settles, with a 232ms mock: | Jump | Before | After | |---|---|---| | to 400 | 0px | 0px | | far, to 1200 | 31px | 0px | | inside the held window, to 410 | 0px | 0px | **Outline list stays still under the pointer.** The outline list scrolls itself to keep the active item in view while the pointer is away. It took an open preview as the sign that the pointer was there, but the preview can open a frame late. When the active item first resolved between a press and its release, the list scrolled under the press and the click landed on no item. The list now also skips that scroll while it is hovered. The e2e outline tests move to `conversations-outline.spec.ts`, and the long transcript mock moves to a shared fixture. **`#event-1200` link, landed and marked**  **Outline click, landed and marked**  **`?message=` link, same highlight**  **Outline replace mode: stand-in while the read is held, then landed**   <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3Ae72044902af8a5cf6d26294a3c2e2222 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3Ae72044902af8a5cf6d26294a3c2e2222) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Ae72044902af8a5cf6d26294a3c2e2222/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]>
This branch was successfully deployed
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.

Follow-up of #3655. With "Scroll conversations with: Outline", a click or drag to a message whose page is not loaded waited for the page read and the transcript render before anything moved (0.4–0.8s at production latency).
Now the outline item stands in for its message, YouTube-thumbnail style:
The default Scrollbar mode jump is unchanged.
via @BYK.
--
View Session [Sentry]