Repository navigation
Fixes #34636: Inbox on the standard page shell, plus Inbox and My Data dark mode - #34637
Conversation
- Activity feed message card hovered to `bg-white`, so in dark the hovered row turned into a white box with unreadable light text. Hover to `bg-surface` (white in light, raised in dark). - My Data stat cards sat on `bg-primary`, darker than the page in dark; use `bg-surface` like Explore's panels. FeaturedIcon's gray/light theme switches to a solid gray block in dark, so keep the gray-blue tint with dark variants (the utility scale flips per theme). - My Data asset list container is raised (`bg-surface`) with its divider on `border-secondary` in dark, matching Explore's results column. - User avatars (ProfilePicture, core OwnerChip) were painted with inline light HSL that cannot follow the theme, leaving pale 92%-light bubbles on dark surfaces. The hue now travels as a CSS variable and classes choose the lightness per theme; light reproduces the original HSL exactly and dark draws a deep tint, light glyph and a ring in the same hue. Light mode is pixel-identical on /inbox/activity, /inbox/tasks and /my-data.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
The rail was utility-gray-blue-100, which flips to gray-blue-900 in dark and disappears against the page surface. Use border-primary in dark only; light keeps its gray-blue line.
- The composer footer was bg-primary, darker than the detail panel in dark; it now matches the panel (bg-secondary in dark). - Quill's placeholder is rgba(0, 0, 0, 0.6), invisible on dark; use the placeholder token in dark. - Quill draws toolbar icons with a fixed #444 stroke (near-invisible on dark) while the @ / # text buttons took near-white text; give every toolbar icon one muted tone in dark. Light mode is unchanged.
The dark muted-icon override outranked Quill's button:hover / .ql-active rules, so toggled formats looked idle. Scope it to idle buttons only; hovered and active buttons keep the brand highlight.
✅ Playwright Results — workflow succeededValidated commit ✅ 3427 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 2 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 1h 9m 33s ⏱️ Max setup 4m 30s · max shard execution 19m 51s · max shard-job elapsed before upload 23m 52s · reporting 9s 🌐 213.53 requests/attempt · 2.02 app boots/UI scenario · 36.86% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Reactions, Emoji and Reaction were antd Button/Popover with reactions.less, and the Inbox carried activity-feed-item.less only to re-size those antd buttons into one row. - Add-reaction trigger: core Button + PopoverTrigger/Popover. - Reacted-emoji pills: core Button (22px, brand outline when the current user reacted) with the reactor list in a core HoverCard. - Picker emoji: core Button with a brand tint when already reacted. data-testids are unchanged (feed-reaction-container, add-reactions, reaction-button, emoji-button, emoji-count, popover-content). reactions.less and activity-feed-item.less are deleted; nothing else used their classes.
The reactions picker moved from antd Popover to the core Popover, so the helpers' .ant-popover-feed-reactions locator and rc-motion class check no longer match. Locate it by test id and wait for react-aria's data-entering to clear instead.
The core Button (react-aria) does not forward `title` to the DOM, so the [title="<reaction>"] locators stopped matching after the Reactions moved to core.
Code Review ✅ Approved 1 closed / 1 findings🟡 Medium risk · Shared reaction controls and Inbox layouts change across several UI surfaces. Moves Inbox to the standard ✅ 1 closed✅ Bug: Dark toolbar override hides Quill's hover/active button states
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Describe your changes:
Fixes #34636
Dark-mode fixes for the AI-mode Inbox and My Data pages. The Inbox also moves onto the standard page shell.
Inbox shell → standard
PageLayout: every other app page (Data Quality, Alerts, Connections) usesPageLayout›PageLayout.PageHeader›PageLayout.Content. The Inbox built its own shell instead: aPageHeaderstripped of its card (no radius or border, a bottom rule instead) over abg-primarybox, edge to edge. Its header and content backgrounds therefore differed from the other pages, most visibly in dark, wherebg-primaryis darker than the page surface. It now uses the same core composition, an unmodified header card, content on the page surface, and Data Quality's insets (8px inside the header edge, 16px below it). This is an intentional layout change in both themes.Feed reactions → core (no more LESS): the shared
Reactions/Emoji/Reactioncomponents were antdButton/Popoverwithreactions.less, and the Inbox carriedactivity-feed-item.lessonly to re-size those antd buttons into one row.Button+PopoverTrigger/Popover.Button(22px, with a brand outline when you've reacted), with the reactor list in a coreHoverCard.data-testids are unchanged.Reactionsis shared, the entity Activity Feed also picks this up (screenshot below).inbox-comment-composer.lessstays. It only styles Quill's third-party markup (toolbar, mention list, link tooltip,::beforecontent), core has no editor to replace it with, and it uses no antd.Triage comment composer:
bg-primary, darker than the detail panel in dark; it now matches the panel;rgba(0,0,0,.6)placeholder was invisible in dark; it now uses the placeholder token;#444stroke, while@/#were near-white; they now share one muted tone in dark.Activity timeline line: the vertical line linking the avatars was
utility-gray-blue-100, which flips to gray-blue-900 in dark and disappears against the page. It now usesborder-primaryin dark only; light is unchanged.Activity feed hover: the message card hovered to
tw:bg-white, so in dark the hovered row became a white box with unreadable light text. It now hovers tobg-surface, which is white in light and raised in dark.My Data stat cards:
bg-primary, which is darker than the page in dark, tobg-surface, as Explore's panels use;FeaturedIcon's gray/light theme switches to a solid grey block in dark, so the call site adds dark variants of its gray-blue tint (theutility-*scale flips per theme).My Data asset list: the container is raised (
bg-surface) with its divider onborder-secondaryin dark, matching Explore's results column.User avatars (
ProfilePicture, coreOwnerChip): these were painted with inline HSL, which can't follow the theme. The hue is now passed as a--avatar-hueCSS variable, and classes choose the lightness per theme:hsl(h,100%,92%)/hsl(h,70%,40%)exactly;Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
ProfilePicture.test.tsxcovers the hue variable, the light/dark classes, and the matched ring only whenmatchRingToFillis set. Related jest: 827 suites pass. Coreownervitest: 11/11 pass.Playwright (UI) tests
data-testids and behaviour are unchanged.Manual testing performed
#0c0e12→#22262f;#61656csolid → gray-blue-950 tint;rgb(248,255,214)→rgb(70,79,34)in dark, with light unchanged;#22262f.UI screen recording / screenshots:
Final state on the latest commit, light (left) and dark (right).
Inbox → Activity: standard page header card, timeline line, reactions:

Activity item hovered: the message card becomes a raised surface (before, dark showed a white card with unreadable text):

Inbox → Triage with seeded tasks and a comment thread:

My Data: raised stat cards, tinted icon tiles, owner avatars:

Entity Activity Feed with core reactions (feed card + detail panel):

Reaction on a reply (pill with brand outline + add-reaction button):

Before → after
Inbox next to the AI-mode Data Quality page (dark): same header card, insets and page surface.

Inbox shell, before → after (dark):

Inbox shell, before → after (light):

My Data in dark, before (left) and after (right): raised stat cards, tinted icon tiles, dark-tinted owner avatars.

Triage comment composer in dark, before → after (footer surface, placeholder, toolbar icons):

Activity timeline line in dark, before → after:

Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.