From 20c072b4c1d6f8f0f10ed82394fffedff2ba9da6 Mon Sep 17 00:00:00 2001 From: shankar-gpio Date: Fri, 29 May 2026 11:33:42 +0530 Subject: [PATCH 1/2] Phase 4: command palette, empty states, console UX, brand pass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Polish & power-user features (proposal.md §5.6/§5.7/§6/§7): - Command palette (⌘K): accessible-Dialog-based palette with nav, action commands, and substring search across channels/workflows/connectors; global ⌘K/Ctrl-K listener in AppLayout; header search trigger. - Empty states: shared EmptyState component (icon + explainer + CTA) replacing the bare "No X found" rows on channels/connectors/workflows/traces. - Data Console: sample-payload seeding on channel pick, "Insert sample", in-memory request history with restore, and "open as trace" deep links. - Accessibility: ConfirmDialog migrated onto the accessible Dialog primitive. - Brand pass: Montserrat display font + --font-display token applied to headings/CardTitle; Orion mark SVG logo + favicon; shadow→border card surfaces; table density mode (context + provider + header toggle); neural glow on topology nodes; unified leftover red/emerald usages onto semantic destructive/chart-2 tokens (fixes light-only error blocks in dark mode). Dark mode was already the default; no change needed there. Co-Authored-By: Claude Opus 4.8 (1M context) --- index.html | 4 +- public/orion-logo.svg | 24 +++ src/app.tsx | 3 + src/components/graph/nodes.tsx | 19 +- src/components/layout/app-layout.tsx | 19 +- src/components/layout/header.tsx | 24 ++- src/components/layout/sidebar.tsx | 6 +- src/components/shared/command-palette.tsx | 222 ++++++++++++++++++++++ src/components/shared/confirm-dialog.tsx | 45 ++--- src/components/shared/empty-state.tsx | 30 +++ src/components/shared/import-dialog.tsx | 7 +- src/components/ui/card.tsx | 4 +- src/components/ui/table.tsx | 49 +++-- src/index.css | 5 + src/lib/density-context.ts | 8 + src/lib/density-provider.tsx | 19 ++ src/lib/use-density.ts | 8 + src/pages/channel-form.tsx | 2 +- src/pages/channels.tsx | 21 +- src/pages/connector-form.tsx | 2 +- src/pages/connectors.tsx | 28 ++- src/pages/console.tsx | 117 +++++++++++- src/pages/settings.tsx | 4 +- src/pages/traces.tsx | 16 +- src/pages/workflow-detail.tsx | 4 +- src/pages/workflows.tsx | 16 +- 26 files changed, 620 insertions(+), 86 deletions(-) create mode 100644 public/orion-logo.svg create mode 100644 src/components/shared/command-palette.tsx create mode 100644 src/components/shared/empty-state.tsx create mode 100644 src/lib/density-context.ts create mode 100644 src/lib/density-provider.tsx create mode 100644 src/lib/use-density.ts diff --git a/index.html b/index.html index 0beabc2..d452110 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,12 @@ - + Orion — Plasmatic - +