wulf-pulse/app/api
lorentz 9bfb57553d feat(design): nav/visual overhaul — brand layer, /status route, KPI dashboard, TanStack DataTable
Major UI refresh on the nav-design-improvements branch.  Drops 2013-era
inline styles and consolidates patterns behind shared primitives.

Foundation
- New Wulf brand layer in app/styles/brand.css repointing --primary to
  the standards-guide blue (#0075AD) with utility classes for numerics
  (.num / .num-lg / .num-xl), metric labels, surface tints, and the
  wolf-mark watermark
- Switch primary face to IBM Plex Sans + IBM Plex Mono via next/font;
  Helvetica/Arial stays in the fallback chain for brand fidelity
- Wordmark subtitle changed from "PSA Management System" to
  "Operations console" everywhere it appeared
- Tagline footer ("Don't be afraid to cry") on every non-mobile page

Status moved out of /dashboard
- New /status route with integration tiles grouped by category, sync
  health table, worker pulse cards (analyzer / RMM / sync scheduler),
  token-expiry section, conditional alert banner
- Top-bar StatusIndicator polls integration health every 60s and links
  to /status
- INTEGRATIONS_DISABLED env var suppresses operator-disabled
  integrations (e.g. SentinelOne) — no failure noise from broken-on-
  purpose entries.  Aliases supported (sentinelone → s1, etc.)

Dashboard rebuilt around KPIs
- /api/dashboard/overview adds today snapshot (opened, resolved, open
  total, SLA breaches) with delta math
- /api/dashboard/trends backs queue × priority heatmap, 30-day volume
  area chart, 30-day mean resolution time line chart, today's active
  engineers leaderboard

Components
- StatusBadge driven by lib/status-registry.ts (priority, ticket
  status, classification, source, company type, publish, active /
  yes-no / billable / approved registries)
- StatusLight (8px geometric square, five states, three sizes)
- EmptyState (shared dashed panel with icon + headline + optional CTA)
- KpiCard with delta indicator and tonal left border
- WulfMark (mark / wordmark variants from /public/branding)
- Skeleton helpers (SkeletonRow / Rows / Card / Chart / Header / Table)

Navigation
- Admin flat link → dropdown with seven shortcuts
- New UserMenu (initials avatar, role badge, settings + sign-out)
- Active-route highlight is now a 2px Wulf-blue underline echoing the
  PageHeader rule (consistent across flat links and submenu triggers);
  active children inside dropdowns use bg-primary/10
- Submenu width is content-driven (min-w 320 / max-w 440, single col)
- Mobile hamburger via Sheet, reuses the same nav config

Pages migrated
- 16 admin sub-pages adopt PageHeader (with accent prop)
- /addigy-devices: shadcn Table + Checkbox; PageHeader; status badges
- 10 raw <table> blocks across admin/sync/* migrated to shadcn Table
- /veeam-analysis migrated to shadcn Table (kept its expansion logic)
- Detail routes (analyzer ticket, analyzer analysis) get breadcrumbs

DataTable
- Rewritten on @tanstack/react-table v8 in manual mode; external API
  unchanged so all 10+ data-browser pages keep working
- New optional props for drill-down rows: getRowCanExpand + renderSubRow

Mobile
- Multi-select Popover gets max-w-[calc(100vw-1rem)] and
  collisionPadding so dropdowns can't overflow narrow viewports
- CI filter bar wraps and shrinks; stat pill flows below

Docs
- New ARCHITECTURE.md (load-bearing reference for runtime, data flow,
  workers, analyzer pipeline, auth, deployment, gotchas)
- New DESIGN.md (tokens, layout, navigation IA, component vocabulary,
  rolling backlog of remaining cleanup)
- CLAUDE.md refreshed with pointers to the two new docs and the
  INTEGRATIONS_DISABLED operator config note
- shadcn registry registered as project-level MCP server (.mcp.json)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 09:33:13 -04:00
..
addigy/org-mappings Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
addigy-devices Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
addigy-policies Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
admin feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
analyzer feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
auth/[...all] feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
auvik feat: auto-populate auvik_tenants and rmm_sites tables when fetching mappings 2026-02-02 23:12:35 -05:00
companies feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
config-enrichment Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
config-items/[id]/tickets Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
configuration-items Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
contacts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
dashboard feat(design): nav/visual overhaul — brand layer, /status route, KPI dashboard, TanStack DataTable 2026-05-03 09:33:13 -04:00
data feat: Display Settings UI + Company Category/Type sync 2026-04-06 09:03:19 -04:00
datto-rmm/sync feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
debug-auth Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
duo feat: Separate bypass vs disabled users in Duo UI 2026-03-27 11:41:52 -04:00
engagement feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
health Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
integrations/status feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
invoices/[id]/line-items Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
itglue feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
kiosk feat: Display Settings UI + Company Category/Type sync 2026-04-06 09:03:19 -04:00
mimecast feat: mailbox remediation via Graph Mail.ReadWrite — search + move to Deleted Items from analysis dialog 2026-04-01 10:09:38 -04:00
mobile feat: Display Settings UI + Company Category/Type sync 2026-04-06 09:03:19 -04:00
notification-channels feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
notifications/morning-summary feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
openclaw feat: Duo Security integration — full data sync from Accounts + Admin API 2026-03-27 09:18:04 -04:00
picklists Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
pipelines feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
qbo feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
reports/ticket-digest feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
resources Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
rmm feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
rmm-audit Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
rmm-devices Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
rmm-test Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
salesbldr/quotes feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
sentinelone feat: Add SentinelOne integration 2026-02-27 05:31:31 -05:00
settings/profile feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
status/workers feat(design): nav/visual overhaul — brand layer, /status route, KPI dashboard, TanStack DataTable 2026-05-03 09:33:13 -04:00
sync feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
tasks Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
test-zones Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
ticket-workflows feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
tickets perf: switch ticket modal from live API to Postgres 2026-03-23 11:09:29 -04:00
veeam feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
webhooks feat: repo commit tracking and OpenClaw notification 2026-03-21 18:52:22 -04:00
workflow feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
zabbix feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
zoom/sync feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00