inspector/clients/web/src/theme
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall c6999dff96 feat(web): red border on a server card whose connection attempt failed (#1621)
Flags the server whose last connection attempt failed with a red card
border, cleared when another server is connected or a new connection is
attempted — a persistent, at-a-glance companion to the failure toast and
the auto-opened monitoring column.

- App tracks `failedServerId`: set in onToggleConnection's non-auth
  handshake catch, cleared at the start of any new connect attempt. It is
  deliberately kept out of resetSessionScopedUiState, since the failure's
  own `disconnect` event would otherwise clear it the same tick (that same
  event clears `activeServer`, which is why the flag is tracked separately).
- New `errored` Card theme variant (red border via a new
  `--inspector-error-border` token), mirroring the `highlighted` green
  border. Precedence: disabled (dimmed) > errored > highlighted.
- Plumbed `erroredServerId` through InspectorView → ServerListScreen →
  ServerCard (`errored` prop).

Full `npm run ci` passes (validate + coverage + smoke + storybook).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BrihGWcrM9JGRyu41nzZYw
2026-07-09 14:48:17 -04:00
..
assets refine UI layout, theming, and component consistency across screens 2026-03-23 16:56:53 -04:00
Accordion.ts fix(web): section-header hover outline + clear buttons out of tab order (#1487) (#1488) 2026-06-14 22:27:46 -04:00
ActionIcon.ts formatting 2026-03-17 16:43:27 -04:00
Alert.ts refactor(web): resolve Mantine/CSS rule violations in mid-session auth UI 2026-07-03 13:03:01 -04:00
AppShell.ts fix(web): hide resource subscription UI when server lacks subscribe capability (#1479) 2026-06-14 12:54:19 -04:00
Autocomplete.ts fix(web): section-header hover outline + clear buttons out of tab order (#1487) (#1488) 2026-06-14 22:27:46 -04:00
Badge.ts Add new components, typography, badge contrast, and screen layout refactors 2026-03-28 20:38:04 -04:00
Button.ts formatting 2026-03-17 16:43:27 -04:00
Card.ts feat(web): red border on a server card whose connection attempt failed (#1621) 2026-07-09 14:48:17 -04:00
Code.ts Guided-auth removal, OAuth smoke testing, and TUI/CLI support (#1531) 2026-06-29 15:35:51 -04:00
Flex.ts Add new components, typography, badge contrast, and screen layout refactors 2026-03-28 20:38:04 -04:00
Group.ts fix(web): section-header hover outline + clear buttons out of tab order (#1487) (#1488) 2026-06-14 22:27:46 -04:00
index.ts fix(web): ResourceControls single-scroll, full-height panel, right/down chevrons (#1462) (#1464) 2026-06-14 08:57:05 -04:00
Input.ts Phase 1: Style refinements and component tweaks from Storybook review 2026-04-17 19:26:21 -04:00
Paper.ts Add new components, typography, badge contrast, and screen layout refactors 2026-03-28 20:38:04 -04:00
Select.ts formatting 2026-03-17 16:43:27 -04:00
Switch.ts formatting 2026-03-17 16:43:27 -04:00
Text.ts feat(web): add Console (stderr) tab; show it on stdio connect failure (#1621) 2026-07-09 14:06:13 -04:00
TextInput.ts formatting 2026-03-17 16:43:27 -04:00
theme.ts fix(web): ResourceControls single-scroll, full-height panel, right/down chevrons (#1462) (#1464) 2026-06-14 08:57:05 -04:00
Title.ts feat(connection-info): wire Connection Info modal to the connection handshake (#1377) 2026-05-30 16:42:37 -04:00
UnstyledButton.ts fix(web): filter toggle hover as border, not background (#1460) (#1461) 2026-06-13 19:52:27 -04:00