Repository navigation
feat(dashboard): Show the author, time, and reply in every outline preview - #3537
Merged
Merged
Conversation
The outline preview showed only the person message for items outside the loaded pages, and cut the message to one line when it had a reply. The outline also hid when the transcript filled its column, such as on a laptop with the sidebar and details open. The outline API now returns each item's time and the start of Junior's reply. The preview shows the time, two lines of the message, and the reply, and the rail shows from md in the transcript's side padding. Co-Authored-By: Burak Yigit Kaya <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The outline API returns each item's author identity id and agent invocation id, and the preview names the author with the same rule as the transcript row. Co-Authored-By: BYK <[email protected]>
BYK
approved these changes
Nov 17, 2026
BYK
marked this pull request as ready for review
November 17, 2026 09:54
BYK
enabled auto-merge (squash)
November 17, 2026 09:54
…context # Conflicts: # packages/junior-dashboard/src/mock-reporting/fixtures.ts
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cdf2c29. Configure here.
A loaded message whose reply is on a page that is not loaded replaced the outline item and dropped its reply.
Contributor
|
82 screenshot changes — 82 changed · 0 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots64 more changed screenshots in Frameshift. |
BYK
added a commit
that referenced
this pull request
Nov 17, 2026
) 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**: - The transcript's scrollbar hides only while the outline shows (two or more items and a wide enough transcript). The outline renders `data-replaces-scrollbar`, and `ChatLayout` hides the region's scrollbar when a sibling has it. `ConversationOutline` reads the rail's rendered box with a `ResizeObserver`, so the width rule stays in one place. Narrow transcripts and phones keep the scrollbar. Wheel, keys, trackpad, and touch still scroll the region. - The items on screen join into a thumb (`data-in-view`), not only the top item. - A press that drags along the rail jumps to the item under the pointer. It goes through the same `onSelect` path 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-at` and `#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 from `md`. ### 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. <!-- 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
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.

The outline ticks beside the transcript had two problems. Their previews had too little context to help you find a message. And on common screen sizes, the ticks did not show at all.
Context. A preview of a message outside the loaded pages showed only the person's message, with no reply. A loaded message with a reply was cut to one line. Now every preview shows:
The outline API (
/api/conversations/:id/outline) now returnscreatedAt,reply,actorIdentityId, andagentInvocationIdfor each item.replyis the last Junior text before the next item, which is the rule the client already uses for loaded rows. A second query reads the assistant messages throughmessage_role_idx, so the cost still grows with messages and not with all events. The preview names the author withtranscriptMessageActorLabeland the detail'sauthorsmap, so it shows the same name as the message's transcript row, including "Parent agent" for a Task's input. The preview card is wider (w-72→w-96).Visibility. The rail showed only when the chat region was at least
62remwide. On a 1440px screen with the sidebar and details panel open, it never showed. Frommdup, the rail now sits in the transcript'spx-7side padding when the transcript fills its column. When there is a gutter, it moves back toleft-3.The mock "Quarterly reliability review" Conversation now has two people who ask questions, so the mock dashboard shows authors in the outline.
Before: 1440px with both panels open, no rail

Before: a message that is not loaded (no reply), and a loaded one cut to one line


After: 1440px with both panels open. First: a message that is not loaded. Second: a loaded message.


After: 1920px, wide layout

via @BYK.
--
View Session [Sentry]