Skip to content

Agentic UI: flatten notices to one neutral card, retitle the history dialog - #4808

Open
wojtekn wants to merge 3 commits into
claude/sidebar-notice-visibility-37d2befrom
flatten-sidebar-notice-colors
Open

Agentic UI: flatten notices to one neutral card, retitle the history dialog#4808
wojtekn wants to merge 3 commits into
claude/sidebar-notice-visibility-37d2befrom
flatten-sidebar-notice-colors

Conversation

@wojtekn

@wojtekn wojtekn commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Built with Claude Code against a running studio ui, using a temporary window.__toasts hook to fire notices of each intent (not part of this PR). Colors below were read back with getComputedStyle, not eyeballed.

Proposed Changes

Flatten notices to one neutral card

I propose using a neutral card color and using an icon to mark severity. Also, as the sidebar has the same color in light and dark mode, I propose using the same color for notifications.

The dialog follows the light/dark mode scheme, so colors are adjusted there.

Retitle the dialog, demote the retention note

"Recent notifications" + "Notices from this session, newest first…" said the same thing twice. I retitled it to Notification history (bell tooltip follows).

The session-scoped fact is real but secondary, and as a subtitle it sat between the title and the notices. I move below the list as a footnote above the buttons: "Notifications are cleared automatically when Studio restarts."

Light Dark Copy
CleanShot 2026-09-09 at 09 54 47@2x CleanShot 2026-09-09 at 09 54 57@2x CleanShot 2026-09-09 at 10 04 33

Testing Instructions

Run the agentic UI (npm start), in both light and dark.

  1. Trigger each intent — copy a site URL (success), start a site (info), open an uninstalled terminal (error). Each should be legible, with the icon still reading as its intent.
  2. Confirm the sidebar card is the same grey in light and dark, not near-white in light.
  3. Open the dialog (bell, or More on an error toast): flat grey entries, colored icons, dialog surface following light/dark.
  4. Title reads "Notification history"; retention note is a footnote above the buttons.
  5. Everything else from Agentic UI: Make sidebar notices legible and add a recent notifications dialog #4777 — clamping, Copy, More, Clear all, empty state — unchanged.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
  • npm run typecheck passes
  • 24 tests pass across notice-history, app-toasts, app-messages
  • Verified in light and dark

🤖 Generated with Claude Code

@wojtekn
wojtekn requested a review from shaunandrews September 9, 2026 08:39
@wojtekn
wojtekn added this pull request to stack #4809 September 9, 2026 09:56
@wojtekn
wojtekn force-pushed the flatten-sidebar-notice-colors branch from 50ee236 to d28a7d0 Compare September 9, 2026 12:10
@wojtekn
wojtekn force-pushed the flatten-sidebar-notice-colors branch from d28a7d0 to eaf94ce Compare September 9, 2026 12:50
The intent icon already carries the severity, so the tinted surface adds
color noise without adding information. Notices keep a single quiet grey
card in the sidebar and the notifications dialog.

The sidebar's card is lifted off the chrome rather than off the app theme:
the chrome is dark in both color schemes, so the notice stays the same
grey in light and dark instead of flipping to near-white. The dialog sits
on the app canvas, so its own lift follows the color scheme as usual.

This also drops the now-unused 'appearance' prop from AppToasts and
AppMessageCards.
'Recent notifications' plus 'Notices from this session, newest first'
said the same thing twice: a history is newest-first by definition, and
the list itself shows the ordering. The title now names the thing, and
the subtitle keeps only the fact the title can't carry — that the log is
session-scoped and does not survive a restart.
As a subtitle it sat between the title and the notices, in the way of
the thing the reader opened the dialog for. It is a one-time fact about
the log's lifetime, so it reads better as a quiet footnote above the
buttons — smaller and dimmer than the notice text it follows.
@wojtekn
wojtekn force-pushed the flatten-sidebar-notice-colors branch from eaf94ce to 5af83f2 Compare September 10, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant