feat(ui): map-centric Service Map redesign#110
Merged
Conversation
1940ba2 to
6a82faf
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Replaces the triage-first UI (Triage/Flow Map/Traces/Logs tabs, #103) with a single live Service Map. - Sunflower/phyllotaxis radial layout (radialLayout.ts): rank by criticality, Fermat spiral — most-critical at center, dense even disc scaling 7->120+. Nodes render as status dots when zoomed out, labeled chips when few/zoomed-in. - System vitals live in the header only; on-map/mobile health cards removed. - Anomalies shown as recent-window counts (15m/30m/1h) + tappable recently- anomalous service chips (replaces the 24h timeline tape). - Logs/Traces screens removed — served by the MCP search_logs/trace_graph tools; nav collapses to Service Map + ⌘K (bottom tab bar removed; ⌘K in the pulse bar). - Inspector docks on selection (Why/Impact/Dependencies); error-chain spans no longer navigate to a trace screen. - Shell pinned to the viewport (height:100dvh + internal scroll) — fixes content scrolling past the viewport and an off-screen-canvas-at-scale bug. - Bumps vite 8.0.10->8.0.16, overrides @babel/core ^7.29.6 (dev-only CVE fixes; npm audit clean). Backend (memory-survival + hot-path perf, #103) unchanged. No new runtime deps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6a82faf to
8f29189
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Reworks the embedded React UI into a single, map-centric Service Map triage app.
radialLayout.ts): rank by criticality, Fermat spiral (golden angle) — most-critical at center, dense even disc that scales 7→120+ services. Nodes render as small status dots when zoomed out, labeled chips when few/zoomed-in. Replaces the concentric-ring layout (which left a hollow ring at scale).search_logs/trace_graphtools for AI agents; the human nav collapses to Service Map + ⌘K. Bottom tab bar removed; ⌘K moved into the pulse bar so mobile keeps search.height:100dvh+ internal scroll) — fixes content scrolling "below the footer" and an off-screen-canvas-at-scale bug.No backend/Go changes; no new runtime dependencies.
Validation
tsc -bclean · 427 vitest / 42 files pass ·npm run buildOK · CI budgets met (initial JS 107.5/118 KB, CSS 3.4/6 KB) · jscpd < 3%. Validated visually at 7 and ~120 services (synthetic load).🤖 Generated with Claude Code