Skip to content

ref(dashboard): Share one core style between both dashboards - #3659

Merged
BYK merged 8 commits into
mainfrom
ref/dashboard-shared-core-style
Nov 18, 2026
Merged

BYK merged 8 commits into
mainfrom
ref/dashboard-shared-core-style

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The classic and new dashboards drew the same surfaces from separate class strings and per-UI branches, so their styles drifted apart: rounder corners, framed details, and tinted rows in one UI but not the other. Now both UIs use one core style:

  • Shared classes in client/styles.ts set the card and row radius, the message-like card frame (object previews, review items, automation triggers), icon tiles, and counts. Both UIs use them.
  • The new UI uses the classic radii: rounded-lg for cards and rows, rounded-md for controls such as the phone "+" button and the Automations scope tabs.
  • A new oxlint rule, radius/no-large-radius, blocks rounded-xl and larger radii, and arbitrary radii, in inbox/ and review-desk/.
  • StatCard, DirectoryTable, and DetailsCard no longer branch on useInboxUi(). A DetailsCard is always a flat section, so its flat prop is gone.
  • On a narrow Inbox row, an ask pill or linked work item that does not fit truncates with an ellipsis instead of being cut off. The pill keeps its label first.

Layout, navigation, and features do not change.

New UI

Inbox

Before After
Dark
Dark, mobile
Light
Light, mobile

Automations

Before After
Dark
Dark, mobile
Light
Light, mobile

Conversation

Before After
Dark
Dark, mobile
Light
Light, mobile

Classic UI

The shared style changes these surfaces in the classic UI:

  • The details panel's "Needs you" and Memories sections are flat, like the other details sections.
  • StatCard icons are grey, not amber.
  • Directory toolbar and header rows have no tint.
  • Transcript message cards have 8px corners, not 12px.

Classic Inbox, Automations, and Memory do not change.

Conversation

Before After
Dark
Dark, mobile
Light
Light, mobile

People

Before After
Dark
Dark, mobile
Light
Light, mobile

via @BYK.

--

View Session [Sentry]

sentry-junior Bot and others added 6 commits November 18, 2026 10:25
Both UIs now draw cards, message cards, icon tiles, and counts from shared
classes in styles.ts. The new UI uses the classic radii: rounded-lg for
cards and rows, rounded-md for controls. An oxlint rule blocks larger
radii in inbox/ and review-desk/.

DetailsCard, StatCard, and the directory table drop their per-UI style
branches. A lone ask pill on a narrow row truncates instead of clipping.

Co-Authored-By: BYK <[email protected]>
… rows

A linked work chip alone on its line now shrinks and truncates its
title. The ask pill keeps its full label, and the linked work keeps
at least 5rem.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from BYK November 18, 2026 12:13
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 18, 2026 1:41pm UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 2 potential issues.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit 1b153ae. Configure here.

@BYK
BYK enabled auto-merge (squash) November 18, 2026 12:21
…core-style

# Conflicts:
#	packages/junior-dashboard/e2e/inbox/inbox-motion.spec.ts
#	packages/junior-dashboard/e2e/inbox/inbox-rows.spec.ts
#	packages/junior-dashboard/src/client/review-desk/InboxLinkedWork.tsx
#	packages/junior-dashboard/src/client/review-desk/InboxRow.tsx
…core-style

# Conflicts:
#	packages/junior-dashboard/src/client/review-desk/InboxNav.tsx
@BYK
BYK merged commit bbb25ec into main Nov 18, 2026
45 of 46 checks passed
@BYK
BYK deleted the ref/dashboard-shared-core-style branch November 18, 2026 13:51
@github-actions

Copy link
Copy Markdown
Contributor

172 screenshot changes — 172 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automations Expanded Row · Desktop
Automations Expanded Row · Desktop
Changed
Automations Expanded Row · Mobile
Automations Expanded Row · Mobile
Changed
Automations Expanded Row Light · Desktop
Automations Expanded Row Light · Desktop
Changed
Automations Expanded Row Light · Mobile
Automations Expanded Row Light · Mobile
Changed
Show 12 more changed screenshots
Automations Light · Desktop
Automations Light · Desktop
Changed
Automations Light · Mobile
Automations Light · Mobile
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Code · Desktop
Code · Desktop
Changed
Code · Mobile
Code · Mobile
Changed
Code Repository · Desktop
Code Repository · Desktop
Changed
Code Repository · Mobile
Code Repository · Mobile
Changed
Conversation Attached Linked Work · Desktop
Conversation Attached Linked Work · Desktop
Changed
Conversation Attached Linked Work Denied · Desktop
Conversation Attached Linked Work Denied · Desktop
Changed
Conversation Attached Linked Work Denied Light · Desktop
Conversation Attached Linked Work Denied Light · Desktop
Changed
Conversation Attached Linked Work Light · Desktop
Conversation Attached Linked Work Light · Desktop
Changed
Conversation Child Agent Page · Desktop
Conversation Child Agent Page · Desktop
Changed

154 more changed screenshots in Frameshift.

BYK pushed a commit that referenced this pull request Nov 18, 2026
#3659 and #3665 each added an import of
`cn` to `CommandPalette.tsx` and `ReviewItemCard.tsx`, so `main`
declares it twice in both files and no longer compiles.

This removes the second import in each file.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A17b6d7f555623680001f2a90 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/local%3Aweb%3A17b6d7f555623680001f2a90)
[[Sentry]](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A17b6d7f555623680001f2a90/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 7fdf38d3 Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant