Repository navigation
feat(dashboard): Let the outline replace the transcript scrollbar - #3563
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add a per-browser "Scroll conversations with" choice. The default, Scrollbar, keeps today's behavior. Outline hides the transcript scrollbar while the outline shows, marks the messages on screen as a thumb, and lets a drag along the rail jump through the conversation. Group the per-browser choices on both Settings pages under a new Interface section. Existing anchors keep working. Co-Authored-By: BYK <[email protected]>
The switch is saved per account, so the section now says which choices follow the account and which follow the browser. Co-Authored-By: BYK <[email protected]>
… the server useLocalStorage throws during server rendering, so the outline reads the choice through useSyncExternalStore with the scrollbar default. The rail now shows from md, so the e2e checks the scrollbar below it.
sentry-junior
Bot
force-pushed
the
feat/outline-replaces-scrollbar
branch
from
November 17, 2026 10:43
f7da5c2 to
53fbe89
Compare
BYK
marked this pull request as ready for review
November 17, 2026 10:53
BYK
approved these changes
Nov 17, 2026
BYK
enabled auto-merge (squash)
November 17, 2026 10:55
…-scrollbar # Conflicts: # packages/junior-dashboard/src/client/inbox/pages/settings/SettingsPage.tsx # packages/junior-dashboard/src/client/pages/settings/SettingsPage.tsx
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 9ffa7bd. Configure here.
…ple the thumb on resize A press that never started a drag and ended outside the rail sent no pointerup to it, so a later hover could scrub. A move without the primary button now ends the press. The thumb also resamples when the transcript resizes, not only when it scrolls.
The test architecture check keeps layout reads out of dashboard e2e, so the press moves to a row instead of an offset from the item's box.
Contributor
|
Found 3 test failures on Blacksmith runners: Failures
|
Contributor
|
27 screenshot changes — 26 changed · 1 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots8 more changed screenshots in Frameshift. |
BYK
added a commit
that referenced
this pull request
Nov 17, 2026
…rollbar (#3593) Follow-up to #3563. With **Scroll conversations with: Outline**, the rail now sits on the right edge of the transcript, where the hidden scrollbar was. **With the default Scrollbar choice, the rail stays on the left as it is today.** - `MessageOutline` takes `side` (`left` by default) and sets `data-side`. On the right, the bars grow to the left (`origin-right`) and the list padding moves to the left. The preview opens to the left (`right-full`), toward the content, and keeps the same vertical clamp. - `ConversationOutline` picks the side from the scroller choice. On the right, it uses the transcript's right padding the same way the left rail uses the left padding (`right-1`, and `right-3` from 62rem). The `hidden md:flex` breakpoint stays in one class string. - Drag, the in-view thumb, and wheel scrolling do not change. ### Screenshots Default (Scrollbar): the rail stays on the left.  Outline, classic and inbox: the rail is on the right, and the scrollbar is hidden.   The preview opens to the left:   <!-- 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]>
24 tasks done
BYK
added a commit
that referenced
this pull request
Nov 18, 2026
… at once (#3655) Follow-up to #3563 and #3593. Fixes two bugs in the outline when it replaces the scrollbar. **A drag along the ticks did not scroll the transcript.** Every item that the drag passed, if it was not loaded, started a new `?event=` page read. Each read replaced the one before it, so no read landed until the pointer rested. Now, while a jump waits for its page, the drag keeps only the latest item. It jumps there when the page lands or when the press ends, so the transcript follows the pointer one page at a time. While a jump waits, the preview does not prefetch. **A click took a long time to reach its message.** A click on an item that was not loaded waited for the page read and the render. Now, when a preview stays open for 100ms, it reads the page of its item into a short-lived start-page query. `useHistoryAround` opens from that cached page, and its first-page read joins a prefetch that is still loading. This keeps the existing jump and load path, reads one page, and never chains pages. The jump also aligns again after the next frame, because rows that render with a cached page measure and the transcript moves back to its old place. Drag mid-way, with the transcript following the pointer through pages that load slowly:  Preview of a far message while its page prefetches:  After the click, with no new request:  <!-- 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.

![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Adds a per-browser Scroll conversations with choice. The default, Scrollbar, keeps today's behavior exactly. Nobody sees a change unless they pick Outline. The outline, preview, and click-to-jump work as before.
The transcript loads only some pages, so the native scrollbar covers only the loaded part. The outline covers every person message. With Outline:
data-replaces-scrollbar, andChatLayouthides the region's scrollbar when a sibling has it.ConversationOutlinereads the rail's rendered box with aResizeObserver, so the width rule stays in one place. Narrow transcripts and phones keep the scrollbar. Wheel, keys, trackpad, and touch still scroll the region.data-in-view), not only the top item.onSelectpath as a click, so far messages load their page. A drag past an end of the rail scrolls the rail. A plain click is still a click. Touch keeps scrolling the rail.Settings: both Settings pages now have an Interface section (
#interface) with New dashboard, Navigation (classic only), Open conversations at, Scroll conversations with, Message box, Browser tab, and Inbox motion (inbox only). Every existing card anchor, such as#open-conversations-atand#new-dashboard, still works. New dashboard is saved per account and the rest per browser, so the section description says that once and the cards no longer repeat it.Related: #3537, now on
main, changed the same outline files. This branch is rebased on it. The hide rule follows the rail's real visibility, so it works with the rail showing frommd.Screenshots
Settings, classic and inbox:
Transcript, default (scrollbar at the right edge of the transcript):
Transcript with Outline: no scrollbar, and the thumb on the rail marks the messages on screen:
During a drag up the rail:
Screenshots use the 2,000-message long-transcript mock. The transcript screenshots were taken before the rebase on #3537, so their previews do not show the author and time yet.
via @BYK.
--
View Session [Sentry]