@sleep2agi/agent-network-dashboard 0.5.3-preview.11 → 0.5.3-preview.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/diagnostics/route-bundle-stats.json +32 -32
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +12 -12
- package/.next/server/app/_not-found.segments/_full.segment.rsc +12 -12
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin.html +2 -2
- package/.next/server/app/admin.rsc +14 -14
- package/.next/server/app/admin.segments/_full.segment.rsc +14 -14
- package/.next/server/app/admin.segments/_head.segment.rsc +4 -4
- package/.next/server/app/admin.segments/_index.segment.rsc +7 -7
- package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/admin.segments/admin.segment.rsc +3 -3
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +14 -14
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +14 -14
- package/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/server/app/index.segments/_index.segment.rsc +7 -7
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +2 -2
- package/.next/server/app/login.rsc +14 -14
- package/.next/server/app/login.segments/_full.segment.rsc +14 -14
- package/.next/server/app/login.segments/_head.segment.rsc +4 -4
- package/.next/server/app/login.segments/_index.segment.rsc +7 -7
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/login.segments/login.segment.rsc +3 -3
- package/.next/server/app/logs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/logs.html +2 -2
- package/.next/server/app/logs.rsc +14 -14
- package/.next/server/app/logs.segments/_full.segment.rsc +14 -14
- package/.next/server/app/logs.segments/_head.segment.rsc +4 -4
- package/.next/server/app/logs.segments/_index.segment.rsc +7 -7
- package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/logs.segments/logs.segment.rsc +3 -3
- package/.next/server/app/messages/page_client-reference-manifest.js +1 -1
- package/.next/server/app/messages.html +2 -2
- package/.next/server/app/messages.rsc +14 -14
- package/.next/server/app/messages.segments/_full.segment.rsc +14 -14
- package/.next/server/app/messages.segments/_head.segment.rsc +4 -4
- package/.next/server/app/messages.segments/_index.segment.rsc +7 -7
- package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/messages.segments/messages.segment.rsc +3 -3
- package/.next/server/app/node/page_client-reference-manifest.js +1 -1
- package/.next/server/app/node.html +2 -2
- package/.next/server/app/node.rsc +14 -14
- package/.next/server/app/node.segments/_full.segment.rsc +14 -14
- package/.next/server/app/node.segments/_head.segment.rsc +4 -4
- package/.next/server/app/node.segments/_index.segment.rsc +7 -7
- package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/node.segments/node.segment.rsc +3 -3
- package/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
- package/.next/server/app/nodes.html +2 -2
- package/.next/server/app/nodes.rsc +14 -14
- package/.next/server/app/nodes.segments/_full.segment.rsc +14 -14
- package/.next/server/app/nodes.segments/_head.segment.rsc +4 -4
- package/.next/server/app/nodes.segments/_index.segment.rsc +7 -7
- package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/nodes.segments/nodes.segment.rsc +3 -3
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/server-logs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/server-logs.html +2 -2
- package/.next/server/app/server-logs.rsc +14 -14
- package/.next/server/app/server-logs.segments/_full.segment.rsc +14 -14
- package/.next/server/app/server-logs.segments/_head.segment.rsc +4 -4
- package/.next/server/app/server-logs.segments/_index.segment.rsc +7 -7
- package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/server-logs.segments/server-logs.segment.rsc +3 -3
- package/.next/server/app/settings/networks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/networks.html +2 -2
- package/.next/server/app/settings/networks.rsc +14 -14
- package/.next/server/app/settings/networks.segments/_full.segment.rsc +14 -14
- package/.next/server/app/settings/networks.segments/_head.segment.rsc +4 -4
- package/.next/server/app/settings/networks.segments/_index.segment.rsc +7 -7
- package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +3 -3
- package/.next/server/app/settings/networks.segments/settings.segment.rsc +3 -3
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/tokens/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/tokens.html +2 -2
- package/.next/server/app/settings/tokens.rsc +14 -14
- package/.next/server/app/settings/tokens.segments/_full.segment.rsc +14 -14
- package/.next/server/app/settings/tokens.segments/_head.segment.rsc +4 -4
- package/.next/server/app/settings/tokens.segments/_index.segment.rsc +7 -7
- package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +3 -3
- package/.next/server/app/settings/tokens.segments/settings.segment.rsc +3 -3
- package/.next/server/app/settings.html +2 -2
- package/.next/server/app/settings.rsc +14 -14
- package/.next/server/app/settings.segments/_full.segment.rsc +14 -14
- package/.next/server/app/settings.segments/_head.segment.rsc +4 -4
- package/.next/server/app/settings.segments/_index.segment.rsc +7 -7
- package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tasks.html +2 -2
- package/.next/server/app/tasks.rsc +14 -14
- package/.next/server/app/tasks.segments/_full.segment.rsc +14 -14
- package/.next/server/app/tasks.segments/_head.segment.rsc +4 -4
- package/.next/server/app/tasks.segments/_index.segment.rsc +7 -7
- package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/tasks.segments/tasks.segment.rsc +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +4 -4
- package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/{06kqj2vd..gul.js → 0c4s2_i~xiiq9.js} +1 -1
- package/.next/static/chunks/0o1u.iwom-6dx.js +1 -0
- package/.next/static/chunks/0q26gpr_x0vac.js +4 -0
- package/.next/static/chunks/0s79~q4.hff-4.css +2 -0
- package/.next/static/chunks/0ubjad.zr6qc3.js +1 -0
- package/.next/static/chunks/{03a4--7ncekmk.js → 0v4-5tng.uh.7.js} +2 -2
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/ServersDrawer.tsx +16 -3
- package/app/components/TopoGraph.tsx +2939 -136
- package/app/globals.css +58 -7
- package/package.json +4 -4
- package/scripts/p157-servers-copy-test.mjs +95 -0
- package/scripts/topo-active-chrome-hover-text-test.mjs +107 -0
- package/scripts/topo-alias-glow-test.mjs +121 -0
- package/scripts/topo-avatar-brightness-test.mjs +116 -0
- package/scripts/topo-avatar-fallback-hover-test.mjs +104 -0
- package/scripts/topo-brand-logo-breath-test.mjs +102 -0
- package/scripts/topo-brand-logo-hover-brightness-test.mjs +105 -0
- package/scripts/topo-brand-logo-hover-rotate-test.mjs +93 -0
- package/scripts/topo-brand-logo-hover-test.mjs +85 -0
- package/scripts/topo-chip-row-digit-ls-test.mjs +135 -0
- package/scripts/topo-chip-row-member-alias-lit-test.mjs +154 -0
- package/scripts/topo-chip-row-tier-glow-brightness-test.mjs +99 -0
- package/scripts/topo-chip-row-unit-hover-tracking-test.mjs +124 -0
- package/scripts/topo-cluster-count-attr-test.mjs +80 -0
- package/scripts/topo-crescent-breath-test.mjs +104 -0
- package/scripts/topo-crescent-recede-test.mjs +111 -0
- package/scripts/topo-edge-badge-hover-glow-test.mjs +90 -0
- package/scripts/topo-edge-badge-text-brightness-test.mjs +83 -0
- package/scripts/topo-edge-particle-brightness-test.mjs +82 -0
- package/scripts/topo-edge-pill-glow-test.mjs +67 -0
- package/scripts/topo-edge-visible-brightness-test.mjs +84 -0
- package/scripts/topo-endpoint-ring-brightness-test.mjs +83 -0
- package/scripts/topo-filter-pill-glow-test.mjs +90 -0
- package/scripts/topo-fleet-density-tier-test.mjs +84 -0
- package/scripts/topo-flow-rail-brightness-test.mjs +80 -0
- package/scripts/topo-freshness-chip-fade-test.mjs +105 -0
- package/scripts/topo-fullscreen-attr-test.mjs +73 -0
- package/scripts/topo-fullscreen-brightness-test.mjs +84 -0
- package/scripts/topo-fullscreen-icon-rotate-test.mjs +93 -0
- package/scripts/topo-grid-content-bottom-attr-test.mjs +72 -0
- package/scripts/topo-group-box-brightness-test.mjs +84 -0
- package/scripts/topo-group-label-brightness-test.mjs +84 -0
- package/scripts/topo-group-label-hover-glow-test.mjs +86 -0
- package/scripts/topo-group-label-member-alias-hover-test.mjs +125 -0
- package/scripts/topo-group-pill-glow-test.mjs +76 -0
- package/scripts/topo-hub-digit-brightness-test.mjs +79 -0
- package/scripts/topo-hub-digit-ls-test.mjs +119 -0
- package/scripts/topo-hub-halo-brightness-test.mjs +80 -0
- package/scripts/topo-hub-halo-glow-test.mjs +96 -0
- package/scripts/topo-hub-highlight-amplify-test.mjs +139 -0
- package/scripts/topo-hub-highlight-brightness-test.mjs +84 -0
- package/scripts/topo-hub-highlight-fill-transition-test.mjs +84 -0
- package/scripts/topo-hub-highlight-glow-test.mjs +99 -0
- package/scripts/topo-hub-highlight-r-test.mjs +112 -0
- package/scripts/topo-hub-highlight-recede-test.mjs +144 -0
- package/scripts/topo-hub-highlight-theme-fill-test.mjs +83 -0
- package/scripts/topo-hub-hover-ring-brightness-test.mjs +79 -0
- package/scripts/topo-hub-hover-ring-glow-test.mjs +97 -0
- package/scripts/topo-hub-idle-breath-test.mjs +7 -2
- package/scripts/topo-hub-recede-test.mjs +124 -0
- package/scripts/topo-hub-spoke-brightness-test.mjs +77 -0
- package/scripts/topo-hub-spoke-glow-test.mjs +112 -0
- package/scripts/topo-layout-hover-fw-test.mjs +98 -0
- package/scripts/topo-legend-count-brightness-test.mjs +80 -0
- package/scripts/topo-legend-count-letter-spacing-test.mjs +108 -0
- package/scripts/topo-legend-label-fw-test.mjs +107 -0
- package/scripts/topo-legend-row-count-brightness-test.mjs +85 -0
- package/scripts/topo-legend-row-label-glow-test.mjs +102 -0
- package/scripts/topo-legend-swatch-glow-test.mjs +109 -0
- package/scripts/topo-legend-swatch-member-alias-match-test.mjs +139 -0
- package/scripts/topo-minimap-hover-glow-test.mjs +109 -0
- package/scripts/topo-more-footer-brightness-test.mjs +94 -0
- package/scripts/topo-node-alias-brightness-test.mjs +84 -0
- package/scripts/topo-node-sub-text-brightness-test.mjs +88 -0
- package/scripts/topo-nodesize-hover-fw-test.mjs +99 -0
- package/scripts/topo-orphan-box-dash-test.mjs +89 -0
- package/scripts/topo-orphan-fill-opacity-test.mjs +91 -0
- package/scripts/topo-orphan-label-italic-test.mjs +90 -0
- package/scripts/topo-orphan-label-opacity-test.mjs +98 -0
- package/scripts/topo-panel-count-hover-ls-test.mjs +87 -0
- package/scripts/topo-panel-row-brightness-test.mjs +116 -0
- package/scripts/topo-panel-title-brightness-test.mjs +98 -0
- package/scripts/topo-panel-title-glow-test.mjs +111 -0
- package/scripts/topo-pill-x-rotate-test.mjs +96 -0
- package/scripts/topo-pinned-aspect-test.mjs +89 -0
- package/scripts/topo-pressure-seg-glow-test.mjs +92 -0
- package/scripts/topo-pressure-seg-member-alias-match-test.mjs +133 -0
- package/scripts/topo-pressure-seg-motion-test.mjs +101 -0
- package/scripts/topo-recent-count-brightness-test.mjs +84 -0
- package/scripts/topo-recent-more-fw-test.mjs +126 -0
- package/scripts/topo-recent-row-fw-test.mjs +115 -0
- package/scripts/topo-recent-row-text-glow-test.mjs +86 -0
- package/scripts/topo-recent-ts-brightness-test.mjs +86 -0
- package/scripts/topo-reduced-motion-attr-test.mjs +69 -0
- package/scripts/topo-reset-brightness-test.mjs +83 -0
- package/scripts/topo-reset-icon-hover-scale-test.mjs +102 -0
- package/scripts/topo-runtime-badge-brightness-test.mjs +78 -0
- package/scripts/topo-runtime-badge-glow-test.mjs +108 -0
- package/scripts/topo-starfield-hue-test.mjs +109 -0
- package/scripts/topo-status-ring-brightness-test.mjs +84 -0
- package/scripts/topo-titleblock-h2-hover-fw-test.mjs +109 -0
- package/scripts/topo-titleblock-h2-hover-tracking-test.mjs +128 -0
- package/scripts/topo-titleblock-kicker-hover-test.mjs +134 -0
- package/scripts/topo-vendor-chip-glow-test.mjs +97 -0
- package/scripts/topo-vendor-pill-glow-test.mjs +98 -0
- package/scripts/topo-watermark-breath-test.mjs +100 -0
- package/scripts/topo-watermark-recede-test.mjs +114 -0
- package/scripts/topo-zoom-buttons-brightness-test.mjs +94 -0
- package/scripts/topo-zoom-level-brightness-test.mjs +83 -0
- package/scripts/topo-zoom-level-color-test.mjs +105 -0
- package/.next/static/chunks/03tmeg87bxqs3.js +0 -4
- package/.next/static/chunks/09t2h9c0b1xjg.js +0 -1
- package/.next/static/chunks/0m.1mvl~t.avc.css +0 -2
- package/.next/static/chunks/0x3fl360u~cjf.js +0 -1
- /package/.next/static/{hbG6dNDvul_c04Di9Ydwt → rkOLU3EGmK7h60SyjOLeP}/_buildManifest.js +0 -0
- /package/.next/static/{hbG6dNDvul_c04Di9Ydwt → rkOLU3EGmK7h60SyjOLeP}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{hbG6dNDvul_c04Di9Ydwt → rkOLU3EGmK7h60SyjOLeP}/_ssgManifest.js +0 -0
|
@@ -240,11 +240,30 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
|
|
|
240
240
|
stale-onset to direct attention. */
|
|
241
241
|
if (!stale) return null;
|
|
242
242
|
return (
|
|
243
|
+
/* Round 505 / Loop — FreshnessChip mount animation. Pre-R505 the
|
|
244
|
+
chip popped into the chip-row instantly when SWR data crossed
|
|
245
|
+
the 10s stale threshold; users saw an abrupt amber pill appear
|
|
246
|
+
mid-row. R505 adds the existing `anet-fade-in` class so the
|
|
247
|
+
chip eases through opacity 0→1 over 150ms (R51 globals.css
|
|
248
|
+
keyframe) on first appearance. The chip itself only renders
|
|
249
|
+
when stale (R275 conditional), so the fade plays exactly when
|
|
250
|
+
the stale signal first arrives — perfectly aligned with the
|
|
251
|
+
semantic. Mount-once via React reconciliation (key not used
|
|
252
|
+
since FreshnessChip is a singleton in the parent).
|
|
253
|
+
a11y respected via R29 blanket — `@media (prefers-reduced-
|
|
254
|
+
motion: reduce)` neutralizes anet-fade-in to `animation:none`
|
|
255
|
+
(globals.css line 1083-1089 includes anet-fade-in in the
|
|
256
|
+
blanket list). Reduced-motion users see the chip pop instantly,
|
|
257
|
+
same as pre-R505 behavior — no regression.
|
|
258
|
+
Pure paint-axis addition (opacity animation, no geometry),
|
|
259
|
+
bbox unchanged. data-freshness-chip-mount-fade attr exposes
|
|
260
|
+
the gate for tests. */
|
|
243
261
|
<span
|
|
244
|
-
className={`${baseClass} ${colorClass}`}
|
|
262
|
+
className={`${baseClass} ${colorClass} anet-fade-in`}
|
|
245
263
|
title={stale ? `Last sync ${sec}s ago — SWR refresh may be lagging` : `Live data · refreshes every 5s · last sync ${sec}s ago`}
|
|
246
264
|
data-freshness-chip
|
|
247
265
|
data-freshness-chip-stale={stale ? 'true' : 'false'}
|
|
266
|
+
data-freshness-chip-mount-fade="true"
|
|
248
267
|
>
|
|
249
268
|
{/* Round 272 / Loop: swap prefix word to match color state so
|
|
250
269
|
text and color point the same way. Pre-R272 the chip read
|
|
@@ -867,12 +886,19 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
867
886
|
// R63 label render + R86 hover-pin keying + #99 tooltip
|
|
868
887
|
// member listing, so all the existing group-box machinery
|
|
869
888
|
// applies uniformly to the orphan bucket too.
|
|
889
|
+
// Round 499 / Loop — surface `isOrphan` flag on the box
|
|
890
|
+
// shape so downstream renderers (label text, future polish)
|
|
891
|
+
// can apply orphan-specific typography (italic) without
|
|
892
|
+
// re-deriving the flag from key === '其他' (key matching
|
|
893
|
+
// would also catch a legitimate "其他" prefix-group, this
|
|
894
|
+
// flag is canonical from the band assignment pass).
|
|
870
895
|
return {
|
|
871
896
|
key: band.isOrphan
|
|
872
897
|
? '其他'
|
|
873
898
|
: band.members.length
|
|
874
899
|
? groupKeys[band.members[0].alias]
|
|
875
900
|
: '',
|
|
901
|
+
isOrphan: !!band.isOrphan,
|
|
876
902
|
count: band.members.length,
|
|
877
903
|
statuses: { working: w, idle: i, offline: o },
|
|
878
904
|
x: minX - GROUP_PAD,
|
|
@@ -977,7 +1003,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
977
1003
|
groupKeys,
|
|
978
1004
|
// #111: group boxes are a grid-layout feature only — radially scattered
|
|
979
1005
|
// ring nodes can't be cleanly boxed. Ring keeps the #83 prefix hue.
|
|
980
|
-
groupBoxes: [] as { key: string; count: number; statuses: { working: number; idle: number; offline: number }; x: number; y: number; w: number; h: number }[],
|
|
1006
|
+
groupBoxes: [] as { key: string; isOrphan?: boolean; count: number; statuses: { working: number; idle: number; offline: number }; x: number; y: number; w: number; h: number }[],
|
|
981
1007
|
// ring fits within VIEWBOX_H by construction (offlineRadius=325 + centre at y=330)
|
|
982
1008
|
gridContentBottom: 0,
|
|
983
1009
|
};
|
|
@@ -1116,6 +1142,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1116
1142
|
// hover state says — either -8° (still hovering) or 0 (mouse left).
|
|
1117
1143
|
// 350th-round milestone polish.
|
|
1118
1144
|
const [hoveredReset, setHoveredReset] = useState(false);
|
|
1145
|
+
// R595: hover state for the chrome fullscreen button — drives the
|
|
1146
|
+
// brightness(1.15) filter on hover, sibling to hoveredReset above.
|
|
1147
|
+
// Same pattern as R593 hoveredZoomLevel + R594 hoveredReset; closes
|
|
1148
|
+
// the standalone chrome button pair (reset + fullscreen) at
|
|
1149
|
+
// brightness parity.
|
|
1150
|
+
const [hoveredFullscreen, setHoveredFullscreen] = useState(false);
|
|
1119
1151
|
// R135: panel-wide hover-elevation. The recent-signal + legend
|
|
1120
1152
|
// panels both already host clickable rows (R56/R116 recent rows,
|
|
1121
1153
|
// R55/R61 legend rows) and a clickable footer (R133), so the
|
|
@@ -1699,7 +1731,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1699
1731
|
width) = 166px total title-block width vs 168px pre-R298 —
|
|
1700
1732
|
no measurable layout shift, just a deliberate tighter
|
|
1701
1733
|
grouping. */}
|
|
1702
|
-
|
|
1734
|
+
{/* Round 554 / Loop — title-block wrapper picks up `group` so
|
|
1735
|
+
the H2 below can subscribe to `group-hover:tracking-tighter`.
|
|
1736
|
+
Pairs with R548/R549 brand-logo hover gestures: cursor
|
|
1737
|
+
sweeping anywhere across the title cluster fires the brand
|
|
1738
|
+
logo's scale-105 + rotate-6 + breath ↔ AND tightens the
|
|
1739
|
+
H2's tracking from -0.025em → -0.05em.
|
|
1740
|
+
Makes the title-block read as one coherent hover cluster —
|
|
1741
|
+
brand mark provides the loud gesture (scale + rotate), H2
|
|
1742
|
+
provides the subtle editorial gesture (kerning tighten).
|
|
1743
|
+
data-topo-section-titleblock-group attr surfaces the gate
|
|
1744
|
+
for tests. */}
|
|
1745
|
+
<div className="group flex items-center gap-2.5" data-topo-section-titleblock-group>
|
|
1703
1746
|
{/* Round 297 / Loop: brand-logo color picks up the 200ms ease-
|
|
1704
1747
|
out transition. Pre-R297 the moon glyph had theme-
|
|
1705
1748
|
conditional color (cyber #67e8f9 cyan ↔ light #0d9488
|
|
@@ -1723,13 +1766,136 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1723
1766
|
overpowering the h2 at text-lg/font-semibold (R286).
|
|
1724
1767
|
viewBox 32×32 unchanged so the inner crescent geometry
|
|
1725
1768
|
scales proportionally. */}
|
|
1769
|
+
{/* Round 548 / Loop — title-block brand logo gains subtle
|
|
1770
|
+
hover-scale gesture. Pre-R548 the 40×40 crescent was
|
|
1771
|
+
fully static — no hover affordance. R548 adds hover:
|
|
1772
|
+
scale-105 (Tailwind 4 emits as `scale: 1.05`) so the
|
|
1773
|
+
brand mark gently responds to attention as the user's
|
|
1774
|
+
cursor sweeps across the title block. 5% scale is
|
|
1775
|
+
intentionally subtle (vs R350 chrome icon hover-scale-
|
|
1776
|
+
110): the brand logo is a passive identity mark, not
|
|
1777
|
+
an interactive control, so the gesture stays small.
|
|
1778
|
+
cursor: default to clarify non-clickability (the SVG
|
|
1779
|
+
isn't a button; just a brand element).
|
|
1780
|
+
transition-transform duration-200 ease-out matches the
|
|
1781
|
+
dashboard's R350-family hover-scale cadence so the
|
|
1782
|
+
brand logo's response shares the same motion vocabulary
|
|
1783
|
+
as the chrome strip's icon scales. transform-gpu hint
|
|
1784
|
+
promotes the SVG to its own compositor layer for crisp
|
|
1785
|
+
edges during the tween.
|
|
1786
|
+
Brand-mark delight gesture family (1 anchor):
|
|
1787
|
+
R548 title-block brand logo hover:scale-105
|
|
1788
|
+
The crescent at canvas top-left (data-topo-brand-
|
|
1789
|
+
canvas-mark) and the watermark at bottom-left (data-
|
|
1790
|
+
topo-brand-watermark) are intentionally LEFT STATIC —
|
|
1791
|
+
both have pointerEvents:none and exist as ambient
|
|
1792
|
+
decoration with their own breath/recede dynamics
|
|
1793
|
+
(R519/R525/R526/R528). The title-block logo is the
|
|
1794
|
+
ONLY brand surface that's a candidate for hover affordance,
|
|
1795
|
+
since it sits in the chrome-band where the cursor
|
|
1796
|
+
naturally passes during normal use. */}
|
|
1797
|
+
{/* Round 549 / Loop — extends R548 (hover:scale-105) with a
|
|
1798
|
+
subtle hover:rotate-6 rotation. Pairs scale + rotate on
|
|
1799
|
+
the brand mark, same idiom as R547 added to the pill ×
|
|
1800
|
+
close buttons (scale-110 + rotate-12) but at gentler
|
|
1801
|
+
amounts: 105% vs 110% scale and 6° vs 12° rotation —
|
|
1802
|
+
brand marks want restraint vs interactive close buttons.
|
|
1803
|
+
|
|
1804
|
+
The crescent-moon shape (curved cutout via mask) reads
|
|
1805
|
+
visually distinct as it rotates — the asymmetric cutout
|
|
1806
|
+
swings into a fresh angle, telegraphing "this brand mark
|
|
1807
|
+
is alive without being loud". The 6° landing lands the
|
|
1808
|
+
moon's cusp pointing slightly NE rather than straight up,
|
|
1809
|
+
a small but legible reveal of the shape's geometry.
|
|
1810
|
+
|
|
1811
|
+
Tailwind 4 emits BOTH `scale: 1.05` AND `rotate: 6deg`
|
|
1812
|
+
as INDIVIDUAL CSS properties (not a combined transform
|
|
1813
|
+
string — see R547 banked pattern). The className keeps
|
|
1814
|
+
transition-transform so both axes ease at the same 200ms
|
|
1815
|
+
cadence; transform-gpu hint stays so the compositor
|
|
1816
|
+
promotes both axes to GPU layers.
|
|
1817
|
+
|
|
1818
|
+
data-topo-brand-logo-hover-rotate attr surfaces the
|
|
1819
|
+
landing rotation for tests. Pair with R548's
|
|
1820
|
+
data-topo-brand-logo-hover-scale attr — both attrs
|
|
1821
|
+
advertise the dual-axis hover signature. */}
|
|
1822
|
+
{/* Round 553 / Loop — title-block brand logo gains subtle
|
|
1823
|
+
idle opacity breath (~0.92 ↔ 1, 5s ease-in-out cycle).
|
|
1824
|
+
5th anchor in the 呼吸感 breath family, slotting into
|
|
1825
|
+
the ascending cadence ladder between hub idle (4s) and
|
|
1826
|
+
watermark (6s):
|
|
1827
|
+
row hot 3s
|
|
1828
|
+
hub idle 4s
|
|
1829
|
+
brand logo 5s ← this round
|
|
1830
|
+
watermark 6s
|
|
1831
|
+
crescent 7s
|
|
1832
|
+
Composes cleanly with R548 hover:scale-105 + R549
|
|
1833
|
+
hover:rotate-6 — opacity, scale, and rotate are
|
|
1834
|
+
independent CSS properties; the moon keeps breathing
|
|
1835
|
+
as it scales and rotates on hover. Layered effect
|
|
1836
|
+
reads as "this brand mark is alive even before you
|
|
1837
|
+
touch it, and lights up further on hover".
|
|
1838
|
+
Reduced-motion gate: component-side `!reducedMotion`
|
|
1839
|
+
toggles the className (canonical TopoGraph breath
|
|
1840
|
+
pattern); R29 globals.css blanket provides a
|
|
1841
|
+
defense-in-depth fallback (animation-duration →
|
|
1842
|
+
0.001ms under prefers-reduced-motion: reduce).
|
|
1843
|
+
data-topo-brand-logo-breath attr exposes the gate
|
|
1844
|
+
state for tests. */}
|
|
1845
|
+
{/* Round 557 / Loop — brand logo gains 4th hover axis:
|
|
1846
|
+
hover:brightness-110 (filter). Adds a chromatic axis
|
|
1847
|
+
to the brand-mark hover signature alongside R548
|
|
1848
|
+
scale, R549 rotate, R553 idle breath:
|
|
1849
|
+
R548 hover:scale-105 transform-scale
|
|
1850
|
+
R549 hover:rotate-6 transform-rotate
|
|
1851
|
+
R553 idle breath (5s) opacity (animation)
|
|
1852
|
+
R557 hover:brightness-110 filter ← this round
|
|
1853
|
+
All 4 axes ride on INDEPENDENT CSS properties (scale,
|
|
1854
|
+
rotate, opacity, filter) — they compose freely without
|
|
1855
|
+
clobbering each other. The cyan/teal crescent gains a
|
|
1856
|
+
soft +10% brightness boost on hover, layered on top of
|
|
1857
|
+
the existing scale + rotate lift + ongoing idle breath.
|
|
1858
|
+
Why +10% (vs more aggressive 125/150): brand mark wants
|
|
1859
|
+
restraint. The eye reads the brightness shift as "this
|
|
1860
|
+
mark lights up under attention" without crossing into
|
|
1861
|
+
"this mark is now glowing".
|
|
1862
|
+
Implementation: className extends transition-transform
|
|
1863
|
+
→ transition-[transform,filter] so the brightness
|
|
1864
|
+
tweens at the same 200ms ease-out cadence as the scale
|
|
1865
|
+
+ rotate axes — one motion-coherent 3-property hover
|
|
1866
|
+
lift on the className tier (plus the inline color 200ms
|
|
1867
|
+
transition for theme-toggle eases).
|
|
1868
|
+
Brand-mark family axis count: 4 hover-state axes
|
|
1869
|
+
cleanly factor across:
|
|
1870
|
+
geometry (scale + rotate)
|
|
1871
|
+
paint (opacity breath + brightness on hover)
|
|
1872
|
+
Cluster reads as "alive, lifting, and lighting up under
|
|
1873
|
+
attention" — three independent gesture vocabularies on
|
|
1874
|
+
one surface.
|
|
1875
|
+
data-topo-brand-logo-hover-brightness attr surfaces
|
|
1876
|
+
the landing value for tests. */}
|
|
1726
1877
|
<svg
|
|
1727
1878
|
width="40" height="40" viewBox="0 0 32 32" aria-hidden
|
|
1728
|
-
className=
|
|
1879
|
+
className={`shrink-0 transition-[transform,filter] duration-200 ease-out hover:scale-105 hover:rotate-6 hover:brightness-110 transform-gpu${!reducedMotion ? ' anet-topo-brand-logo-breath' : ''}`}
|
|
1729
1880
|
data-topo-brand-logo
|
|
1881
|
+
data-topo-brand-logo-hover-scale="1.05"
|
|
1882
|
+
data-topo-brand-logo-hover-rotate="6deg"
|
|
1883
|
+
data-topo-brand-logo-hover-brightness="1.1"
|
|
1884
|
+
data-topo-brand-logo-breath={!reducedMotion ? 'true' : 'false'}
|
|
1730
1885
|
style={{
|
|
1731
1886
|
color: isLight ? '#0d9488' : '#67e8f9',
|
|
1732
|
-
|
|
1887
|
+
cursor: 'default',
|
|
1888
|
+
// R557 — extend transition list to include filter (and
|
|
1889
|
+
// re-spec transform for cadence parity) so the new
|
|
1890
|
+
// hover:brightness-110 axis eases at 200ms alongside
|
|
1891
|
+
// the existing color 200ms (theme-toggle ease) and the
|
|
1892
|
+
// className-based hover:scale-105 / hover:rotate-6.
|
|
1893
|
+
// Inline transition is a shorthand and overrides the
|
|
1894
|
+
// className's transition-[transform,filter] — listing
|
|
1895
|
+
// all axes here ensures the eased property set covers
|
|
1896
|
+
// color (theme) + transform (scale + rotate) + filter
|
|
1897
|
+
// (brightness) at uniform 200ms ease-out.
|
|
1898
|
+
transition: 'color 200ms ease-out, transform 200ms ease-out, filter 200ms ease-out',
|
|
1733
1899
|
}}
|
|
1734
1900
|
>
|
|
1735
1901
|
<mask id="s2a-titleblock-moon-mask">
|
|
@@ -1777,7 +1943,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1777
1943
|
R300 marks the milestone of 25 rounds (R275-R300) of
|
|
1778
1944
|
continuous TopoGraph polish + codex's Vincent 5215/
|
|
1779
1945
|
5222 logo asset+integration work. */}
|
|
1780
|
-
|
|
1946
|
+
{/* Round 555 / Loop — kicker "Network Topology" gains group-
|
|
1947
|
+
hover affordance via the R554 wrapper's `group` flag,
|
|
1948
|
+
closing the title-block cluster's hover coverage at 3
|
|
1949
|
+
surfaces (brand logo + H2 + kicker).
|
|
1950
|
+
Picks up the small-label SPREAD direction (R554 banked
|
|
1951
|
+
"small labels SPREAD on hover / large headlines TIGHTEN"
|
|
1952
|
+
— kicker is xs uppercase, definitely a small label) plus
|
|
1953
|
+
a color brighten (text-gray-500 #6b7280 → text-gray-400
|
|
1954
|
+
#9ca3af).
|
|
1955
|
+
Spread: tracking-widest (0.1em rest) → 0.13em hover —
|
|
1956
|
+
+30% kerning bump. At text-xs (12px) the per-gap shift
|
|
1957
|
+
is 1.2px → 1.56px (+0.36px/gap), legible without
|
|
1958
|
+
overshooting the rest's tracking-widest editorial base.
|
|
1959
|
+
Color: text-gray-500 → text-gray-400 — one tier lighter,
|
|
1960
|
+
same idiom as R296 (kicker rest tone-up from gray-600 to
|
|
1961
|
+
gray-500), now extended at the hover-state tier.
|
|
1962
|
+
transition-[letter-spacing,color] duration-200 ease-out
|
|
1963
|
+
matches the 200ms cadence of R554 H2 ls + the rest of
|
|
1964
|
+
the hover-ls family (R344/R345/R347/R351/R420/R427/R431/
|
|
1965
|
+
R432/R434/R527/R539).
|
|
1966
|
+
Title-block cluster signature post-R555 (3 surfaces):
|
|
1967
|
+
brand logo loud scale + rotate + breath
|
|
1968
|
+
(R548/R549/R553)
|
|
1969
|
+
H2 subtle tracking-tighter
|
|
1970
|
+
(R554, editorial-tighten)
|
|
1971
|
+
kicker subtle tracking-spread + color lift
|
|
1972
|
+
(R555, data-spread) ← this round
|
|
1973
|
+
Two of the three surfaces are typographic; the brand
|
|
1974
|
+
logo carries the geometric+chromatic motion. Cluster
|
|
1975
|
+
reads as ONE coherent hover unit through three
|
|
1976
|
+
independent gesture vocabularies.
|
|
1977
|
+
data-topo-section-kicker-hover-tracking + -hover-color
|
|
1978
|
+
attrs expose the landing values for tests. */}
|
|
1979
|
+
<div className="text-xs uppercase text-gray-500 group-hover:text-gray-400 tracking-widest group-hover:tracking-[0.13em] transition-[letter-spacing,color] duration-200 ease-out leading-tight font-medium" data-topo-section-kicker data-topo-section-kicker-hover-tracking="0.13em" data-topo-section-kicker-hover-color="text-gray-400">Network Topology</div>
|
|
1781
1980
|
{/* Round 286 / Loop: title 'Command mesh' adopts tracking-tight
|
|
1782
1981
|
(-0.025em) to complement R285 kicker tracking-widest. Wide
|
|
1783
1982
|
eyebrow + tight headline is the conventional editorial
|
|
@@ -1789,7 +1988,62 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1789
1988
|
cumulatively legible across 12 characters. font-semibold
|
|
1790
1989
|
(600) stays — tracking-tight does the heavy lifting for
|
|
1791
1990
|
the editorial register. */}
|
|
1792
|
-
|
|
1991
|
+
{/* Round 554 / Loop — H2 "Command mesh" gains group-hover-
|
|
1992
|
+
gated tracking-tighter via the wrapper's R554 `group`
|
|
1993
|
+
flag. Pre-R554 the H2 was fully static (R286 tracking-
|
|
1994
|
+
tight only at rest). R554 adds an editorial-tighten
|
|
1995
|
+
gesture: when cursor sweeps anywhere across the title
|
|
1996
|
+
cluster (brand logo OR title text), the headline tightens
|
|
1997
|
+
from -0.025em → -0.05em.
|
|
1998
|
+
Inverts the typical hover-letter-spacing direction:
|
|
1999
|
+
small labels (chip counts, panel titles, edge digits)
|
|
2000
|
+
SPREAD on hover → "data telegraphing"
|
|
2001
|
+
large headlines (h2 Command mesh)
|
|
2002
|
+
TIGHTEN on hover → "editorial emphasis"
|
|
2003
|
+
Both directions are coherent design language — small
|
|
2004
|
+
data wants spacing for legibility; large headlines want
|
|
2005
|
+
tightening for designed-headline polish. Same idiom as
|
|
2006
|
+
the conventional editorial pairing of "wide kicker +
|
|
2007
|
+
tight headline" R285/R286 set up (kicker spreads 0.1em
|
|
2008
|
+
tracking-widest; headline tightens -0.025em tracking-
|
|
2009
|
+
tight) — R554 deepens that pairing's tighten side at
|
|
2010
|
+
the hover-state tier.
|
|
2011
|
+
At text-lg (18px) the shift is -0.45px → -0.9px per
|
|
2012
|
+
gap (~5.4px total tightening across "Command mesh" 12
|
|
2013
|
+
chars). Subtle but legible when the cursor sweeps in.
|
|
2014
|
+
transition-[letter-spacing] duration-200 ease-out
|
|
2015
|
+
matches the 200ms hover-ls cadence used at R344/R345/
|
|
2016
|
+
R347/R351/R420/R427/R431/R432/R434/R527/R539 family
|
|
2017
|
+
anchors.
|
|
2018
|
+
data-topo-section-title-hover-tracking attr surfaces
|
|
2019
|
+
the landing tracking class for tests. */}
|
|
2020
|
+
{/* Round 556 / Loop — H2 "Command mesh" gains a 2nd
|
|
2021
|
+
editorial-emphasis axis: group-hover:font-bold paired
|
|
2022
|
+
with R554's group-hover:tracking-tighter. Both lifts
|
|
2023
|
+
fire on the same R554 wrapper's `group` flag (hover
|
|
2024
|
+
anywhere in the title cluster → BOTH H2 axes intensify
|
|
2025
|
+
simultaneously).
|
|
2026
|
+
H2 hover signature post-R556 (2 typographic axes
|
|
2027
|
+
intensify together):
|
|
2028
|
+
rest font-semibold 600 + tracking-tight -0.025em
|
|
2029
|
+
hover font-bold 700 + tracking-tighter -0.05em
|
|
2030
|
+
Editorial emphasis through TWO axes — heavier AND
|
|
2031
|
+
tighter on hover. Mirrors the conventional "designed-
|
|
2032
|
+
headline emphasis" idiom (heavier + tighter = more
|
|
2033
|
+
authoritative; the eye reads both axes as intensifying
|
|
2034
|
+
the same semantic).
|
|
2035
|
+
Hover-fw family extension (6 anchors now):
|
|
2036
|
+
R416 chip-row count digit (chip group-hover)
|
|
2037
|
+
R420 chrome zoom-level (hover)
|
|
2038
|
+
R425 hub-center digit (hub hover)
|
|
2039
|
+
R520 +N more flows footer (recent panel hover)
|
|
2040
|
+
R521 chrome nodeSize S/M/L (inactive hover)
|
|
2041
|
+
R556 title-block H2 (cluster group-hover) ← this round
|
|
2042
|
+
Transition list extends to include 'font-weight 200ms
|
|
2043
|
+
ease-out' alongside the existing 'letter-spacing'
|
|
2044
|
+
200ms cadence. data-topo-section-title-hover-fw attr
|
|
2045
|
+
surfaces the landing weight for tests. */}
|
|
2046
|
+
<h2 className="text-lg text-white font-semibold group-hover:font-bold leading-tight tracking-tight group-hover:tracking-tighter transition-[letter-spacing,font-weight] duration-200 ease-out" data-topo-section-title data-topo-section-title-hover-tracking="tracking-tighter" data-topo-section-title-hover-fw="700">Command mesh</h2>
|
|
1793
2047
|
</div>
|
|
1794
2048
|
</div>
|
|
1795
2049
|
{/* Round 328 / Loop: chip-row strip wrapper gap 2 → 2.5
|
|
@@ -1959,8 +2213,61 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1959
2213
|
// overlays the release-pop. Matching `transform-gpu`
|
|
1960
2214
|
// promotes the layer so the scale doesn't trigger
|
|
1961
2215
|
// layout/paint thrash. Sibling change on Grid below.
|
|
1962
|
-
|
|
1963
|
-
|
|
2216
|
+
/* Round 522 / Loop — extends R521's typography-preview
|
|
2217
|
+
idiom (chrome nodeSize hover:font-medium 400 → 500) to
|
|
2218
|
+
the Ring/Grid layout toggle's inactive variant. Pre-
|
|
2219
|
+
R522 the inactive Ring/Grid had `hover:text-cyan-300
|
|
2220
|
+
hover:bg-cyan-500/5` (R270 color + bg previews of the
|
|
2221
|
+
active state) but no typography preview — the active
|
|
2222
|
+
variant uses `font-medium` (fw 500), inactive sat at
|
|
2223
|
+
default fw 400 even on hover. R522 adds `hover:font-
|
|
2224
|
+
medium` to the inactive Ring/Grid so the rest-vs-hover
|
|
2225
|
+
transition previews the typography state the click
|
|
2226
|
+
would commit to, matching the click commits's locked
|
|
2227
|
+
weight.
|
|
2228
|
+
font-weight 150ms appended to the transition list
|
|
2229
|
+
matching the existing 150ms color/bg cadence at this
|
|
2230
|
+
button — when hover lifts color (gray-400 → cyan-300)
|
|
2231
|
+
+ bg (transparent → cyan-500/5) + fw (400 → 500), all
|
|
2232
|
+
3 ease at the same 150ms beat.
|
|
2233
|
+
Hover-fw family extension (6 anchors): R416/R420/R425/
|
|
2234
|
+
R520/R521/R522. R522 closes the chrome toggle group
|
|
2235
|
+
typography preview at the last remaining toggle —
|
|
2236
|
+
layout (Ring/Grid). After R521 (nodeSize) + R522
|
|
2237
|
+
(layout), every multi-state chrome toggle has hover-
|
|
2238
|
+
fw preview on its inactive variant.
|
|
2239
|
+
data-topo-chrome-layout-hover-preview-fw="500" attr
|
|
2240
|
+
on inactive button exposes the polish for tests. */
|
|
2241
|
+
/* Round 552 / Loop — chrome active-variant gains hover:
|
|
2242
|
+
text-cyan-200, lifting text one brightness tier alongside
|
|
2243
|
+
the existing hover:bg-cyan-500/20 bg deepen. Coordinated
|
|
2244
|
+
4-anchor edit (replace_all touched 4 sibling lines sharing
|
|
2245
|
+
the identical active-variant className substring):
|
|
2246
|
+
Ring (this line) layout === 'ring'
|
|
2247
|
+
Grid (line ~2097) layout === 'grid'
|
|
2248
|
+
S/M/L (line ~12635) nodeScale === v
|
|
2249
|
+
Fscrn (line ~13030) isFullscreen
|
|
2250
|
+
Pre-R552 the active variant's hover state only deepened bg
|
|
2251
|
+
(cyan-500/15 → /20); text stayed planted at cyan-300. The
|
|
2252
|
+
inactive variant already lifts text on hover (text-gray-400
|
|
2253
|
+
→ text-cyan-300). R552 brings parity: active variant lifts
|
|
2254
|
+
text one tier brighter (cyan-300 → cyan-200) on hover,
|
|
2255
|
+
mirroring the inactive variant's "text brightens on hover"
|
|
2256
|
+
gesture at the next brightness step.
|
|
2257
|
+
Brightness ladder snapshot (cyan):
|
|
2258
|
+
cyan-400 brand chrome focus ring
|
|
2259
|
+
cyan-300 active-variant rest ←─┐
|
|
2260
|
+
│ +1 tier on hover
|
|
2261
|
+
cyan-200 active-variant hover ←─┘ (this round)
|
|
2262
|
+
Pure paint axis (text color); bbox/geometry unchanged.
|
|
2263
|
+
transition-colors already in the class list so the cyan-
|
|
2264
|
+
300 → cyan-200 swap eases at the existing 200ms cadence.
|
|
2265
|
+
hover-color brighten family extension at the chrome strip
|
|
2266
|
+
active-variant scope; sibling to the inactive variant's
|
|
2267
|
+
R163/R178/R179/R270 hover:text-cyan-300 idiom. */
|
|
2268
|
+
className={`px-2.5 py-1 focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset hover:tracking-wide active:scale-95 transform-gpu ${layout === 'ring' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'} ${chromePopping === 'layout-ring' ? ' anet-chrome-pop' : ''}`}
|
|
2269
|
+
data-topo-chrome-layout-hover-preview-fw={layout === 'ring' ? null : '500'}
|
|
2270
|
+
style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out, transform 150ms ease-out, font-weight 150ms ease' }}
|
|
1964
2271
|
>
|
|
1965
2272
|
Ring
|
|
1966
2273
|
</button>
|
|
@@ -1982,7 +2289,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1982
2289
|
// R492 sibling — Grid button picks up active:scale-95
|
|
1983
2290
|
// press feedback + transform in transition list. Same
|
|
1984
2291
|
// vocabulary as Ring above.
|
|
1985
|
-
|
|
2292
|
+
/* Round 522 sibling — Grid button mirrors Ring above:
|
|
2293
|
+
inactive variant gains `hover:font-medium` typography
|
|
2294
|
+
preview + font-weight 150ms in inline transition list.
|
|
2295
|
+
Same idiom, same family (R522 chrome layout). */
|
|
2296
|
+
className={`px-2.5 py-1 border-l focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset hover:tracking-wide active:scale-95 transform-gpu ${layout === 'grid' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'} ${chromePopping === 'layout-grid' ? ' anet-chrome-pop' : ''}`}
|
|
2297
|
+
data-topo-chrome-layout-hover-preview-fw={layout === 'grid' ? null : '500'}
|
|
1986
2298
|
/* Round 268 / Loop: Grid button's left border (the
|
|
1987
2299
|
internal divider between Ring and Grid) picks up
|
|
1988
2300
|
pal.containerBorder, matching the wrapper change at
|
|
@@ -1995,7 +2307,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1995
2307
|
keeps R268's theme-toggle smoothness intact.
|
|
1996
2308
|
R492 adds `transform 150ms ease-out` so active:scale-95
|
|
1997
2309
|
eases smoothly. */
|
|
1998
|
-
style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out, transform 150ms ease-out' }}
|
|
2310
|
+
style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out, transform 150ms ease-out, font-weight 150ms ease' }}
|
|
1999
2311
|
>
|
|
2000
2312
|
Grid
|
|
2001
2313
|
</button>
|
|
@@ -2028,6 +2340,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2028
2340
|
// lists once for both chips to share.
|
|
2029
2341
|
const workingAliases = onlineNodes.filter(s => s.status === 'working').map(s => s.alias);
|
|
2030
2342
|
const onlineAliases = onlineNodes.map(s => s.alias);
|
|
2343
|
+
/* Round 565 (50-round milestone) / Loop — extend the
|
|
2344
|
+
inspection-overrides-encoding family to a 7th anchor at
|
|
2345
|
+
the chip-row chip scope. Computes the hovered alias's
|
|
2346
|
+
status tier (same idiom as R562/R563) so each chip's
|
|
2347
|
+
className can include the "lit" bg/border treatment when
|
|
2348
|
+
operator hovers a node matching its tier.
|
|
2349
|
+
Family progression — 7 anchors complete:
|
|
2350
|
+
R484 recent-row timestamp alias hover
|
|
2351
|
+
R485 edge particle opacity alias hover
|
|
2352
|
+
R486 minimap dot opacity alias hover
|
|
2353
|
+
R561 group-label + ants-gate member-alias hover
|
|
2354
|
+
R562 legend-swatch r + glow member-alias status match
|
|
2355
|
+
R563 pressure-seg brightness member-alias status match
|
|
2356
|
+
R565 chip-row chip bg/border member-alias status match ← this round
|
|
2357
|
+
Status-tier-match feedback now SATURATES across panel
|
|
2358
|
+
chrome at 4 surfaces simultaneously:
|
|
2359
|
+
minimap dot (R486)
|
|
2360
|
+
legend swatch (R562)
|
|
2361
|
+
pressure-seg (R563)
|
|
2362
|
+
chip-row chip (R565) ← this round
|
|
2363
|
+
When operator hovers a 'working' node alias, ALL FOUR
|
|
2364
|
+
surfaces light up in green; 'idle' → all four in teal;
|
|
2365
|
+
'offline' → all four in slate. The eye gets 4-way
|
|
2366
|
+
confirmation of "your inspected node is in this tier"
|
|
2367
|
+
across every persistent status-reference surface. */
|
|
2368
|
+
const hoveredAliasTierKey: 'working' | 'idle' | 'offline' | null = (() => {
|
|
2369
|
+
if (!hoveredAlias) return null;
|
|
2370
|
+
const s = onlineNodes.find(n => n.alias === hoveredAlias)
|
|
2371
|
+
?? offlineNodes.find(n => n.alias === hoveredAlias);
|
|
2372
|
+
if (!s) return null;
|
|
2373
|
+
if (s.status === 'working') return 'working';
|
|
2374
|
+
return offlineNodes.includes(s) ? 'offline' : 'idle';
|
|
2375
|
+
})();
|
|
2376
|
+
const isWorkingChipLit = hoveredAliasTierKey === 'working';
|
|
2377
|
+
const isOnlineChipLit = hoveredAliasTierKey === 'idle';
|
|
2031
2378
|
const truncate = (list: string[]) => {
|
|
2032
2379
|
const head = list.slice(0, 8).join(', ');
|
|
2033
2380
|
const tail = list.length > 8 ? ` + ${list.length - 8} more` : '';
|
|
@@ -2120,13 +2467,19 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2120
2467
|
// R398 hover-lift conditional. Composes with hover:-
|
|
2121
2468
|
// translate-y-px for the same lift-and-compress
|
|
2122
2469
|
// tactile signature R493 brought to reset/fullscreen.
|
|
2470
|
+
/* R565: when isWorkingChipLit (operator hovers a working
|
|
2471
|
+
node), chip stays in its "lit" bg-green-500/15 +
|
|
2472
|
+
border-green-500/30 state at rest. Same visual as
|
|
2473
|
+
hover; member-alias-matching pins the lift without
|
|
2474
|
+
requiring cursor on the chip. */
|
|
2123
2475
|
className={`group tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
|
|
2124
2476
|
workingCount > 0
|
|
2125
|
-
? 'bg-green-500/
|
|
2477
|
+
? `${isWorkingChipLit ? 'bg-green-500/15 border-green-500/30' : 'bg-green-500/10 border-green-500/20'} text-green-300 hover:bg-green-500/15 hover:border-green-500/30 hover:-translate-y-px active:scale-95`
|
|
2126
2478
|
: 'bg-green-500/10 text-green-300 border-green-500/20'
|
|
2127
2479
|
}`}
|
|
2128
2480
|
data-chip-hover-lift={workingCount > 0 ? 'true' : 'false'}
|
|
2129
2481
|
data-chip-group-hover-brighten="true"
|
|
2482
|
+
data-working-chip-member-alias-lit={isWorkingChipLit ? 'true' : 'false'}
|
|
2130
2483
|
data-working-chip
|
|
2131
2484
|
data-working-chip-aliases={workingAliases.join(',')}
|
|
2132
2485
|
data-pin-mirror={pinnedStatus === 'working' ? 'true' : 'false'}
|
|
@@ -2206,7 +2559,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2206
2559
|
at the chip-count scope. Sibling edits on the
|
|
2207
2560
|
online + active-links chip digits below. data-
|
|
2208
2561
|
working-chip-digit attr exposes the digit span. */}
|
|
2209
|
-
|
|
2562
|
+
{/* Round 539 / Loop — chip-row digit gains group-hover:
|
|
2563
|
+
tracking-wide alongside the existing R362 group-
|
|
2564
|
+
hover:font-bold. Pre-R539 the chip digit lifted
|
|
2565
|
+
only on the font-weight axis (600 → 700 on chip
|
|
2566
|
+
hover); R539 adds the kerning axis (tracking
|
|
2567
|
+
normal → tracking-wide ≈ 0.025em ≈ 0.3px on a 12px
|
|
2568
|
+
digit) so hover lifts BOTH typography axes
|
|
2569
|
+
together — same idiom R420/R517 establish at the
|
|
2570
|
+
chrome zoom-level (letter-spacing + fontWeight
|
|
2571
|
+
hover delta) and R531/R530 mirror at the panel
|
|
2572
|
+
label scope. transition-[font-weight] extends to
|
|
2573
|
+
transition-[font-weight,letter-spacing] for the
|
|
2574
|
+
smooth dual-axis tween.
|
|
2575
|
+
Sibling treatment across the 3 chip-row digits
|
|
2576
|
+
(working / online / active-links) — single concept
|
|
2577
|
+
replicated at 3 surfaces by replace_all.
|
|
2578
|
+
Hover-letter-spacing family extension (12 anchors
|
|
2579
|
+
now): R344/R345/R347/R420/R427/R431/R432/R433/
|
|
2580
|
+
R434/R517/R518 + R539 (this round). */}
|
|
2581
|
+
<span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-working-chip-digit>{workingCount}</span><span className="opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-working-chip-unit> working</span>
|
|
2210
2582
|
</span>
|
|
2211
2583
|
<span
|
|
2212
2584
|
// Round 201 / Loop: online chip — mirror of the working
|
|
@@ -2225,13 +2597,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2225
2597
|
// R494 sibling — online chip joins the active:scale-95 press
|
|
2226
2598
|
// family (gated on onlineNodes.length > 0 clickable branch,
|
|
2227
2599
|
// same conditional pattern as the working chip above).
|
|
2600
|
+
/* R565: same lit-on-member-alias-match pattern as
|
|
2601
|
+
working chip — online chip routes hover to 'idle'
|
|
2602
|
+
tier (see onMouseEnter below), so its member-alias
|
|
2603
|
+
gate is `hoveredAliasTierKey === 'idle'`. */
|
|
2228
2604
|
className={`group tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
|
|
2229
2605
|
onlineNodes.length > 0
|
|
2230
|
-
? 'bg-cyan-500/
|
|
2606
|
+
? `${isOnlineChipLit ? 'bg-cyan-500/15 border-cyan-500/30' : 'bg-cyan-500/10 border-cyan-500/20'} text-cyan-300 hover:bg-cyan-500/15 hover:border-cyan-500/30 hover:-translate-y-px active:scale-95`
|
|
2231
2607
|
: 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'
|
|
2232
2608
|
}`}
|
|
2233
2609
|
data-chip-hover-lift={onlineNodes.length > 0 ? 'true' : 'false'}
|
|
2234
2610
|
data-chip-group-hover-brighten="true"
|
|
2611
|
+
data-online-chip-member-alias-lit={isOnlineChipLit ? 'true' : 'false'}
|
|
2235
2612
|
data-online-chip
|
|
2236
2613
|
data-online-chip-aliases={onlineAliases.join(',')}
|
|
2237
2614
|
data-pin-mirror={pinnedStatus === 'idle' ? 'true' : 'false'}
|
|
@@ -2277,7 +2654,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2277
2654
|
>
|
|
2278
2655
|
{/* R337 sibling — online chip unit demotion. */}
|
|
2279
2656
|
{/* R362 sibling — online-chip digit gains font-semibold. */}
|
|
2280
|
-
|
|
2657
|
+
{/* R539 sibling — online chip digit. Same idiom as
|
|
2658
|
+
working chip above (group-hover:tracking-wide). */}
|
|
2659
|
+
<span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-online-chip-unit> online</span>
|
|
2281
2660
|
</span>
|
|
2282
2661
|
</>
|
|
2283
2662
|
);
|
|
@@ -2292,6 +2671,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2292
2671
|
const o = offlineNodes.length;
|
|
2293
2672
|
const total = w + i + o;
|
|
2294
2673
|
if (total === 0) return null;
|
|
2674
|
+
/* Round 563 / Loop — inspection-overrides-encoding family
|
|
2675
|
+
6th anchor at the pressure-bar segment scope. When
|
|
2676
|
+
operator hovers a NODE ALIAS on the canvas, the segment
|
|
2677
|
+
matching that node's status tier lights up with its
|
|
2678
|
+
R210 brightness + R542 drop-shadow treatment — mirror
|
|
2679
|
+
of R562 legend-swatch pattern at the pressure-bar scope.
|
|
2680
|
+
Family progression (6 anchors):
|
|
2681
|
+
R484 recent-row timestamp alias hover
|
|
2682
|
+
R485 edge particle opacity alias hover
|
|
2683
|
+
R486 minimap dot opacity alias hover
|
|
2684
|
+
R561 group-label + ants-gate member-alias hover
|
|
2685
|
+
R562 legend-swatch r + glow member-alias status match
|
|
2686
|
+
R563 pressure-seg brightness member-alias status match ← this round
|
|
2687
|
+
Same status-tier-match computation as R562 (banked
|
|
2688
|
+
idiom): find the hovered alias's session, map to
|
|
2689
|
+
working/idle/offline tier, then per-segment check
|
|
2690
|
+
`hoveredAliasRowKey === key`. Computed once at IIFE
|
|
2691
|
+
scope, used inside the seg() closure. */
|
|
2692
|
+
const hoveredSession = hoveredAlias
|
|
2693
|
+
? (onlineNodes.find(s => s.alias === hoveredAlias) ?? offlineNodes.find(s => s.alias === hoveredAlias))
|
|
2694
|
+
: null;
|
|
2695
|
+
const hoveredAliasTierKey: 'working' | 'idle' | 'offline' | null = !hoveredSession ? null
|
|
2696
|
+
: hoveredSession.status === 'working' ? 'working'
|
|
2697
|
+
: offlineNodes.includes(hoveredSession) ? 'offline'
|
|
2698
|
+
: 'idle';
|
|
2295
2699
|
// Round 60 / Loop: each segment toggles a sticky filter via
|
|
2296
2700
|
// `pinnedStatus`. Click the working segment → all non-working
|
|
2297
2701
|
// nodes dim; click again → release. Segments share width with
|
|
@@ -2304,6 +2708,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2304
2708
|
const seg = (n: number, color: string, key: 'working' | 'idle' | 'offline', label: string) => {
|
|
2305
2709
|
if (n === 0) return null;
|
|
2306
2710
|
const isPinned = pinnedStatus === key;
|
|
2711
|
+
// R563: member-alias-matching flag — when operator hovers
|
|
2712
|
+
// a node alias whose status matches this segment's tier.
|
|
2713
|
+
const isMemberAliasMatching = hoveredAliasTierKey === key;
|
|
2714
|
+
const isSegLit = hoveredStatus === key || isMemberAliasMatching;
|
|
2307
2715
|
// R102: list the aliases that match this segment's bucket
|
|
2308
2716
|
// so the title answers WHICH n, not just HOW MANY. Closes
|
|
2309
2717
|
// the last "info-density gap" in the chip-row surfaces
|
|
@@ -2323,6 +2731,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2323
2731
|
data-pressure-seg={key}
|
|
2324
2732
|
data-pressure-seg-aliases={matchAliases.join(',')}
|
|
2325
2733
|
data-pressure-seg-hovered={hoveredStatus === key ? 'true' : 'false'}
|
|
2734
|
+
data-pressure-seg-member-alias-matching={isMemberAliasMatching ? 'true' : 'false'}
|
|
2735
|
+
data-pressure-seg-lit={isSegLit ? 'true' : 'false'}
|
|
2326
2736
|
role="button"
|
|
2327
2737
|
tabIndex={0}
|
|
2328
2738
|
aria-pressed={isPinned}
|
|
@@ -2366,7 +2776,47 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2366
2776
|
height: '100%',
|
|
2367
2777
|
cursor: 'pointer',
|
|
2368
2778
|
boxShadow: isPinned ? `inset 0 0 0 1px ${color}, inset 0 0 0 2px rgba(255,255,255,0.6)` : undefined,
|
|
2369
|
-
|
|
2779
|
+
/* Round 542 / Loop — pressure-bar segments gain
|
|
2780
|
+
drop-shadow tier-color glow on hover, stacked
|
|
2781
|
+
on R210 brightness(1.2). Sibling to R537 legend
|
|
2782
|
+
swatch + R541 vendor chip glow at the chip-row
|
|
2783
|
+
scope — three same-pattern surfaces (legend
|
|
2784
|
+
swatch / vendor chip / pressure segment) all
|
|
2785
|
+
radiate their identity color on hover.
|
|
2786
|
+
3rd anchor in the chip-row tier-color paint
|
|
2787
|
+
glow sub-family:
|
|
2788
|
+
R537 legend swatch row.fill (status hex)
|
|
2789
|
+
R541 vendor chip v.color (hsl via color-mix)
|
|
2790
|
+
R542 pressure seg color (status hex) ← this round
|
|
2791
|
+
Stacked filter syntax (brightness + drop-shadow
|
|
2792
|
+
in same filter declaration): `brightness(1.2)
|
|
2793
|
+
drop-shadow(...)`. CSS filter supports multiple
|
|
2794
|
+
functions; they apply left-to-right. Brightness
|
|
2795
|
+
boosts the segment's own color, drop-shadow
|
|
2796
|
+
paints the outer halo. Together: hovered seg
|
|
2797
|
+
looks "lit up" with both inner glow + outer
|
|
2798
|
+
halo in its tier color.
|
|
2799
|
+
Hue: `${color}99` hex+alpha (60%) — color here
|
|
2800
|
+
is a 6-char hex (e.g., '#22c55e' for working
|
|
2801
|
+
cyber, '#0d9488' for idle light), not hsl, so
|
|
2802
|
+
hex+alpha concat works (unlike R541 vendor
|
|
2803
|
+
which needed color-mix for hsl). Banked
|
|
2804
|
+
pattern: hex sources use hex+alpha; hsl/color()
|
|
2805
|
+
sources use color-mix.
|
|
2806
|
+
2px blur (vs R537's 3px) since pressure-seg is
|
|
2807
|
+
small (h-2 = 8px tall, variable width) — a
|
|
2808
|
+
smaller blur keeps the glow tight to the
|
|
2809
|
+
segment without bleeding into neighbors.
|
|
2810
|
+
filter is paint-only; bbox unchanged; R51
|
|
2811
|
+
overlap-test invariants hold. Transition list
|
|
2812
|
+
already includes `filter` (post-R524). */
|
|
2813
|
+
/* R563: filter lifts on EITHER direct hover OR member-
|
|
2814
|
+
alias-matching (operator inspecting a node whose
|
|
2815
|
+
status matches this segment's tier). Same R210
|
|
2816
|
+
brightness + R542 drop-shadow value across both
|
|
2817
|
+
gate sources — uniform visual response, distinct
|
|
2818
|
+
semantic gates. */
|
|
2819
|
+
filter: isSegLit ? `brightness(1.2) drop-shadow(0 0 2px ${color}99)` : undefined,
|
|
2370
2820
|
transition: 'width 220ms ease-out, box-shadow 150ms ease-out, filter 150ms ease-out',
|
|
2371
2821
|
}}
|
|
2372
2822
|
onClick={(e) => {
|
|
@@ -2511,6 +2961,33 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2511
2961
|
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2512
2962
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2513
2963
|
onClick={() => setPinnedStatus(null)}
|
|
2964
|
+
/* Round 543 / Loop — status filter pill gains always-on
|
|
2965
|
+
tier-color drop-shadow when rendered. Pre-R543 the
|
|
2966
|
+
pill carried bg-tint + tier-color text + border but
|
|
2967
|
+
no outer paint extent — it sat as a flat tinted chip
|
|
2968
|
+
in the chip row. R543 adds an outer glow at the
|
|
2969
|
+
pill's text color so the pill radiates a soft tier-
|
|
2970
|
+
colored halo signaling "this filter is active." Pin
|
|
2971
|
+
pill only renders when pinnedStatus is set (the JSX
|
|
2972
|
+
gate above), so the drop-shadow appearing reinforces
|
|
2973
|
+
the visual "active pin" state.
|
|
2974
|
+
Sibling pattern: R477 legend pin-ring also paints a
|
|
2975
|
+
pin-gated tier-color drop-shadow. Pin pill follows
|
|
2976
|
+
the same "pin-gated paint glow" semantics but at the
|
|
2977
|
+
chip-row scope vs the panel-row scope. The chip-row
|
|
2978
|
+
tier-color glow trio (R537/R541/R542 hover-gated)
|
|
2979
|
+
plus R543 (pin-gated, this round) closes the chip-
|
|
2980
|
+
row paint-glow family across BOTH gate types
|
|
2981
|
+
(hover for transient affordance, pin for sticky
|
|
2982
|
+
active-state visual).
|
|
2983
|
+
Hue: explicit tier color (extracted from the
|
|
2984
|
+
existing `color` ternary). 0x99 alpha (~60%) +
|
|
2985
|
+
3px blur. Stays inside the same color hierarchy
|
|
2986
|
+
as the pill's own text/border (currentColor).
|
|
2987
|
+
R543 status pill scope only — R543's pattern can
|
|
2988
|
+
future-extend to group/vendor/edge filter pills
|
|
2989
|
+
(3 more variants at lines 2683/2755/2824). Out of
|
|
2990
|
+
scope to keep R543 single-pill. */
|
|
2514
2991
|
style={{
|
|
2515
2992
|
background: pinnedStatus === 'working' ? (isLight ? '#05966914' : '#22c55e1f')
|
|
2516
2993
|
: pinnedStatus === 'idle' ? (isLight ? '#0d948814' : '#2dd4bf1f')
|
|
@@ -2520,6 +2997,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2520
2997
|
: (isLight ? '#475569' : '#9ca3af'),
|
|
2521
2998
|
borderColor: 'currentColor',
|
|
2522
2999
|
cursor: 'pointer',
|
|
3000
|
+
filter: `drop-shadow(0 0 3px ${
|
|
3001
|
+
pinnedStatus === 'working' ? (isLight ? '#047857' : '#86efac')
|
|
3002
|
+
: pinnedStatus === 'idle' ? (isLight ? '#0f766e' : '#5eead4')
|
|
3003
|
+
: (isLight ? '#475569' : '#9ca3af')
|
|
3004
|
+
}99)`,
|
|
2523
3005
|
}}
|
|
2524
3006
|
>
|
|
2525
3007
|
{/* Round 412 / Loop: filter pin pill VALUE picks up the
|
|
@@ -2533,7 +3015,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2533
3015
|
to R333/R335-R341/R362/R369/R389/R410. data-filter-
|
|
2534
3016
|
value attr surfaces the value span for tests.
|
|
2535
3017
|
4-pill replace family — status / group / vendor / edge. */}
|
|
2536
|
-
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedStatus}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
3018
|
+
<span><span className="hidden sm:inline opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedStatus}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2537
3019
|
<button
|
|
2538
3020
|
type="button"
|
|
2539
3021
|
aria-label={`Clear ${pinnedStatus} filter`}
|
|
@@ -2552,7 +3034,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2552
3034
|
inline-block is default for <button> so no display
|
|
2553
3035
|
tweak needed. replace_all covers all 4 filter pin
|
|
2554
3036
|
pills (status / group / vendor / edge) at once. */
|
|
2555
|
-
|
|
3037
|
+
/* Round 547 / Loop — extends pill × close-button hover
|
|
3038
|
+
gesture from scale-110 (R356) + opacity-70 to ALSO
|
|
3039
|
+
include rotate-12 on hover. Pre-R547 the × dimmed
|
|
3040
|
+
and grew on hover; R547 adds a 12° twist so the
|
|
3041
|
+
close action telegraphs "discarding/spinning away"
|
|
3042
|
+
with a small delight gesture. Composes with
|
|
3043
|
+
transition-transform (existing) — Tailwind's
|
|
3044
|
+
hover:rotate-12 + hover:scale-110 stack into one
|
|
3045
|
+
transform under the same 200ms ease-out tween.
|
|
3046
|
+
Applied to all 4 pill × buttons (status / group /
|
|
3047
|
+
vendor / edge) via replace_all since the className
|
|
3048
|
+
is identical. Closes the pill × hover gesture
|
|
3049
|
+
vocabulary at 3 axes:
|
|
3050
|
+
hover:opacity-70 paint dim
|
|
3051
|
+
hover:scale-110 geometry grow (R356)
|
|
3052
|
+
hover:rotate-12 geometry twist (R547, this round)
|
|
3053
|
+
Hover-gesture parity across the 4-pill family. */
|
|
3054
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
|
|
2556
3055
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2557
3056
|
>×</button>
|
|
2558
3057
|
</span>
|
|
@@ -2581,15 +3080,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2581
3080
|
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2582
3081
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2583
3082
|
onClick={() => setPinnedGroup(null)}
|
|
3083
|
+
/* Round 544 / Loop — extends R543 pin-active filter-pill
|
|
3084
|
+
drop-shadow pattern to the GROUP pill (2nd of 4 pill
|
|
3085
|
+
variants). Pre-R544 the group pill carried bg-tint +
|
|
3086
|
+
pal.legendAccent text/border but no outer paint glow.
|
|
3087
|
+
R544 adds the matching cyan-accent drop-shadow so the
|
|
3088
|
+
group pin pill radiates the same paint glow as R543
|
|
3089
|
+
status pill — pin-active visual signal at chip-row
|
|
3090
|
+
scope.
|
|
3091
|
+
Hue: pal.legendAccent (cyber #67e8f9 cyan-300 /
|
|
3092
|
+
light #0d9488 teal-600). Uses color-mix() syntax
|
|
3093
|
+
because pal.legendAccent may resolve to hex; same
|
|
3094
|
+
syntax works for both hex and hsl sources (banked
|
|
3095
|
+
R541 lesson). 60% alpha + 3px blur — same intensity
|
|
3096
|
+
as R543 status pill so the pin-active visual signal
|
|
3097
|
+
reads with matching brightness across pill variants.
|
|
3098
|
+
Pin-active tier-color paint glow sub-family
|
|
3099
|
+
(CLOSED progressively):
|
|
3100
|
+
R477 legend pin-ring (panel-row, row.fill)
|
|
3101
|
+
R543 status pill (chip-row, tier-color)
|
|
3102
|
+
R544 group pill (chip-row, legendAccent)
|
|
3103
|
+
← this round
|
|
3104
|
+
Out of scope: vendor pill (line ~2755) + edge pill
|
|
3105
|
+
(line ~2824) — can future-extend in subsequent
|
|
3106
|
+
rounds (R545/R546). Both use the same R543 idiom:
|
|
3107
|
+
always-on drop-shadow when rendered, color from the
|
|
3108
|
+
pill's existing text color. */
|
|
2584
3109
|
style={{
|
|
2585
3110
|
background: isLight ? '#67e8f914' : '#67e8f91f',
|
|
2586
3111
|
color: pal.legendAccent,
|
|
2587
3112
|
borderColor: 'currentColor',
|
|
2588
3113
|
cursor: 'pointer',
|
|
3114
|
+
filter: `drop-shadow(0 0 3px color-mix(in srgb, ${pal.legendAccent} 60%, transparent))`,
|
|
2589
3115
|
}}
|
|
2590
3116
|
>
|
|
2591
3117
|
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2592
|
-
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedGroup}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
3118
|
+
<span><span className="hidden sm:inline opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedGroup}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2593
3119
|
<button
|
|
2594
3120
|
type="button"
|
|
2595
3121
|
aria-label={`Clear group filter ${pinnedGroup}`}
|
|
@@ -2608,7 +3134,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2608
3134
|
inline-block is default for <button> so no display
|
|
2609
3135
|
tweak needed. replace_all covers all 4 filter pin
|
|
2610
3136
|
pills (status / group / vendor / edge) at once. */
|
|
2611
|
-
|
|
3137
|
+
/* Round 547 / Loop — extends pill × close-button hover
|
|
3138
|
+
gesture from scale-110 (R356) + opacity-70 to ALSO
|
|
3139
|
+
include rotate-12 on hover. Pre-R547 the × dimmed
|
|
3140
|
+
and grew on hover; R547 adds a 12° twist so the
|
|
3141
|
+
close action telegraphs "discarding/spinning away"
|
|
3142
|
+
with a small delight gesture. Composes with
|
|
3143
|
+
transition-transform (existing) — Tailwind's
|
|
3144
|
+
hover:rotate-12 + hover:scale-110 stack into one
|
|
3145
|
+
transform under the same 200ms ease-out tween.
|
|
3146
|
+
Applied to all 4 pill × buttons (status / group /
|
|
3147
|
+
vendor / edge) via replace_all since the className
|
|
3148
|
+
is identical. Closes the pill × hover gesture
|
|
3149
|
+
vocabulary at 3 axes:
|
|
3150
|
+
hover:opacity-70 paint dim
|
|
3151
|
+
hover:scale-110 geometry grow (R356)
|
|
3152
|
+
hover:rotate-12 geometry twist (R547, this round)
|
|
3153
|
+
Hover-gesture parity across the 4-pill family. */
|
|
3154
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
|
|
2612
3155
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2613
3156
|
>×</button>
|
|
2614
3157
|
</span>
|
|
@@ -2653,15 +3196,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2653
3196
|
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2654
3197
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
|
|
2655
3198
|
onClick={() => setPinnedVendor(null)}
|
|
3199
|
+
/* Round 545 / Loop — extends pin-active filter-pill drop-
|
|
3200
|
+
shadow pattern to VENDOR pill (3rd of 4 pill variants
|
|
3201
|
+
after R543 status + R544 group). vendorColor is HSL
|
|
3202
|
+
format (banked R541 lesson — vendorDist.color sources
|
|
3203
|
+
from mono.text in vendorIdentity.ts, which is `hsl(...)`),
|
|
3204
|
+
so the filter uses color-mix() syntax — same as R544.
|
|
3205
|
+
60% alpha + 3px blur, matching R543/R544 intensity for
|
|
3206
|
+
consistent pin-active visual signal across all pill
|
|
3207
|
+
variants.
|
|
3208
|
+
Pin-active tier-color paint glow sub-family (progressive
|
|
3209
|
+
extension, 1 pill variant remaining):
|
|
3210
|
+
R477 legend pin-ring (panel-row, row.fill, hex+alpha)
|
|
3211
|
+
R543 status pill (chip-row, tier-color, hex+alpha)
|
|
3212
|
+
R544 group pill (chip-row, legendAccent, color-mix)
|
|
3213
|
+
R545 vendor pill (chip-row, vendorColor, color-mix)
|
|
3214
|
+
← this round
|
|
3215
|
+
Out of scope: edge pill (line ~2824 pre-R545, now ~2900+).
|
|
3216
|
+
Final 1/4 pill remaining for a future round closes the
|
|
3217
|
+
sub-family. */
|
|
2656
3218
|
style={{
|
|
2657
3219
|
background: `${vendorColor}1f`,
|
|
2658
3220
|
color: vendorColor,
|
|
2659
3221
|
borderColor: 'currentColor',
|
|
2660
3222
|
cursor: 'pointer',
|
|
3223
|
+
filter: `drop-shadow(0 0 3px color-mix(in srgb, ${vendorColor} 60%, transparent))`,
|
|
2661
3224
|
}}
|
|
2662
3225
|
>
|
|
2663
3226
|
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2664
|
-
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedVendor}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
3227
|
+
<span><span className="hidden sm:inline opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedVendor}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2665
3228
|
<button
|
|
2666
3229
|
type="button"
|
|
2667
3230
|
aria-label={`Clear vendor filter ${pinnedVendor}`}
|
|
@@ -2680,7 +3243,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2680
3243
|
inline-block is default for <button> so no display
|
|
2681
3244
|
tweak needed. replace_all covers all 4 filter pin
|
|
2682
3245
|
pills (status / group / vendor / edge) at once. */
|
|
2683
|
-
|
|
3246
|
+
/* Round 547 / Loop — extends pill × close-button hover
|
|
3247
|
+
gesture from scale-110 (R356) + opacity-70 to ALSO
|
|
3248
|
+
include rotate-12 on hover. Pre-R547 the × dimmed
|
|
3249
|
+
and grew on hover; R547 adds a 12° twist so the
|
|
3250
|
+
close action telegraphs "discarding/spinning away"
|
|
3251
|
+
with a small delight gesture. Composes with
|
|
3252
|
+
transition-transform (existing) — Tailwind's
|
|
3253
|
+
hover:rotate-12 + hover:scale-110 stack into one
|
|
3254
|
+
transform under the same 200ms ease-out tween.
|
|
3255
|
+
Applied to all 4 pill × buttons (status / group /
|
|
3256
|
+
vendor / edge) via replace_all since the className
|
|
3257
|
+
is identical. Closes the pill × hover gesture
|
|
3258
|
+
vocabulary at 3 axes:
|
|
3259
|
+
hover:opacity-70 paint dim
|
|
3260
|
+
hover:scale-110 geometry grow (R356)
|
|
3261
|
+
hover:rotate-12 geometry twist (R547, this round)
|
|
3262
|
+
Hover-gesture parity across the 4-pill family. */
|
|
3263
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
|
|
2684
3264
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2685
3265
|
>×</button>
|
|
2686
3266
|
</span>
|
|
@@ -2719,11 +3299,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2719
3299
|
className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2720
3300
|
title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
|
|
2721
3301
|
onClick={() => setPinnedEdgeKey(null)}
|
|
3302
|
+
/* Round 546 / Loop — CLOSES pin-active filter-pill drop-
|
|
3303
|
+
shadow sub-family at the 4th and final pill variant
|
|
3304
|
+
(edge pill). R543 (status) + R544 (group) + R545
|
|
3305
|
+
(vendor) covered the first three; R546 closes at
|
|
3306
|
+
edge.
|
|
3307
|
+
Pin-active tier-color paint glow sub-family CLOSED
|
|
3308
|
+
(4 anchors):
|
|
3309
|
+
R477 legend pin-ring (panel-row, row.fill)
|
|
3310
|
+
R543 status pill (chip-row, tier-color text)
|
|
3311
|
+
R544 group pill (chip-row, legendAccent)
|
|
3312
|
+
R545 vendor pill (chip-row, vendorColor)
|
|
3313
|
+
R546 edge pill (chip-row, pal.flowEdge)
|
|
3314
|
+
← this round, family CLOSED
|
|
3315
|
+
All 4 filter pin pills now radiate paint glow in the
|
|
3316
|
+
same hue family as their text/border on render —
|
|
3317
|
+
pin-active visual signal uniform across the chip-row
|
|
3318
|
+
pill family.
|
|
3319
|
+
pal.flowEdge is theme-driven (dynamic); color-mix
|
|
3320
|
+
syntax safe-defaults regardless of resolved format
|
|
3321
|
+
(banked R541/R544/R545 pattern). 60% alpha + 3px blur
|
|
3322
|
+
— same intensity as R543/R544/R545 for consistent
|
|
3323
|
+
cross-pill visual signal. */
|
|
2722
3324
|
style={{
|
|
2723
3325
|
background: isLight ? `${pal.flowEdge}14` : `${pal.flowEdge}1f`,
|
|
2724
3326
|
color: pal.flowEdge,
|
|
2725
3327
|
borderColor: 'currentColor',
|
|
2726
3328
|
cursor: 'pointer',
|
|
3329
|
+
filter: `drop-shadow(0 0 3px color-mix(in srgb, ${pal.flowEdge} 60%, transparent))`,
|
|
2727
3330
|
}}
|
|
2728
3331
|
>
|
|
2729
3332
|
{/* R412: filter pin pill value (edge variant) picks up fw=600.
|
|
@@ -2776,7 +3379,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2776
3379
|
inline-block is default for <button> so no display
|
|
2777
3380
|
tweak needed. replace_all covers all 4 filter pin
|
|
2778
3381
|
pills (status / group / vendor / edge) at once. */
|
|
2779
|
-
|
|
3382
|
+
/* Round 547 / Loop — extends pill × close-button hover
|
|
3383
|
+
gesture from scale-110 (R356) + opacity-70 to ALSO
|
|
3384
|
+
include rotate-12 on hover. Pre-R547 the × dimmed
|
|
3385
|
+
and grew on hover; R547 adds a 12° twist so the
|
|
3386
|
+
close action telegraphs "discarding/spinning away"
|
|
3387
|
+
with a small delight gesture. Composes with
|
|
3388
|
+
transition-transform (existing) — Tailwind's
|
|
3389
|
+
hover:rotate-12 + hover:scale-110 stack into one
|
|
3390
|
+
transform under the same 200ms ease-out tween.
|
|
3391
|
+
Applied to all 4 pill × buttons (status / group /
|
|
3392
|
+
vendor / edge) via replace_all since the className
|
|
3393
|
+
is identical. Closes the pill × hover gesture
|
|
3394
|
+
vocabulary at 3 axes:
|
|
3395
|
+
hover:opacity-70 paint dim
|
|
3396
|
+
hover:scale-110 geometry grow (R356)
|
|
3397
|
+
hover:rotate-12 geometry twist (R547, this round)
|
|
3398
|
+
Hover-gesture parity across the 4-pill family. */
|
|
3399
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
|
|
2780
3400
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2781
3401
|
>×</button>
|
|
2782
3402
|
</span>
|
|
@@ -3098,6 +3718,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3098
3718
|
// for older browsers the chip falls back to its idle
|
|
3099
3719
|
// transparent bg (graceful degradation — the canvas-
|
|
3100
3720
|
// dim effect still fires regardless).
|
|
3721
|
+
/* Round 541 / Loop — vendor letter chip gains drop-
|
|
3722
|
+
shadow glow on hover/pin using its OWN vendor
|
|
3723
|
+
identity color (v.color). Sibling to R537 legend-
|
|
3724
|
+
swatch tier-color glow at the chip-row scope.
|
|
3725
|
+
Pre-R541 the vendor chip lifted on multiple
|
|
3726
|
+
axes (R354 inner-glyph scale-1.1, R202 bg color-
|
|
3727
|
+
mix tint, R180 box-shadow pin-mirror inset, R401
|
|
3728
|
+
hover-translate-y -1px, R496 active:scale-95
|
|
3729
|
+
press) but no paint-axis glow extending past
|
|
3730
|
+
the chip's bbox. R541 adds the outer glow at
|
|
3731
|
+
the paint axis so the vendor chip's identity
|
|
3732
|
+
color radiates beyond the chip on attention —
|
|
3733
|
+
same idiom as legend swatch tier-color glow.
|
|
3734
|
+
2-tier alpha ladder (mirrors R538 group-label):
|
|
3735
|
+
pin (committed) v.color 99 (~60%)
|
|
3736
|
+
hover (preview) v.color 66 (~40%)
|
|
3737
|
+
rest none
|
|
3738
|
+
Pin is brighter to distinguish locked vs preview
|
|
3739
|
+
at the paint axis. The R180 inset box-shadow
|
|
3740
|
+
(pin-mirror) and R541 outer drop-shadow compose
|
|
3741
|
+
at pin — inside chrome reads as "this is pinned"
|
|
3742
|
+
(inset white double-ring), outside paint reads
|
|
3743
|
+
as "vendor identity is locked" (vendor-colour
|
|
3744
|
+
outer glow). Hover gets only the outer glow.
|
|
3745
|
+
3px blur tuned to read as soft chip-halo without
|
|
3746
|
+
overwhelming adjacent chips in the chip row.
|
|
3747
|
+
filter property is in the .anet-topo-chip-focus
|
|
3748
|
+
class transition list (R524 banked fix), so the
|
|
3749
|
+
filter eases at 200ms naturally.
|
|
3750
|
+
Drop-shadow visual-polish family — R541 adds
|
|
3751
|
+
chip-row tier-color paint glow as another anchor
|
|
3752
|
+
in the same family pattern R537 established.
|
|
3753
|
+
data-vendor-glow attr ('pin' | 'hover' | 'false')
|
|
3754
|
+
exposes the gate state for tests. */
|
|
3755
|
+
data-vendor-glow={isPinned ? 'pin' : hoveredVendor === v.initial ? 'hover' : 'false'}
|
|
3101
3756
|
style={{
|
|
3102
3757
|
cursor: 'pointer',
|
|
3103
3758
|
backgroundColor: (hoveredVendor === v.initial && !isPinned)
|
|
@@ -3106,7 +3761,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3106
3761
|
boxShadow: isPinned
|
|
3107
3762
|
? `inset 0 0 0 1px ${v.color}, inset 0 0 0 2px rgba(255,255,255,0.45)`
|
|
3108
3763
|
: undefined,
|
|
3109
|
-
|
|
3764
|
+
/* R578 sibling — vendor chip stacks brightness(1.15)
|
|
3765
|
+
onto R541 drop-shadow. Closes chip-row tier-color
|
|
3766
|
+
glow trio at consistent stacked-filter pattern. */
|
|
3767
|
+
filter: isPinned
|
|
3768
|
+
? `drop-shadow(0 0 3px color-mix(in srgb, ${v.color} 60%, transparent)) brightness(1.15)`
|
|
3769
|
+
: hoveredVendor === v.initial
|
|
3770
|
+
? `drop-shadow(0 0 3px color-mix(in srgb, ${v.color} 40%, transparent)) brightness(1.15)`
|
|
3771
|
+
: undefined,
|
|
3772
|
+
transition: 'box-shadow 150ms ease-out, background-color 200ms ease-out, filter 200ms ease-out',
|
|
3110
3773
|
}}
|
|
3111
3774
|
onMouseEnter={() => setHoveredVendor(v.initial)}
|
|
3112
3775
|
onMouseLeave={() => setHoveredVendor(prev => prev === v.initial ? null : prev)}
|
|
@@ -3198,7 +3861,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3198
3861
|
since the glyph (R369 fw=600) stays at full
|
|
3199
3862
|
opacity. R333 :{count} format preserved. */}
|
|
3200
3863
|
<span
|
|
3201
|
-
className="text-gray-400 tabular-nums opacity-70 transition-opacity duration-200 group-hover:opacity-100"
|
|
3864
|
+
className="text-gray-400 tabular-nums opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide"
|
|
3202
3865
|
data-vendor-letter-count-suffix
|
|
3203
3866
|
>:{v.count}</span>
|
|
3204
3867
|
</span>
|
|
@@ -3348,7 +4011,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3348
4011
|
chip-internal-hierarchy arc. data-active-links-
|
|
3349
4012
|
chip-unit exposes the unit span for tests. */}
|
|
3350
4013
|
{/* R362 sibling — active-links chip digit gains font-semibold. */}
|
|
3351
|
-
|
|
4014
|
+
{/* R539 sibling — active-links chip digit. Same idiom
|
|
4015
|
+
as working + online above. */}
|
|
4016
|
+
<span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70 transition-[opacity,letter-spacing] duration-200 group-hover:opacity-100 group-hover:tracking-wide" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
|
|
3352
4017
|
{rel ? (() => {
|
|
3353
4018
|
// Round 161 / Loop: extend R160's recency-pip
|
|
3354
4019
|
// vocabulary up one scope — from per-flow row to
|
|
@@ -3562,6 +4227,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3562
4227
|
on the canvas root for non-visual consumers.
|
|
3563
4228
|
Composed from existing onlineNodes / workingCount /
|
|
3564
4229
|
offlineNodes / flowLinks — no new state. */
|
|
4230
|
+
/* Round 502 / Loop — categorical density-tier paired with the
|
|
4231
|
+
R469 numeric counts. data-topo-fleet-density-tier classifies
|
|
4232
|
+
the fleet size into 5 buckets so external consumers (CSS
|
|
4233
|
+
selectors, Playwright probes, future density-conditional
|
|
4234
|
+
polish gates like R109 dense-label collapse at 16+ nodes)
|
|
4235
|
+
can branch on a stable tier name without re-deriving the
|
|
4236
|
+
threshold logic from the raw numeric. Buckets:
|
|
4237
|
+
'empty' — onlineNodes.length === 0
|
|
4238
|
+
'sparse' — 1-3 nodes
|
|
4239
|
+
'normal' — 4-15 nodes
|
|
4240
|
+
'dense' — 16-30 nodes (matches R109 collapse gate)
|
|
4241
|
+
'very-dense' — 31+ nodes
|
|
4242
|
+
Picks the gate boundaries that already drive CONDITIONAL
|
|
4243
|
+
RENDER decisions elsewhere (R109 denseLayout = >16, R110
|
|
4244
|
+
plain-text fallback) so the tier name is semantically
|
|
4245
|
+
aligned with the visual mode the canvas already switches
|
|
4246
|
+
to. Composed from existing onlineNodes — no new state.
|
|
4247
|
+
12th attr in the canvas state surface set (R462/R466/R467/
|
|
4248
|
+
R469×4/R471×2/R487/R488/R502). 12 attrs covers: build
|
|
4249
|
+
identity, transient/sticky inspection modes, fleet split
|
|
4250
|
+
numerics, fleet density tier, canvas layout/theme, canvas
|
|
4251
|
+
zoom, hover identity. A test harness can snapshot the
|
|
4252
|
+
full canvas state with 12 getAttribute calls. */
|
|
4253
|
+
data-topo-fleet-density-tier={
|
|
4254
|
+
onlineNodes.length === 0 ? 'empty' :
|
|
4255
|
+
onlineNodes.length <= 3 ? 'sparse' :
|
|
4256
|
+
onlineNodes.length <= 15 ? 'normal' :
|
|
4257
|
+
onlineNodes.length <= 30 ? 'dense' :
|
|
4258
|
+
'very-dense'
|
|
4259
|
+
}
|
|
3565
4260
|
data-topo-online-count={onlineNodes.length}
|
|
3566
4261
|
data-topo-working-count={workingCount}
|
|
3567
4262
|
data-topo-offline-count={offlineNodes.length}
|
|
@@ -3627,6 +4322,119 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3627
4322
|
categorical) — separate dedicated attrs if/when needed.
|
|
3628
4323
|
Root svg attribute set now 11 attrs total. */
|
|
3629
4324
|
data-topo-hovered-alias={hoveredAlias ?? ''}
|
|
4325
|
+
/* Round 504 / Loop — categorical pin-aspect attr paired with
|
|
4326
|
+
R467 any-pinned boolean and R488 hovered-alias identity.
|
|
4327
|
+
Pre-R504 the canvas state surface set told tests WHETHER
|
|
4328
|
+
any pin was active (R467 boolean) but tests had to enumerate
|
|
4329
|
+
4 individual state vars to determine WHICH pin axis fired:
|
|
4330
|
+
pinnedStatus legend-row status filter
|
|
4331
|
+
pinnedGroup prefix-cluster lock
|
|
4332
|
+
pinnedVendor vendor-chip filter
|
|
4333
|
+
pinnedEdgeKey edge-focus
|
|
4334
|
+
R504 surfaces the active aspect as a single categorical
|
|
4335
|
+
attribute: data-topo-pinned-aspect ∈
|
|
4336
|
+
'none' no pin active
|
|
4337
|
+
'status' pinnedStatus only
|
|
4338
|
+
'group' pinnedGroup only
|
|
4339
|
+
'vendor' pinnedVendor only
|
|
4340
|
+
'edge' pinnedEdgeKey only
|
|
4341
|
+
'multi' 2 or more pins active simultaneously
|
|
4342
|
+
('multi' covers cross-cutting filters — e.g. user pins
|
|
4343
|
+
status='working' AND vendor='claude' simultaneously to
|
|
4344
|
+
narrow the canvas. Each pin axis is independently
|
|
4345
|
+
dismissable via Esc / individual chip click, so multi
|
|
4346
|
+
states are reachable and worth surfacing as a distinct
|
|
4347
|
+
tier.)
|
|
4348
|
+
13th attr in the canvas state surface set after R502.
|
|
4349
|
+
Composed from 4 existing state vars — no new state. */
|
|
4350
|
+
/* Round 512 / Loop — 14th canvas state attr. groupBoxes.length
|
|
4351
|
+
surfaces the count of cluster boxes currently rendered in
|
|
4352
|
+
grid layout (always 0 in ring). Paired with R502 categorical
|
|
4353
|
+
density tier + R469 fleet numerics for a complete cluster-
|
|
4354
|
+
cardinality surface:
|
|
4355
|
+
R469 data-topo-online-count node-count
|
|
4356
|
+
R502 data-topo-fleet-density-tier categorical
|
|
4357
|
+
R512 data-topo-cluster-count cluster-count ← this round
|
|
4358
|
+
Use cases:
|
|
4359
|
+
- Playwright: assert orphan-band existence by
|
|
4360
|
+
`cluster-count === N + 1` vs prefix-only `=== N`
|
|
4361
|
+
- external CSS: `[data-topo-cluster-count='1']` to apply
|
|
4362
|
+
single-cluster grid-specific layout adjustments
|
|
4363
|
+
- future polish gates: cluster-count > N could trigger
|
|
4364
|
+
dense-grid mode
|
|
4365
|
+
Composed from existing `groupBoxes.length` — no new state.
|
|
4366
|
+
Always renders (0 in ring layout, N in grid), so tests can
|
|
4367
|
+
rely on attribute presence + value. */
|
|
4368
|
+
data-topo-cluster-count={groupBoxes.length}
|
|
4369
|
+
/* Round 513 / Loop — 15th canvas state attr. Surfaces the
|
|
4370
|
+
user's prefers-reduced-motion preference directly on the
|
|
4371
|
+
root SVG so external CSS / Playwright tests can branch on
|
|
4372
|
+
a11y state without re-reading the media query.
|
|
4373
|
+
reducedMotion is already in component scope (R29 a11y
|
|
4374
|
+
blanket reads it via a useEffect listener); R513 just
|
|
4375
|
+
exposes it as a stable attribute handle.
|
|
4376
|
+
Use cases:
|
|
4377
|
+
- Playwright: assert reduced-motion gates from one attr
|
|
4378
|
+
read instead of mocking media-query state per test
|
|
4379
|
+
- External CSS hooks: `[data-topo-prefers-reduced-motion=
|
|
4380
|
+
"true"]` to apply paint-only overrides (e.g. mute
|
|
4381
|
+
hover glows entirely on a11y instead of just
|
|
4382
|
+
disabling transitions)
|
|
4383
|
+
- Future polish rounds: any motion-gated render can
|
|
4384
|
+
read this attr server-side without the media-query
|
|
4385
|
+
hydration mismatch risk
|
|
4386
|
+
'true' / 'false' string values (consistent with R466/R467
|
|
4387
|
+
boolean attrs). */
|
|
4388
|
+
data-topo-prefers-reduced-motion={reducedMotion ? 'true' : 'false'}
|
|
4389
|
+
/* Round 515 / Loop — 16th canvas state attr. Surfaces the
|
|
4390
|
+
fullscreen-mode state directly on root SVG so external
|
|
4391
|
+
consumers don't have to traverse the chrome strip's
|
|
4392
|
+
`data-topo-chrome-fullscreen-active` button attr (which
|
|
4393
|
+
measures the BUTTON state, not the canvas state — they
|
|
4394
|
+
agree, but reading from the root is semantically cleaner
|
|
4395
|
+
for canvas-state probes).
|
|
4396
|
+
Composed from existing isFullscreen React state (R103
|
|
4397
|
+
fullscreen toggle).
|
|
4398
|
+
Use cases:
|
|
4399
|
+
- Playwright: assert canvas mode in one attr read
|
|
4400
|
+
(paired with R471 data-topo-layout for ring/grid +
|
|
4401
|
+
R487 data-topo-zoom for zoom level + R513 reduced-
|
|
4402
|
+
motion for a11y mode = 4-axis canvas-mode probe)
|
|
4403
|
+
- External CSS: `[data-topo-fullscreen="true"]` to
|
|
4404
|
+
apply fullscreen-only paint adjustments outside the
|
|
4405
|
+
React tree (e.g. body-level scrollbar hide)
|
|
4406
|
+
'true' / 'false' string values (consistent with R466/
|
|
4407
|
+
R467/R513 boolean attrs). */
|
|
4408
|
+
data-topo-fullscreen={isFullscreen ? 'true' : 'false'}
|
|
4409
|
+
/* Round 516 / Loop — 17th canvas state attr. Surfaces the
|
|
4410
|
+
grid layout's content-bottom y-coordinate so tests can
|
|
4411
|
+
verify grid content doesn't extend past the viewBox or
|
|
4412
|
+
collide with chrome elements positioned below the canvas.
|
|
4413
|
+
Composed from existing gridContentBottom derived state
|
|
4414
|
+
(computed at line ~915 from gy0 + totalRows * cellH + 8).
|
|
4415
|
+
In ring layout, gridContentBottom is 0 (no grid). In grid
|
|
4416
|
+
layout it's the actual pixel y-coordinate where the
|
|
4417
|
+
cluster bands end.
|
|
4418
|
+
Use cases:
|
|
4419
|
+
- Playwright: assert grid layout doesn't exceed viewBox
|
|
4420
|
+
height (680) without re-computing the layout math
|
|
4421
|
+
- External CSS: `[data-topo-grid-content-bottom='0']` to
|
|
4422
|
+
distinguish ring-mode (no grid content) from grid-mode
|
|
4423
|
+
in CSS without parsing layout attr
|
|
4424
|
+
- Future polish gates: if cluster count grows large
|
|
4425
|
+
enough to push grid bottom past viewBox, can trigger
|
|
4426
|
+
a 'compact' mode automatically */
|
|
4427
|
+
data-topo-grid-content-bottom={gridContentBottom}
|
|
4428
|
+
data-topo-pinned-aspect={(() => {
|
|
4429
|
+
const aspects: string[] = [];
|
|
4430
|
+
if (pinnedStatus) aspects.push('status');
|
|
4431
|
+
if (pinnedGroup) aspects.push('group');
|
|
4432
|
+
if (pinnedVendor) aspects.push('vendor');
|
|
4433
|
+
if (pinnedEdgeKey) aspects.push('edge');
|
|
4434
|
+
if (aspects.length === 0) return 'none';
|
|
4435
|
+
if (aspects.length === 1) return aspects[0];
|
|
4436
|
+
return 'multi';
|
|
4437
|
+
})()}
|
|
3630
4438
|
/* Round 466 / Loop — aggregate hover signal on the root SVG.
|
|
3631
4439
|
Exposes a single boolean `data-topo-any-hover` that
|
|
3632
4440
|
reflects whether ANY hover state in the topology is
|
|
@@ -3869,7 +4677,38 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3869
4677
|
const x = ((seed * 13) % 1000);
|
|
3870
4678
|
const y = ((seed * 7) % 680);
|
|
3871
4679
|
const r = (i % 3 === 0) ? 1.2 : 0.7;
|
|
3872
|
-
|
|
4680
|
+
/* Round 523 / Loop — 配色 family extension to a 3rd anchor.
|
|
4681
|
+
Pre-R523 all 14 starfield dots painted at the same
|
|
4682
|
+
hardcoded `#a5b4fc` (indigo-300). The starfield's role
|
|
4683
|
+
is atmospheric depth (R45, R291 comment), but a flat
|
|
4684
|
+
single-hue field reads more like a regular dot grid
|
|
4685
|
+
than a star field — real starlight has color
|
|
4686
|
+
temperature variation (blue-white hot stars / yellow
|
|
4687
|
+
sun-like / cool red).
|
|
4688
|
+
R523 cycles a 3-color deterministic rotation based on
|
|
4689
|
+
`i % 3`:
|
|
4690
|
+
i % 3 === 0 → #a5b4fc indigo-300 (original, cool)
|
|
4691
|
+
i % 3 === 1 → #67e8f9 cyan-300 (cyber accent, hot)
|
|
4692
|
+
i % 3 === 2 → #cbd5e1 slate-300 (neutral, warm white)
|
|
4693
|
+
All three hues sit inside the cyber theme's palette
|
|
4694
|
+
family (indigo / cyan / slate) so the starfield reads
|
|
4695
|
+
varied-but-coherent rather than rainbow. At opacity
|
|
4696
|
+
0.5 (parent <g>) * 0.35-0.50 (per-dot) the temperature
|
|
4697
|
+
shifts are gentle but perceptible — closes the gap
|
|
4698
|
+
between 'dot grid' and 'star field'.
|
|
4699
|
+
配色 family extension (3 anchors): R509/R510 hub-
|
|
4700
|
+
highlight cross-theme fill + R523 starfield color
|
|
4701
|
+
temperature variation. Light theme unaffected
|
|
4702
|
+
(starfield gated `!isLight` so light theme stays
|
|
4703
|
+
clean per R45's original 'white surface stays clean'
|
|
4704
|
+
intent).
|
|
4705
|
+
Deterministic on `i` — no JS hydration mismatch,
|
|
4706
|
+
same SSR/client output. data-topo-starfield-dot-hue
|
|
4707
|
+
attr exposes the resolved hue category for tests. */
|
|
4708
|
+
const hues = ['#a5b4fc', '#67e8f9', '#cbd5e1'] as const;
|
|
4709
|
+
const hueNames = ['indigo', 'cyan', 'slate'] as const;
|
|
4710
|
+
const hueIdx = i % 3;
|
|
4711
|
+
return <circle key={i} cx={x} cy={y} r={r} fill={hues[hueIdx]} opacity={0.35 + (i % 4) * 0.05} data-topo-starfield-dot={i} data-topo-starfield-dot-hue={hueNames[hueIdx]} />;
|
|
3873
4712
|
})}
|
|
3874
4713
|
</g>
|
|
3875
4714
|
)}
|
|
@@ -4407,8 +5246,60 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4407
5246
|
data-topo-hub-spoke-stroke-width={spokeStrokeWidth}
|
|
4408
5247
|
data-topo-hub-spoke-stroke-width-active="2.25"
|
|
4409
5248
|
data-topo-hub-spoke-linecap="round"
|
|
5249
|
+
/* Round 533 / Loop — extends drop-shadow visual-polish
|
|
5250
|
+
family to a 9th anchor: hub spokes gain filter:drop-
|
|
5251
|
+
shadow glow on hub-hover. Subtle 1.5px cyan/teal blur
|
|
5252
|
+
applied across ALL spokes simultaneously when the
|
|
5253
|
+
user hovers the hub — the network mesh visually
|
|
5254
|
+
"lights up" in response to focal attention. Sibling
|
|
5255
|
+
to R476 hub-digit + R532 hub-highlight glow at the
|
|
5256
|
+
same gate (hoveredHub && !reducedMotion); together
|
|
5257
|
+
the three anchors (digit + highlight disc + spokes)
|
|
5258
|
+
form a unified focal-cluster glow that signals
|
|
5259
|
+
"you're focused on the hub" across geometry,
|
|
5260
|
+
paint, and mesh-extent axes.
|
|
5261
|
+
Theme-aware glow palette matches the spoke stroke
|
|
5262
|
+
family:
|
|
5263
|
+
light: rgba(13, 148, 136, 0.4) teal-600
|
|
5264
|
+
cyber: rgba(34, 211, 238, 0.4) cyan-400
|
|
5265
|
+
0.4 alpha keeps the glow subtle across N spokes
|
|
5266
|
+
(30+ at peak fleet sizes) — loud bloom across many
|
|
5267
|
+
edges would compete with the focal cluster itself.
|
|
5268
|
+
1.5px blur is conservative; tuned so each spoke
|
|
5269
|
+
gains a faint outer halo rather than a wide bloom.
|
|
5270
|
+
filter is paint-only; bbox unchanged; existing
|
|
5271
|
+
R241 transition list extends to 'filter 250ms
|
|
5272
|
+
ease-out' matching the spoke transition cadence
|
|
5273
|
+
(250ms, distinct from the 200ms hub-cluster
|
|
5274
|
+
cadence — spokes ease slightly slower since they
|
|
5275
|
+
respond to per-alias state, not just hub state).
|
|
5276
|
+
data-topo-hub-spoke-glow attr exposes the gate
|
|
5277
|
+
state for tests. */
|
|
5278
|
+
data-topo-hub-spoke-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
5279
|
+
/* Round 580 (65-round milestone) — hub-spokes complete
|
|
5280
|
+
the hub-cluster brightness coverage at 5/5 concentric
|
|
5281
|
+
elements. Stacks brightness(1.15) onto R533's drop-
|
|
5282
|
+
shadow — same R564/R570/R571/R572/R573/R574/R575/
|
|
5283
|
+
R577/R578/R579 stacked-filter pattern.
|
|
5284
|
+
Hub-cluster brightness now FULLY CLOSED:
|
|
5285
|
+
hub digit (R575) innermost typo
|
|
5286
|
+
hub-highlight (R574) middle disc
|
|
5287
|
+
hub-hover-ring (R579) outer ring boundary
|
|
5288
|
+
hub-halo (R577) outermost atmosphere
|
|
5289
|
+
hub-spokes (R580) mesh radial lines ← this round
|
|
5290
|
+
5 concentric elements + N mesh radial lines all lift
|
|
5291
|
+
uniformly through stacked drop-shadow + brightness on
|
|
5292
|
+
hub-hover. The hub focal cluster now responds as ONE
|
|
5293
|
+
unified motion-coherent paint pulse from center
|
|
5294
|
+
outward through every layer. */
|
|
5295
|
+
data-topo-hub-spoke-brightness={!reducedMotion && hoveredHub ? '1.15' : '1'}
|
|
4410
5296
|
style={{
|
|
4411
|
-
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
|
|
5297
|
+
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out, filter 250ms ease-out',
|
|
5298
|
+
filter: !reducedMotion && hoveredHub
|
|
5299
|
+
? (isLight
|
|
5300
|
+
? 'drop-shadow(0 0 1.5px rgba(13, 148, 136, 0.4)) brightness(1.15)'
|
|
5301
|
+
: 'drop-shadow(0 0 1.5px rgba(34, 211, 238, 0.4)) brightness(1.15)')
|
|
5302
|
+
: undefined,
|
|
4412
5303
|
...(isActiveSpoke ? {} : {
|
|
4413
5304
|
animationDelay: `${-(idx * 0.25)}s`,
|
|
4414
5305
|
// CSS var consumed by `.anet-topo-spoke-flow`
|
|
@@ -4429,6 +5320,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4429
5320
|
a node click. Restrained dashed container + group-name label. */}
|
|
4430
5321
|
{groupBoxes.map((box, boxIdx) => {
|
|
4431
5322
|
const isHovered = activeGroup === box.key;
|
|
5323
|
+
/* Round 561 / Loop — inspection-overrides-encoding family
|
|
5324
|
+
4th anchor. When operator hovers a NODE ALIAS on the
|
|
5325
|
+
canvas, the group-label that CONTAINS that node lifts
|
|
5326
|
+
to full opacity, signalling "this is the cluster
|
|
5327
|
+
whose member you're inspecting".
|
|
5328
|
+
Family progression (4 anchors now):
|
|
5329
|
+
R484 recent-row timestamp brightens on alias hover
|
|
5330
|
+
R485 edge particle opacity lifts on alias hover
|
|
5331
|
+
R486 minimap dot opacity lifts on alias hover
|
|
5332
|
+
R561 group-label opacity lifts on member-alias hover ← this round
|
|
5333
|
+
Pure paint axis (opacity only) — same restraint as
|
|
5334
|
+
R486. NOT bundled into the existing `isHovered` flag
|
|
5335
|
+
so the marching-ants live animation (gated on
|
|
5336
|
+
`!isPinned && !isHovered`) keeps running; the box
|
|
5337
|
+
rect stroke widen / fill brighten / letter-spacing
|
|
5338
|
+
/ filter glow gates stay tied to direct label
|
|
5339
|
+
hover/pin semantics.
|
|
5340
|
+
Mirror of R486's pattern: `hoveredAlias === s.alias`
|
|
5341
|
+
extends a focused opacity branch independent from
|
|
5342
|
+
the rest-state encoding (online/offline). R561 here:
|
|
5343
|
+
`groupKeys[hoveredAlias] === box.key` extends a
|
|
5344
|
+
cluster-awareness opacity branch independent from
|
|
5345
|
+
the existing isHovered / isPinned semantics. */
|
|
5346
|
+
const isMemberAliasHovered = !!hoveredAlias && groupKeys[hoveredAlias] === box.key;
|
|
4432
5347
|
// R68: distinguish "locked by click" from "currently hovered".
|
|
4433
5348
|
// R63 made pinned and hovered identical (both hit isHovered
|
|
4434
5349
|
// via activeGroup). A user with one team pinned should see at
|
|
@@ -4556,12 +5471,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4556
5471
|
// pinned → fill 0.08 / 0.13, stroke 3 px (locked)
|
|
4557
5472
|
// hovered → fill 0.05 / 0.09, stroke 2 px (inspecting)
|
|
4558
5473
|
// idle → fill 0.025 / 0.045, stroke 1.5 px dashed
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
5474
|
+
/* Round 506 / Loop — category-differentiation family
|
|
5475
|
+
3rd anchor. Orphan band rest-state fillOpacity drops
|
|
5476
|
+
slightly below prefix-group rest (0.025/0.045 →
|
|
5477
|
+
0.015/0.028). Adds a 3rd independent paint
|
|
5478
|
+
differentiator to the orphan visual signature:
|
|
5479
|
+
R499 fontStyle: italic (label text)
|
|
5480
|
+
R503 '3 6' dash pattern (rect stroke)
|
|
5481
|
+
R506 lower fillOpacity (rect fill) ← this round
|
|
5482
|
+
Three independent channels (typography + stroke
|
|
5483
|
+
pattern + fill density) collectively encode the
|
|
5484
|
+
catchall semantic at rest. Pin and hover branches
|
|
5485
|
+
UNCHANGED (still 0.05/0.09 hover, 0.08/0.13 pin) —
|
|
5486
|
+
orphan box gets full visual emphasis on inspection
|
|
5487
|
+
identical to prefix groups; the differentiation
|
|
5488
|
+
lives ONLY in the unsolicited rest state. The
|
|
5489
|
+
~40% drop (0.045 → 0.028 cyber, 0.025 → 0.015
|
|
5490
|
+
light) is subtle enough that the orphan box stays
|
|
5491
|
+
visible at rest, just quieter — matches the
|
|
5492
|
+
"misc bucket, less attention-deserving" semantic
|
|
5493
|
+
without losing the visual anchor.
|
|
5494
|
+
Pure paint axis; bbox unchanged; R51 SVG sentinel
|
|
5495
|
+
safety untouched (overlap-test gates to g[data-
|
|
5496
|
+
node], cluster rect invisible to it).
|
|
5497
|
+
data-group-box-fill-opacity attr surfaces the
|
|
5498
|
+
resolved value for tests. */
|
|
5499
|
+
fillOpacity={
|
|
5500
|
+
isPinned ? (isLight ? 0.08 : 0.13)
|
|
5501
|
+
: isHovered ? (isLight ? 0.05 : 0.09)
|
|
5502
|
+
: box.isOrphan ? (isLight ? 0.015 : 0.028)
|
|
5503
|
+
: (isLight ? 0.025 : 0.045)
|
|
5504
|
+
}
|
|
5505
|
+
data-group-box-fill-opacity={
|
|
5506
|
+
isPinned ? (isLight ? 0.08 : 0.13)
|
|
5507
|
+
: isHovered ? (isLight ? 0.05 : 0.09)
|
|
5508
|
+
: box.isOrphan ? (isLight ? 0.015 : 0.028)
|
|
5509
|
+
: (isLight ? 0.025 : 0.045)
|
|
5510
|
+
}
|
|
4562
5511
|
stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
|
|
4563
5512
|
strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
|
|
4564
|
-
|
|
5513
|
+
/* Round 503 / Loop — category-differentiation family
|
|
5514
|
+
2nd anchor (R499 = orphan label italic, 1st anchor).
|
|
5515
|
+
Orphan band rest-state strokeDasharray switches from
|
|
5516
|
+
'6 6' (prefix-group default) to '3 6' (tighter
|
|
5517
|
+
dashes). Pre-R503 the rect dash pattern was uniform
|
|
5518
|
+
across all bands; combined with R499's italic label,
|
|
5519
|
+
the orphan box now has TWO independent paint/
|
|
5520
|
+
typography differentiators at rest:
|
|
5521
|
+
R499 fontStyle: italic (label text)
|
|
5522
|
+
R503 '3 6' dash pattern (rect stroke) ← this round
|
|
5523
|
+
The R85 marching-ants animation continues to work
|
|
5524
|
+
with the new dash size (uses --march-dur custom
|
|
5525
|
+
property, dash-length-agnostic) — orphan's ants
|
|
5526
|
+
just have a different visual rhythm than prefix-
|
|
5527
|
+
group ants, reinforcing the catchall semantic.
|
|
5528
|
+
Pinned/hovered orphan still gets 'none' (solid
|
|
5529
|
+
stroke) so the hover/pin affordance is preserved
|
|
5530
|
+
— the differentiation lives ONLY in the rest
|
|
5531
|
+
state, never blocking inspection.
|
|
5532
|
+
Pure paint axis; no geometry change; bbox unchanged
|
|
5533
|
+
(strokeDasharray is paint-only). R51 SVG sentinel
|
|
5534
|
+
safety untouched (overlap-test gates to g[data-
|
|
5535
|
+
node], this cluster rect is invisible to it).
|
|
5536
|
+
data-group-box-orphan attr surfaces the gate for
|
|
5537
|
+
tests + future polish references. */
|
|
5538
|
+
strokeDasharray={
|
|
5539
|
+
(isPinned || isHovered) ? 'none' :
|
|
5540
|
+
box.isOrphan ? '3 6' : '6 6'
|
|
5541
|
+
}
|
|
5542
|
+
data-group-box-orphan={box.isOrphan ? 'true' : 'false'}
|
|
4565
5543
|
/* Round 380 / Loop: cluster box stroke gets round
|
|
4566
5544
|
linecap + round linejoin. Sibling SVG stroke-
|
|
4567
5545
|
softening polish to R378 flow-rail linecap + R379
|
|
@@ -4591,6 +5569,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4591
5569
|
data-group-box-linecap="round"
|
|
4592
5570
|
data-group-box-linejoin="round"
|
|
4593
5571
|
data-group-box-geom-transition="x,y,width,height"
|
|
5572
|
+
data-group-box-brightness={(isPinned || isHovered) ? '1.15' : '1'}
|
|
4594
5573
|
// R85: ambient "marching ants" drift on the perimeter
|
|
4595
5574
|
// when this group has at least one working member, and
|
|
4596
5575
|
// neither pin nor hover is active (those treatments
|
|
@@ -4607,10 +5586,29 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4607
5586
|
// motion layers (hub / ring / group) keep a coherent
|
|
4608
5587
|
// tempo grammar. Default 12s when working=0 doesn't
|
|
4609
5588
|
// matter — the className is only applied when working>0.
|
|
4610
|
-
|
|
5589
|
+
/* Round 561 — marching-ants gate refined to halt only
|
|
5590
|
+
on direct-label-hover (or pin), NOT on member-alias-
|
|
5591
|
+
hover. Pre-R561 `isHovered` covered BOTH cases via
|
|
5592
|
+
the line 1044 fallback `hoveredGroup ?? (hoveredAlias
|
|
5593
|
+
→ groupKeys[hoveredAlias])` — so hovering ANY member
|
|
5594
|
+
node halted the ants, treating indirect inspection
|
|
5595
|
+
the same as direct attention.
|
|
5596
|
+
R561 differentiates: ants now keep running during
|
|
5597
|
+
member-alias hover (indirect / cluster-awareness
|
|
5598
|
+
inspection), halting ONLY on direct label hover or
|
|
5599
|
+
pin. The cluster's live signal stays alive while
|
|
5600
|
+
operator inspects member nodes — distinct visual
|
|
5601
|
+
telegraph for "directly attending this cluster"
|
|
5602
|
+
vs "inspecting one of its members".
|
|
5603
|
+
Gate uses `hoveredGroupLabel === box.key` directly
|
|
5604
|
+
(the LABEL hover state) instead of `isHovered`
|
|
5605
|
+
(which combines label-hover + member-alias-hover
|
|
5606
|
+
via activeGroup). data-group-box-live + the live
|
|
5607
|
+
className both flip on the same refined gate. */
|
|
5608
|
+
data-group-box-live={!isPinned && hoveredGroupLabel !== box.key && box.statuses.working > 0 ? 'true' : 'false'}
|
|
4611
5609
|
data-group-box-march-dur={marchDur}
|
|
4612
5610
|
data-group-box-lifted={(isPinned || isHovered) ? 'true' : 'false'}
|
|
4613
|
-
className={!isPinned &&
|
|
5611
|
+
className={!isPinned && hoveredGroupLabel !== box.key && box.statuses.working > 0 ? 'anet-topo-groupbox-live' : undefined}
|
|
4614
5612
|
// R142: drop-shadow filter when pinned or hovered. Box
|
|
4615
5613
|
// visually "rises off the canvas" — same vocabulary
|
|
4616
5614
|
// R18 KPI cards + R135 overlay panels use. Idle group
|
|
@@ -4621,6 +5619,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4621
5619
|
// is preserved.
|
|
4622
5620
|
filter={(isPinned || isHovered) ? 'url(#topo-groupbox-lift)' : undefined}
|
|
4623
5621
|
style={{
|
|
5622
|
+
/* R587 — group box gains stacked brightness(1.15)
|
|
5623
|
+
on hover/pin. 26th anchor in per-element
|
|
5624
|
+
brightness family, 19th in stacked-filter
|
|
5625
|
+
sub-pattern. Inline style.filter overrides the
|
|
5626
|
+
attribute filter (kept intact for the R142
|
|
5627
|
+
documentation trail); stacked syntax preserves
|
|
5628
|
+
the R142 url(#topo-groupbox-lift) SVG drop-shadow
|
|
5629
|
+
lift on hover/pin, with brightness layered on
|
|
5630
|
+
top.
|
|
5631
|
+
|
|
5632
|
+
Same R582/R583 stacked-filter pattern at the
|
|
5633
|
+
group-cluster scope.
|
|
5634
|
+
|
|
5635
|
+
Group box inspection signature now 6 layers
|
|
5636
|
+
(spans paint + stroke + geometry + filter):
|
|
5637
|
+
R68 fillOpacity 0.045 → 0.13 (cyber pin)
|
|
5638
|
+
R68 strokeWidth 1.5 → 2 → 3
|
|
5639
|
+
R68 stroke tint → legendAccent
|
|
5640
|
+
R503 strokeDasharray → 'none' on activation
|
|
5641
|
+
R142 filter → url(#topo-groupbox-lift)
|
|
5642
|
+
R587 filter stack → brightness(1.15) ← this round
|
|
5643
|
+
|
|
5644
|
+
Same existing transition list already includes
|
|
5645
|
+
'filter 200ms ease-out' (R142 cadence). No
|
|
5646
|
+
transition change needed. */
|
|
5647
|
+
filter: (isPinned || isHovered)
|
|
5648
|
+
? 'url(#topo-groupbox-lift) brightness(1.15)'
|
|
5649
|
+
: undefined,
|
|
4624
5650
|
/* Round 248 / Loop: append fill 200ms ease-out to
|
|
4625
5651
|
the existing R66 transition list. Pre-R248 the
|
|
4626
5652
|
rect's fill (isLight ? '#0f172a' (slate-900) :
|
|
@@ -4881,8 +5907,54 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4881
5907
|
fontSize="9"
|
|
4882
5908
|
fontFamily="monospace"
|
|
4883
5909
|
fontWeight={isPinned ? '800' : '700'}
|
|
4884
|
-
|
|
5910
|
+
/* Round 551 / Loop — category-differentiation family
|
|
5911
|
+
4th anchor. Orphan band ("其他" catchall) rest-state
|
|
5912
|
+
LABEL opacity drops 0.55 → 0.4 (~27% relative dim),
|
|
5913
|
+
mirroring R506's rect fillOpacity drop pattern at
|
|
5914
|
+
the label-paint tier. Adds a 4th independent
|
|
5915
|
+
channel to the orphan visual signature at rest:
|
|
5916
|
+
R499 fontStyle italic (typography style)
|
|
5917
|
+
R503 '3 6' dash pattern (rect stroke)
|
|
5918
|
+
R506 lower rect fill-opacity (rect fill)
|
|
5919
|
+
R551 lower label opacity (label paint) ← this round
|
|
5920
|
+
Four independent channels (typography style +
|
|
5921
|
+
stroke pattern + rect fill density + label paint
|
|
5922
|
+
density) collectively encode the catchall semantic
|
|
5923
|
+
at rest — orphan band reads as "misc bucket, less
|
|
5924
|
+
attention-deserving" through every available paint
|
|
5925
|
+
channel, no chrome / color / geometry change.
|
|
5926
|
+
Pin and hover branches UNCHANGED — orphan label
|
|
5927
|
+
restores to full opacity 1 on inspection, same as
|
|
5928
|
+
prefix groups. The differentiation lives ONLY in
|
|
5929
|
+
the unsolicited rest state. The ~27% drop (0.55 →
|
|
5930
|
+
0.4) is dimmer than R506's ~40% (rect could
|
|
5931
|
+
tolerate it; small 9px text needs more residual
|
|
5932
|
+
paint to stay legible) — orphan label stays
|
|
5933
|
+
readable when scanning, just clearly quieter.
|
|
5934
|
+
Pure paint axis; bbox unchanged; R51 SVG sentinel
|
|
5935
|
+
safety untouched (overlap-test gates to g[data-
|
|
5936
|
+
node], this group-label is invisible to it).
|
|
5937
|
+
transition list (R55/R432/R457/R479: fill, ls,
|
|
5938
|
+
fw, filter all 200ms) already eases opacity since
|
|
5939
|
+
`opacity 300ms ease-out` lives in the parent <text>
|
|
5940
|
+
CSS — wait, only filter/ls/fw/fill 200ms are
|
|
5941
|
+
listed. Need to add 'opacity 200ms ease-out' for
|
|
5942
|
+
smooth orphan opacity flip on pin/hover transitions
|
|
5943
|
+
(currently opacity 0.55 → 1 was snapping).
|
|
5944
|
+
data-group-label-opacity attr exposes the resolved
|
|
5945
|
+
value for tests. */
|
|
5946
|
+
/* Round 561 — opacity ladder gains inspection-
|
|
5947
|
+
overrides-encoding branch via isMemberAliasHovered.
|
|
5948
|
+
Resolution order (most-emphatic first):
|
|
5949
|
+
isPinned || isHovered → 1 (direct attention)
|
|
5950
|
+
isMemberAliasHovered → 1 (R561 inspection)
|
|
5951
|
+
box.isOrphan → 0.4 (R551 orphan rest)
|
|
5952
|
+
(default) → 0.55
|
|
5953
|
+
R484/R485/R486-family mirror. */
|
|
5954
|
+
opacity={isPinned || isHovered || isMemberAliasHovered ? 1 : box.isOrphan ? 0.4 : 0.55}
|
|
5955
|
+
data-group-label-opacity={isPinned || isHovered || isMemberAliasHovered ? 1 : box.isOrphan ? 0.4 : 0.55}
|
|
4885
5956
|
data-group-label-hovered={isHovered && !isPinned ? 'true' : 'false'}
|
|
5957
|
+
data-group-label-member-alias-hovered={isMemberAliasHovered ? 'true' : 'false'}
|
|
4886
5958
|
data-group-label-font-weight={isPinned ? '800' : '700'}
|
|
4887
5959
|
/* Round 479 / Loop — extend drop-shadow visual-polish
|
|
4888
5960
|
family to a 4th anchor: group-label parent text
|
|
@@ -4905,17 +5977,94 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4905
5977
|
transition list extends to include 'filter 200ms
|
|
4906
5978
|
ease-out' alongside the existing fill/ls/fw/opacity
|
|
4907
5979
|
200ms tweens. */
|
|
4908
|
-
|
|
5980
|
+
/* Round 538 / Loop — extends R479 group-label drop-
|
|
5981
|
+
shadow from pin-only to ALSO fire on hover, with
|
|
5982
|
+
a 2-tier alpha ladder matching the R432 letter-
|
|
5983
|
+
spacing 3-tier (hover at 0.25px / pin at 0.5px)
|
|
5984
|
+
pattern. Pre-R538 the paint axis was binary (lit
|
|
5985
|
+
on pin, dark on hover); R538 adds a softer hover
|
|
5986
|
+
glow that distinguishes from the stronger pin
|
|
5987
|
+
glow without losing the "active state lights up"
|
|
5988
|
+
gesture.
|
|
5989
|
+
2-tier alpha ladder:
|
|
5990
|
+
pin (committed) cyan 80 hex (~50% alpha)
|
|
5991
|
+
hover (preview) cyan 4d hex (~30% alpha)
|
|
5992
|
+
rest none
|
|
5993
|
+
Pin signature stays distinctively brighter, but
|
|
5994
|
+
hover now telegraphs paint-axis attention too.
|
|
5995
|
+
Sibling to R534 edge-badge hover-precedence
|
|
5996
|
+
extension at the drop-shadow family. R479 hue
|
|
5997
|
+
(pal.legendAccent) preserved across both tiers.
|
|
5998
|
+
data-group-label-glow attr upgraded from binary
|
|
5999
|
+
('true'/'false') to 3-value ('pin' | 'hover' |
|
|
6000
|
+
'false') so tests can distinguish gate cause. */
|
|
6001
|
+
data-group-label-glow={isPinned ? 'pin' : isHovered ? 'hover' : 'false'}
|
|
6002
|
+
/* Round 499 / Loop — orphan band "其他" label gets
|
|
6003
|
+
fontStyle: italic to visually distinguish the
|
|
6004
|
+
catchall from real prefix-group bands. Pre-R499
|
|
6005
|
+
the orphan box label rendered identically to
|
|
6006
|
+
prefix-group labels (Hero D fontSize=9, fw=700,
|
|
6007
|
+
opacity 0.55 rest), so users had to read the
|
|
6008
|
+
literal text "其他" to identify the catchall. R499
|
|
6009
|
+
adds a pure-typography differentiation: italic
|
|
6010
|
+
signals "this is the misc bucket, not a real
|
|
6011
|
+
named group" while preserving full opacity
|
|
6012
|
+
affordance on hover/pin — the orphan box stays
|
|
6013
|
+
equally inspectable, just typographically marked
|
|
6014
|
+
as a different category. No geometry change
|
|
6015
|
+
(italic shifts glyph slant within the same bbox),
|
|
6016
|
+
no opacity loss, no behavior change. Sibling to
|
|
6017
|
+
R432 letter-spacing 3-tier + R457 pin fw-lift +
|
|
6018
|
+
R479 pin drop-shadow at the group-label scope.
|
|
6019
|
+
Falls under 配色 / 节点视觉 themes per the prompt;
|
|
6020
|
+
advances the "信息密度" axis by encoding
|
|
6021
|
+
category-distinction into a single typography
|
|
6022
|
+
channel without adding visual chrome. */
|
|
6023
|
+
/* Round 571 / Loop — group-label parent text joins the
|
|
6024
|
+
per-element brightness consistency family (R501/
|
|
6025
|
+
R558/R564/R567/R570) at uniform +15%. 8th anchor.
|
|
6026
|
+
Stacks brightness(1.15) onto the existing R479/R538
|
|
6027
|
+
drop-shadow filter — same R564/R570 stacked filter
|
|
6028
|
+
pattern (drop-shadow + brightness in one CSS chain).
|
|
6029
|
+
Pre-R571 the group-label parent text lifted in 5
|
|
6030
|
+
axes on hover/pin (fill + ls 3-tier + fw on pin +
|
|
6031
|
+
drop-shadow + opacity) but the glyph chromatically
|
|
6032
|
+
stayed at flat fill brightness. R571 adds the
|
|
6033
|
+
brightness axis to the glyph itself for cross-
|
|
6034
|
+
element consistency with the rest of the per-
|
|
6035
|
+
element brightness family.
|
|
6036
|
+
Filter chain on isPinned: `drop-shadow(0 0 3px
|
|
6037
|
+
${pal.legendAccent}80) brightness(1.15)`.
|
|
6038
|
+
On isHovered (weaker tier): `drop-
|
|
6039
|
+
shadow(0 0 3px ${pal.legendAccent}4d) brightness(1.15)`.
|
|
6040
|
+
Rest: undefined.
|
|
6041
|
+
Per-element brightness family — 8 anchors at +15%:
|
|
6042
|
+
R501 vendor.logo image
|
|
6043
|
+
R558 vendor monogram
|
|
6044
|
+
R558 prefix-group fallback
|
|
6045
|
+
R564 alias text (stacked w/ DS)
|
|
6046
|
+
R567 node sub-text
|
|
6047
|
+
R570 edge-badge digit
|
|
6048
|
+
R571 group-label parent text ← this round
|
|
6049
|
+
transition list already includes 'filter 200ms ease-
|
|
6050
|
+
out' from R479 — no change needed. R432 ls + R457
|
|
6051
|
+
fw + R479 drop-shadow + R551 orphan opacity all
|
|
6052
|
+
preserved. */
|
|
4909
6053
|
style={{
|
|
4910
6054
|
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
|
|
4911
6055
|
letterSpacing: isPinned ? '0.5px' :
|
|
4912
6056
|
isHovered ? '0.25px' : '0px',
|
|
6057
|
+
fontStyle: box.isOrphan ? 'italic' : undefined,
|
|
4913
6058
|
filter: isPinned
|
|
4914
|
-
? `drop-shadow(0 0 3px ${pal.legendAccent}80)`
|
|
4915
|
-
:
|
|
6059
|
+
? `drop-shadow(0 0 3px ${pal.legendAccent}80) brightness(1.15)`
|
|
6060
|
+
: isHovered
|
|
6061
|
+
? `drop-shadow(0 0 3px ${pal.legendAccent}4d) brightness(1.15)`
|
|
6062
|
+
: undefined,
|
|
4916
6063
|
}}
|
|
4917
6064
|
data-group-label={box.key}
|
|
4918
6065
|
data-group-label-pinned={isPinned ? 'true' : 'false'}
|
|
6066
|
+
data-group-label-orphan={box.isOrphan ? 'true' : 'false'}
|
|
6067
|
+
data-group-label-brightness={(isPinned || isHovered) ? '1.15' : '1'}
|
|
4919
6068
|
>
|
|
4920
6069
|
{box.key}
|
|
4921
6070
|
{/* Round 19 / Loop: member-count chip. Inline tspan stays
|
|
@@ -5377,6 +6526,19 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5377
6526
|
unchanged at the join with the arrow marker).
|
|
5378
6527
|
data-edge-visible-linecap attr exposes the value
|
|
5379
6528
|
for tests. */}
|
|
6529
|
+
{/* Round 582 — edge visible flow path joins per-element
|
|
6530
|
+
brightness family at 21st anchor. Stacks
|
|
6531
|
+
brightness(1.15) with the existing url(#topo-glow)
|
|
6532
|
+
SVG filter (cyber) or applies plain brightness
|
|
6533
|
+
(light). CSS filter accepts mixed url() + function
|
|
6534
|
+
values; inline style.filter overrides any
|
|
6535
|
+
attribute-level filter. Closes edge-tier brightness
|
|
6536
|
+
sub-family at 2 surfaces:
|
|
6537
|
+
R581 flow-rail (dashed underline) brightness
|
|
6538
|
+
R582 visible path (primary curve) brightness ← this round
|
|
6539
|
+
transition list extends to include 'filter 300ms
|
|
6540
|
+
ease-out' matching the existing opacity/sw/stroke
|
|
6541
|
+
cadence. */}
|
|
5380
6542
|
<path
|
|
5381
6543
|
d={path}
|
|
5382
6544
|
fill="none"
|
|
@@ -5384,15 +6546,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5384
6546
|
strokeWidth={renderWidth}
|
|
5385
6547
|
strokeLinecap="round"
|
|
5386
6548
|
opacity={Math.min(1, (isLight ? 0.22 : 0.28) * fresh * edgeOpacityMul)}
|
|
5387
|
-
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
5388
6549
|
markerEnd={`url(#${arrowId})`}
|
|
5389
6550
|
data-edge-visible={link.key}
|
|
5390
6551
|
data-edge-visible-linecap="round"
|
|
5391
6552
|
data-edge-visible-endpoint-hovered={isEndpointHoveredEdge ? 'true' : 'false'}
|
|
5392
6553
|
data-edge-visible-stroke-width={renderWidth}
|
|
6554
|
+
data-edge-visible-brightness={(isHoveredEdge || isEndpointHoveredEdge) ? '1.15' : '1'}
|
|
5393
6555
|
style={{
|
|
5394
6556
|
pointerEvents: 'none',
|
|
5395
|
-
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
|
|
6557
|
+
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out, filter 300ms ease-out',
|
|
6558
|
+
filter: (isHoveredEdge || isEndpointHoveredEdge)
|
|
6559
|
+
? (isLight ? 'brightness(1.15)' : 'url(#topo-glow) brightness(1.15)')
|
|
6560
|
+
: (isLight ? undefined : 'url(#topo-glow)'),
|
|
5396
6561
|
}}
|
|
5397
6562
|
/>
|
|
5398
6563
|
{/* Round 378 / Loop: edge flow-path dashed-rail picks
|
|
@@ -5442,7 +6607,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5442
6607
|
data-edge-flow-rail-linecap="round"
|
|
5443
6608
|
data-edge-flow-rail-stroke-width={(isHoveredEdge || isEndpointHoveredEdge) ? 1.5 : 1}
|
|
5444
6609
|
data-edge-flow-rail-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5445
|
-
|
|
6610
|
+
/* Round 581 — flow-rail joins per-element brightness
|
|
6611
|
+
family at 20th anchor. Adds brightness(1.15) on
|
|
6612
|
+
edge hover or endpoint hover. Joins R437 sw-lift
|
|
6613
|
+
paint pattern at the dashed-underline tier — when
|
|
6614
|
+
an edge is in focus, the rail's stroke widens
|
|
6615
|
+
(R437) AND brightens (R581) together, reading
|
|
6616
|
+
as a coherent rail-lift gesture under the flow.
|
|
6617
|
+
transition list extends to include 'filter 300ms
|
|
6618
|
+
ease-out' matching the R245/R437 cadence on this
|
|
6619
|
+
surface. */
|
|
6620
|
+
data-edge-flow-rail-brightness={(isHoveredEdge || isEndpointHoveredEdge) ? '1.15' : '1'}
|
|
6621
|
+
style={{
|
|
6622
|
+
transition: 'opacity 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, filter 300ms ease-out',
|
|
6623
|
+
filter: (isHoveredEdge || isEndpointHoveredEdge)
|
|
6624
|
+
? 'brightness(1.15)'
|
|
6625
|
+
: undefined,
|
|
6626
|
+
}}
|
|
5446
6627
|
/>
|
|
5447
6628
|
{!reducedMotion && (
|
|
5448
6629
|
/* Round 103 / Loop: phase-stagger the particles so
|
|
@@ -5512,7 +6693,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5512
6693
|
data-edge-particle-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5513
6694
|
data-edge-particle-opacity-rest={Math.min(1, fresh * edgeOpacityMul).toFixed(2)}
|
|
5514
6695
|
data-edge-particle-opacity-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5515
|
-
|
|
6696
|
+
/* Round 583 — flow particle joins per-element
|
|
6697
|
+
brightness family at 22nd anchor. Adds
|
|
6698
|
+
brightness(1.15) on edge hover or endpoint
|
|
6699
|
+
hover, joining R485 opacity inspection-override
|
|
6700
|
+
+ R422 r-lift (4 → 4.5) + R164 hover-r-lift
|
|
6701
|
+
(4.5 → 5.5). Particle now has 4-axis active
|
|
6702
|
+
signature on edge inspection:
|
|
6703
|
+
R485 opacity (freshness → 1.0)
|
|
6704
|
+
R164 r 4.5 → 5.5
|
|
6705
|
+
R422 r-base 4 → 4.5 (visual-weight bump)
|
|
6706
|
+
R583 brightness(1.15) ← this round
|
|
6707
|
+
Particle becomes the brightest paint element
|
|
6708
|
+
along the edge during inspection. */
|
|
6709
|
+
data-edge-particle-brightness={(isHoveredEdge || isEndpointHoveredEdge) ? '1.15' : '1'}
|
|
6710
|
+
style={{
|
|
6711
|
+
transition: 'fill 200ms ease-out, opacity 200ms ease-out, r 200ms ease-out, filter 200ms ease-out',
|
|
6712
|
+
/* R583 — stack brightness(1.15) onto the existing
|
|
6713
|
+
url(#topo-glow) (cyber) or apply plain brightness
|
|
6714
|
+
(light). Inline style.filter overrides attribute
|
|
6715
|
+
filter; stacked syntax preserves the cyber glow
|
|
6716
|
+
on hover. Same R582 visible-path stack pattern. */
|
|
6717
|
+
filter: (isHoveredEdge || isEndpointHoveredEdge)
|
|
6718
|
+
? (isLight ? 'brightness(1.15)' : 'url(#topo-glow) brightness(1.15)')
|
|
6719
|
+
: undefined,
|
|
6720
|
+
}}
|
|
5516
6721
|
>
|
|
5517
6722
|
<animateMotion
|
|
5518
6723
|
dur={`${duration}s`}
|
|
@@ -6002,11 +7207,48 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6002
7207
|
data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
|
|
6003
7208
|
data-edge-badge-opacity-hover="1"
|
|
6004
7209
|
data-edge-badge-opacity-active="1"
|
|
6005
|
-
data-edge-badge-glow={isHot ? '
|
|
7210
|
+
data-edge-badge-glow={(isHoveredEdge || isPinned) ? 'hover' : isHot ? 'hot' : 'false'}
|
|
7211
|
+
/* Round 534 / Loop — extends edge-badge drop-shadow
|
|
7212
|
+
coverage from hot-only (R480 amber) to also fire
|
|
7213
|
+
on hover/pin with a cyan accent glow. Pre-R534
|
|
7214
|
+
the badge's hover/pin lifted r (R164 9 → 10.5)
|
|
7215
|
+
+ sw (R394 1.25 → 1.5) + opacity (R395/R396 →
|
|
7216
|
+
1.0), but the paint axis stayed at the badge's
|
|
7217
|
+
rest fill — no glow to telegraph "in focus" at
|
|
7218
|
+
the paint layer. R534 closes that 4-axis hover-
|
|
7219
|
+
lift parity by adding drop-shadow glow on
|
|
7220
|
+
(hovered || pinned).
|
|
7221
|
+
Precedence: (hover || pin) wins over isHot when
|
|
7222
|
+
BOTH true — interactive signal (user is
|
|
7223
|
+
inspecting) overrides informational signal
|
|
7224
|
+
(hot lane). When only isHot fires (no hover/
|
|
7225
|
+
pin) the amber R480 glow remains; the hover/
|
|
7226
|
+
pin case paints cyan/teal `pal.legendAccent`
|
|
7227
|
+
at 0x99 alpha (~60%) — bright enough to read
|
|
7228
|
+
as "lit" but won't overwhelm at small badge
|
|
7229
|
+
size (r=10.5).
|
|
7230
|
+
Edge-badge 4-axis hover-lift parity now:
|
|
7231
|
+
R164 r 9 → 10.5
|
|
7232
|
+
R394 stroke-wd 1.25 → 1.5
|
|
7233
|
+
R395 opacity rest → 1.0
|
|
7234
|
+
R534 filter none → drop-shadow glow ← this round
|
|
7235
|
+
Drop-shadow visual-polish family extension —
|
|
7236
|
+
edge-badge surface upgraded from single-gate
|
|
7237
|
+
(R480 isHot) to two-gate (isHot OR hover-pin).
|
|
7238
|
+
transition list already includes filter 200ms
|
|
7239
|
+
ease-out (R480). data-edge-badge-glow attr
|
|
7240
|
+
upgraded from `isHot ? true : false` to a
|
|
7241
|
+
3-value string: 'hot' | 'hover' | 'false' so
|
|
7242
|
+
tests can distinguish gate cause.
|
|
7243
|
+
R51 sentinel safety: badge is edge-internal
|
|
7244
|
+
(not g[data-node] ancestor); filter is paint-
|
|
7245
|
+
only; bbox unchanged. */
|
|
6006
7246
|
style={{
|
|
6007
|
-
filter:
|
|
6008
|
-
? `drop-shadow(0 0 3px ${
|
|
6009
|
-
:
|
|
7247
|
+
filter: (isHoveredEdge || isPinned)
|
|
7248
|
+
? `drop-shadow(0 0 3px ${pal.legendAccent}99)`
|
|
7249
|
+
: isHot
|
|
7250
|
+
? `drop-shadow(0 0 3px ${hotStroke}80)`
|
|
7251
|
+
: undefined,
|
|
6010
7252
|
transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
|
|
6011
7253
|
}}
|
|
6012
7254
|
/>
|
|
@@ -6096,6 +7338,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6096
7338
|
data-edge-badge-text={link.key}
|
|
6097
7339
|
data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
|
|
6098
7340
|
data-edge-badge-text-font-size="11"
|
|
7341
|
+
/* Round 570 / Loop — edge-badge digit joins the per-
|
|
7342
|
+
element brightness consistency family (R501/R558/
|
|
7343
|
+
R564/R567) at uniform +15%. 7th anchor.
|
|
7344
|
+
Gate: (isHoveredEdge || isPinned || isHot) — same
|
|
7345
|
+
3-tier set as R431 ls (with hover the mid step
|
|
7346
|
+
and pin/hot the strong step). Brightness lifts
|
|
7347
|
+
uniformly across all 3 active sub-states; the
|
|
7348
|
+
ls/fw axes still distinguish hover from pin/hot.
|
|
7349
|
+
Pure paint axis on the digit glyph; bbox
|
|
7350
|
+
unchanged. The R540 badge-circle drop-shadow
|
|
7351
|
+
sits on the parent CIRCLE element (separate
|
|
7352
|
+
filter); the digit's filter is independent and
|
|
7353
|
+
doesn't compound with circle filter (different
|
|
7354
|
+
SVG element).
|
|
7355
|
+
Per-element brightness family — 7 anchors at +15%:
|
|
7356
|
+
R501 vendor.logo image
|
|
7357
|
+
R558 vendor monogram
|
|
7358
|
+
R558 prefix-group fallback
|
|
7359
|
+
R564 alias text (stacked w/ DS)
|
|
7360
|
+
R567 node sub-text
|
|
7361
|
+
R570 edge-badge digit ← this round
|
|
7362
|
+
Plus runtime badge drop-shadow (R559) on same
|
|
7363
|
+
isNodeActive gate. data-edge-badge-text-brightness
|
|
7364
|
+
attr surfaces the lift for tests. */
|
|
7365
|
+
data-edge-badge-text-brightness={(isHoveredEdge || isPinned || isHot) ? '1.15' : '1'}
|
|
6099
7366
|
style={{
|
|
6100
7367
|
pointerEvents: 'none',
|
|
6101
7368
|
fontVariantNumeric: 'tabular-nums',
|
|
@@ -6114,7 +7381,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6114
7381
|
now): R344/R345/R347/R351/R420/R427/R431. */
|
|
6115
7382
|
letterSpacing: (isPinned || isHot) ? '0.4px' :
|
|
6116
7383
|
isHoveredEdge ? '0.2px' : '0px',
|
|
6117
|
-
|
|
7384
|
+
filter: (isHoveredEdge || isPinned || isHot)
|
|
7385
|
+
? 'brightness(1.15)'
|
|
7386
|
+
: undefined,
|
|
7387
|
+
transition: 'letter-spacing 300ms ease-out, font-weight 300ms ease-out, filter 300ms ease-out',
|
|
6118
7388
|
}}
|
|
6119
7389
|
>{link.count}</text>
|
|
6120
7390
|
</g>
|
|
@@ -6306,6 +7576,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6306
7576
|
data-hub-busyness={busy}
|
|
6307
7577
|
data-topo-hub-halo-radius={haloR}
|
|
6308
7578
|
data-topo-hub-halo-hovered={isHaloHovered ? 'true' : 'false'}
|
|
7579
|
+
data-topo-hub-halo-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
6309
7580
|
data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
|
|
6310
7581
|
data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
|
|
6311
7582
|
/* Round 253 / Loop: hub grounding halo fill transition
|
|
@@ -6317,10 +7588,59 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6317
7588
|
conflict.
|
|
6318
7589
|
R451: r as CSS property (R197/R198 idiom) so the
|
|
6319
7590
|
hover-radius tween eases smoothly under the same
|
|
6320
|
-
200ms cadence as fill.
|
|
7591
|
+
200ms cadence as fill.
|
|
7592
|
+
R536: extends hub-cluster glow QUARTET (R476 digit
|
|
7593
|
+
+ R532 disc + R535 ring + R533 spokes) to a 5th
|
|
7594
|
+
tier — the halo gains drop-shadow at the outermost
|
|
7595
|
+
concentric ring on hub-hover. 2px blur + 0.3 alpha
|
|
7596
|
+
keeps the halo's glow subtle since (a) the halo is
|
|
7597
|
+
the LARGEST hub element (r=22 hover) and a heavier
|
|
7598
|
+
glow would bleed visibly past the ring tier into
|
|
7599
|
+
the spoke origin, and (b) the halo already SMIL-
|
|
7600
|
+
animates opacity (R84/R244 breath), so the visible
|
|
7601
|
+
glow pulses with the breath — an atmospheric
|
|
7602
|
+
"breathing glow" idiom rather than a static rim.
|
|
7603
|
+
Hub-cluster glow QUINTET (R476/R532/R533/R535/R536):
|
|
7604
|
+
digit (typo center) 3px emerald 0.6
|
|
7605
|
+
disc (r=5.5/6) 3px emerald 0.6
|
|
7606
|
+
ring (r=14/17) 3px emerald 0.5
|
|
7607
|
+
halo (r=20/22) 2px emerald 0.3 ← this round
|
|
7608
|
+
spokes (mesh) 1.5px cyan/teal 0.4
|
|
7609
|
+
Emerald palette continues through the focal-disc
|
|
7610
|
+
family (digit/disc/ring/halo); spokes break out
|
|
7611
|
+
into cyan/teal at the mesh tier. The 4-step alpha
|
|
7612
|
+
ladder 0.6→0.6→0.5→0.3 reads as the focal cluster
|
|
7613
|
+
fading outward — the OUTERMOST emerald glow is the
|
|
7614
|
+
softest, the focal digit is the brightest.
|
|
7615
|
+
filter is paint-only; SMIL animate on opacity
|
|
7616
|
+
continues independently (attribute vs CSS-property
|
|
7617
|
+
non-conflicting). transition list extends to
|
|
7618
|
+
'filter 200ms ease-out' alongside fill + r.
|
|
7619
|
+
Drop-shadow visual-polish family extension (12
|
|
7620
|
+
anchors). preview.50 milestone round. data-topo-
|
|
7621
|
+
hub-halo-glow attr exposes the gate state. */
|
|
7622
|
+
data-topo-hub-halo-brightness={!reducedMotion && hoveredHub ? '1.15' : '1'}
|
|
7623
|
+
/* Round 577 — hub-halo joins per-element brightness
|
|
7624
|
+
family at 15th anchor. Stacks brightness(1.15)
|
|
7625
|
+
onto R536's hub-hover drop-shadow — closes the
|
|
7626
|
+
hub-cluster focal brightness coverage at 3
|
|
7627
|
+
concentric elements:
|
|
7628
|
+
hub digit (R575)
|
|
7629
|
+
hub-highlight (R574)
|
|
7630
|
+
hub-halo (R577) ← this round
|
|
7631
|
+
All 3 hub focal elements now lift through stacked
|
|
7632
|
+
drop-shadow + brightness on hub-hover. Halo is
|
|
7633
|
+
the OUTERMOST so a slight chromatic lift reads as
|
|
7634
|
+
the focal cluster intensifying its ambient glow
|
|
7635
|
+
outward. */
|
|
6321
7636
|
style={{
|
|
6322
7637
|
r: `${haloR}px`,
|
|
6323
|
-
|
|
7638
|
+
filter: !reducedMotion && hoveredHub
|
|
7639
|
+
? (isLight
|
|
7640
|
+
? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.3)) brightness(1.15)'
|
|
7641
|
+
: 'drop-shadow(0 0 2px rgba(52, 211, 153, 0.3)) brightness(1.15)')
|
|
7642
|
+
: undefined,
|
|
7643
|
+
transition: 'fill 200ms ease-out, r 200ms ease-out, filter 200ms ease-out',
|
|
6324
7644
|
} as React.CSSProperties}
|
|
6325
7645
|
>
|
|
6326
7646
|
{/* Round 244 / Loop: hub grounding halo breath gets
|
|
@@ -6480,6 +7800,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6480
7800
|
data-topo-hub-working-count={workingCount}
|
|
6481
7801
|
data-topo-hub-working-count-font-size="12"
|
|
6482
7802
|
data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
|
|
7803
|
+
data-topo-hub-working-count-brightness={!reducedMotion && hoveredHub ? '1.15' : '1'}
|
|
6483
7804
|
data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
|
|
6484
7805
|
// Round 209 / Loop: hub workingCount digit scales 1.0 →
|
|
6485
7806
|
// 1.08 on hub-hover, matching R177's r 14→17 ring grow.
|
|
@@ -6530,22 +7851,109 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6530
7851
|
so the glow eases under the same cadence as the
|
|
6531
7852
|
scale + fw + fill axes. */
|
|
6532
7853
|
data-topo-hub-working-count-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
7854
|
+
/* Round 507 / Loop — focal recede. When ANY non-hub
|
|
7855
|
+
canvas surface is hovered (a node / an edge / a
|
|
7856
|
+
group label / a legend row / a vendor chip), the
|
|
7857
|
+
hub-center workingCount digit fades to 0.85 opacity,
|
|
7858
|
+
signaling "you're inspecting elsewhere, hub recedes
|
|
7859
|
+
to background." When the user un-hovers (or hovers
|
|
7860
|
+
the hub itself), opacity returns to 1.0. Pure paint
|
|
7861
|
+
polish at the canvas's most prominent focal point.
|
|
7862
|
+
Hits 信息密度 + 动效 themes — the hub digit gives
|
|
7863
|
+
way visually to the surface under inspection,
|
|
7864
|
+
reinforcing the "this is the focal point right now"
|
|
7865
|
+
gesture without requiring users to track which
|
|
7866
|
+
surface holds attention.
|
|
7867
|
+
Gate excludes hoveredHub specifically: hovering the
|
|
7868
|
+
hub itself should LIFT the digit (R425 fw bump +
|
|
7869
|
+
R476 glow + R209 scale 1.08) — the existing hover-
|
|
7870
|
+
on-hub signature is intact; only inspection
|
|
7871
|
+
ELSEWHERE recedes the hub.
|
|
7872
|
+
Composed from existing hoveredAlias / hoveredEdge-
|
|
7873
|
+
Key / hoveredGroupLabel / hoveredStatus / hovered-
|
|
7874
|
+
Vendor — no new state. 300ms ease-out opacity
|
|
7875
|
+
transition already in the style list (existing R213
|
|
7876
|
+
transition spec), so the fade rides on existing
|
|
7877
|
+
infrastructure.
|
|
7878
|
+
data-topo-hub-recede attr surfaces the gate state
|
|
7879
|
+
for tests. */
|
|
7880
|
+
data-topo-hub-recede={
|
|
7881
|
+
(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
7882
|
+
hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
|
|
7883
|
+
}
|
|
7884
|
+
/* Round 527 / Loop — focal-amplify family extension to a
|
|
7885
|
+
2nd anchor. R511 introduced focal-amplify at the hub-
|
|
7886
|
+
highlight disc (base opacity 0.95 → 1.0 on hover); R527
|
|
7887
|
+
extends to the hub-center workingCount digit with a
|
|
7888
|
+
letter-spacing tween 0 → 0.3px on hub-hover.
|
|
7889
|
+
Composes with existing 3-axis hub-hover signature on
|
|
7890
|
+
this element:
|
|
7891
|
+
R209 transform scale(1.08) geometry
|
|
7892
|
+
R425 fontWeight 700 → 800 typography weight
|
|
7893
|
+
R476 filter drop-shadow glow paint
|
|
7894
|
+
R527 letter-spacing 0 → 0.3px typography kerning ← this round
|
|
7895
|
+
tabular-nums (R225) preserved — each digit cell keeps
|
|
7896
|
+
fixed width; the inter-digit advance grows by 0.3px
|
|
7897
|
+
per gap. Single-digit counts (1-9) show no kerning
|
|
7898
|
+
effect; multi-digit counts (10+) show the spread as
|
|
7899
|
+
info-density signaling. Sibling to R427/R431/R432/
|
|
7900
|
+
R433/R434 (hover-letter-spacing family at panel-text
|
|
7901
|
+
scope) — R527 brings the same idiom to the canvas's
|
|
7902
|
+
most-read scalar.
|
|
7903
|
+
Reduced-motion gate matches R209 scale, R425 fw, R476
|
|
7904
|
+
filter — !reducedMotion gates the lift; reducedMotion
|
|
7905
|
+
users see static digit baseline regardless of hover.
|
|
7906
|
+
Focal-amplify family extension (2 anchors): R511 hub-
|
|
7907
|
+
highlight opacity / R527 hub-digit letter-spacing.
|
|
7908
|
+
transition list extends to include `letter-spacing
|
|
7909
|
+
200ms ease-out`, matching the cadence of the other
|
|
7910
|
+
hub-hover axes. data-topo-hub-working-count-letter-
|
|
7911
|
+
spacing attr exposes the resolved value for tests. */
|
|
7912
|
+
data-topo-hub-working-count-letter-spacing={!reducedMotion && hoveredHub ? '0.3px' : '0px'}
|
|
6533
7913
|
style={{
|
|
6534
7914
|
pointerEvents: 'none',
|
|
6535
7915
|
transform: !reducedMotion && hoveredHub ? 'scale(1.08)' : 'scale(1)',
|
|
6536
7916
|
transformBox: 'fill-box',
|
|
6537
7917
|
transformOrigin: 'center',
|
|
7918
|
+
opacity: (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
7919
|
+
hoveredStatus || hoveredVendor) && !hoveredHub
|
|
7920
|
+
? 0.85
|
|
7921
|
+
: 1,
|
|
7922
|
+
/* Round 575 (60-round milestone) — hub digit joins per-
|
|
7923
|
+
element brightness family at 14th anchor. Stacks
|
|
7924
|
+
brightness(1.15) onto R476's hub-hover drop-shadow
|
|
7925
|
+
— same R564/R570/R571/R572/R573/R574 pattern (drop-
|
|
7926
|
+
shadow + brightness in one filter chain). Closes
|
|
7927
|
+
the hub-cluster focal-element brightness coverage
|
|
7928
|
+
symmetrically: hub digit + hub-highlight disc
|
|
7929
|
+
(R574) now BOTH have stacked filter on hub-hover.
|
|
7930
|
+
Hub digit hub-hover signature post-R575 — 5 active
|
|
7931
|
+
axes:
|
|
7932
|
+
R209 scale 1.08 (geometry)
|
|
7933
|
+
R425 fw 700 → 800 (typography)
|
|
7934
|
+
R527 ls 0 → 0.3px (typography)
|
|
7935
|
+
R476 drop-shadow glow (paint halo)
|
|
7936
|
+
R575 brightness(1.15) (paint glow) ← this round
|
|
7937
|
+
Hub-cluster focal cluster (digit + highlight) now
|
|
7938
|
+
has UNIFIED 5-axis hub-hover signature reading as
|
|
7939
|
+
one tightly-coupled motion-coherent lift. */
|
|
6538
7940
|
filter: !reducedMotion && hoveredHub
|
|
6539
7941
|
? (isLight
|
|
6540
|
-
? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.6))'
|
|
6541
|
-
: 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.6))')
|
|
7942
|
+
? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.6)) brightness(1.15)'
|
|
7943
|
+
: 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.6)) brightness(1.15)')
|
|
6542
7944
|
: undefined,
|
|
7945
|
+
letterSpacing: !reducedMotion && hoveredHub ? '0.3px' : '0px',
|
|
6543
7946
|
/* R425: font-weight 200ms appended so the hover fw
|
|
6544
7947
|
bump 700 → 800 eases under the same cadence as
|
|
6545
7948
|
R209 scale + R253 fill + R213 opacity.
|
|
6546
7949
|
R476: filter 200ms appended so the new drop-
|
|
6547
|
-
shadow glow eases at the same cadence.
|
|
6548
|
-
|
|
7950
|
+
shadow glow eases at the same cadence.
|
|
7951
|
+
R507: opacity 300ms (existing in list) covers
|
|
7952
|
+
the new focal-recede fade.
|
|
7953
|
+
R527: letter-spacing 200ms appended so the new
|
|
7954
|
+
hover-kerning bump eases at the same cadence
|
|
7955
|
+
as the other axes. */
|
|
7956
|
+
transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out, letter-spacing 200ms ease-out',
|
|
6549
7957
|
fontVariantNumeric: 'tabular-nums',
|
|
6550
7958
|
}}
|
|
6551
7959
|
>
|
|
@@ -6591,20 +7999,188 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6591
7999
|
+ R213 always-mount opacity-gate + pointerEvents:none
|
|
6592
8000
|
+ R365 r=5.5 all preserved. data-topo-hub-highlight-
|
|
6593
8001
|
opacity attr exposes the resolved value for tests. */}
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
8002
|
+
{/* Round 508 / Loop — focal-recede pattern 2nd anchor.
|
|
8003
|
+
Extends R507's hub-digit recede to the hub-highlight
|
|
8004
|
+
circle so the hub focal CLUSTER (digit at z-top + this
|
|
8005
|
+
idle-state highlight beneath) recedes as a unit when
|
|
8006
|
+
canvas attention is elsewhere. Computed once: a single
|
|
8007
|
+
non-hub-hover gate drives BOTH the digit (R507) AND
|
|
8008
|
+
this highlight (R508) so they always co-move.
|
|
8009
|
+
Recede multiplies the visible opacity by 0.85 — when
|
|
8010
|
+
workingCount===0 the rest opacity 0.95 becomes 0.81
|
|
8011
|
+
during external-hover; when workingCount>0 the
|
|
8012
|
+
opacity stays 0 (invisible) regardless of recede.
|
|
8013
|
+
Additionally, when recede is active the SMIL breath
|
|
8014
|
+
animation halts (animate node un-mounts) so the
|
|
8015
|
+
receded state reads as quietly static, not pulsing
|
|
8016
|
+
at 0.85↔1.0 against the recede multiplier (which
|
|
8017
|
+
would visually conflict — competing 15% drops). On
|
|
8018
|
+
un-hover the animate re-mounts and breath resumes.
|
|
8019
|
+
data-topo-hub-recede on both digit AND highlight
|
|
8020
|
+
provides a stable test handle for the unified-recede
|
|
8021
|
+
gate.
|
|
8022
|
+
Composed from existing hover state vars — no new
|
|
8023
|
+
state. Pure paint axis. */}
|
|
8024
|
+
{(() => {
|
|
8025
|
+
const hubRecede = !!((hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
8026
|
+
hoveredStatus || hoveredVendor) && !hoveredHub);
|
|
8027
|
+
/* Round 511 / Loop — hub-highlight gains a 3rd opacity tier
|
|
8028
|
+
(hovered-amplify). Pre-R511 the highlight had 2 visible
|
|
8029
|
+
states: rest (0.95) and recede (0.81 = 0.95 × 0.85).
|
|
8030
|
+
When the hub itself was hovered, the digit got R425 fw
|
|
8031
|
+
lift + R476 drop-shadow + R209 scale-1.08, but the
|
|
8032
|
+
highlight disc sibling stayed at 0.95 — the focal
|
|
8033
|
+
cluster lifted in 3 channels (typography/paint/scale)
|
|
8034
|
+
but the highlight didn't participate.
|
|
8035
|
+
R511 closes that asymmetry: when hoveredHub is true,
|
|
8036
|
+
highlight base opacity lifts to 1.0 (5% boost from
|
|
8037
|
+
rest 0.95). Cluster now lifts as a unit on hub-hover,
|
|
8038
|
+
just like it recedes as a unit on non-hub-hover
|
|
8039
|
+
(R508).
|
|
8040
|
+
3-state opacity ladder:
|
|
8041
|
+
hub-hovered: baseOpacity = 1.0 (R511 NEW)
|
|
8042
|
+
rest (no hover): baseOpacity = 0.95 (existing)
|
|
8043
|
+
non-hub canvas hov: baseOpacity × 0.85 = 0.81 (R508)
|
|
8044
|
+
Composes cleanly: hubRecede gate requires !hoveredHub,
|
|
8045
|
+
so the hovered-amplify and recede states are mutually
|
|
8046
|
+
exclusive (they can't both fire). breathActive
|
|
8047
|
+
continues to halt on either non-rest state (recede OR
|
|
8048
|
+
hub-hover would visually compete with the 0.85↔1
|
|
8049
|
+
breath — clean for the unit-lift semantic too). */
|
|
8050
|
+
const baseOpacity = workingCount > 0 ? 0
|
|
8051
|
+
: hoveredHub ? 1.0
|
|
8052
|
+
: 0.95;
|
|
8053
|
+
const resolvedOpacity = hubRecede ? baseOpacity * 0.85 : baseOpacity;
|
|
8054
|
+
const breathActive = !reducedMotion && workingCount === 0 && !hubRecede && !hoveredHub;
|
|
8055
|
+
/* Round 529 / Loop — focal-amplify family 3rd anchor.
|
|
8056
|
+
Hub-highlight gains geometric amplify r 5.5 → 6 on
|
|
8057
|
+
hub-hover, mirroring R451's hub-halo r 20 → 22 hover
|
|
8058
|
+
pattern. Pre-R529 the highlight had paint-axis
|
|
8059
|
+
amplify only (R511 opacity 0.95 → 1.0 on hub-hover);
|
|
8060
|
+
R529 adds geometric amplify so the focal disc
|
|
8061
|
+
BREATHES outward on hub attention, like the halo
|
|
8062
|
+
does. Composes with the existing 2-axis hub-hover
|
|
8063
|
+
lift on this element:
|
|
8064
|
+
R511 opacity 0.95 → 1.0 paint (focal-amplify 1st)
|
|
8065
|
+
R529 r 5.5 → 6 geometry (this round)
|
|
8066
|
+
Implementation matches R451: CSS `r` property
|
|
8067
|
+
(R197/R198 idiom) for smooth interpolation. SVG
|
|
8068
|
+
attribute `r="5.5"` provides SSR fallback and serves
|
|
8069
|
+
as default; inline style.r overrides for animated
|
|
8070
|
+
value. transition list extends to include `r 200ms
|
|
8071
|
+
ease-out`, matching the fill cadence (also 200ms);
|
|
8072
|
+
opacity transition stays at 300ms (existing).
|
|
8073
|
+
r 6 sits well inside the existing visual envelope
|
|
8074
|
+
(next-larger sibling r=10 hub core, r=14 hub hover
|
|
8075
|
+
ring). The 0.5px lift is +9% radius / +19% area —
|
|
8076
|
+
enough to read as 'lift' without breaching the core
|
|
8077
|
+
boundary or invalidating overlap-test invariants.
|
|
8078
|
+
SMIL animate on opacity continues independently
|
|
8079
|
+
(animateAttr='opacity' vs CSS-property r — non-
|
|
8080
|
+
conflicting, same pattern R451 noted for halo).
|
|
8081
|
+
Focal-amplify family extension (3 anchors):
|
|
8082
|
+
R511 hub-highlight opacity 0.95 → 1.0
|
|
8083
|
+
R527 hub-digit letter-spacing 0 → 0.3px
|
|
8084
|
+
R529 hub-highlight radius 5.5 → 6 ← this round
|
|
8085
|
+
data-topo-hub-highlight-radius attr now reports the
|
|
8086
|
+
dynamic value (was static '5.5'). */
|
|
8087
|
+
const highlightR = !reducedMotion && hoveredHub ? 6 : 5.5;
|
|
8088
|
+
return (
|
|
8089
|
+
<circle
|
|
8090
|
+
cx={cx} cy={cy} r="5.5"
|
|
8091
|
+
/* Round 509 / Loop — 配色 cross-theme cleanup. Pre-R509
|
|
8092
|
+
the hub-highlight fill was hardcoded `#d1fae5`
|
|
8093
|
+
(emerald-100, a pale tone). On the light theme this
|
|
8094
|
+
near-white green ran against a pale background at
|
|
8095
|
+
0.95 opacity — the disc was effectively invisible.
|
|
8096
|
+
Matches the existing R253 halo theme-inversion
|
|
8097
|
+
pattern (line ~6481): light theme picks the dark
|
|
8098
|
+
vibrant emerald (#10b981 emerald-600), dark theme
|
|
8099
|
+
keeps the pale emerald (#d1fae5 emerald-100). Both
|
|
8100
|
+
read at the same 0.95 opacity against their
|
|
8101
|
+
respective backdrops — light gets a saturated
|
|
8102
|
+
focal dot; dark keeps the soft glow signature.
|
|
8103
|
+
Pure paint axis (fill change only); bbox unchanged;
|
|
8104
|
+
R51 SVG sentinel safety untouched.
|
|
8105
|
+
transition list already includes `fill 200ms`?
|
|
8106
|
+
Actually the existing transition spec is `opacity
|
|
8107
|
+
300ms ease-out` — fill change on theme toggle
|
|
8108
|
+
will be instant. That's acceptable: theme toggle
|
|
8109
|
+
is a discrete event, and the halo (line 6500)
|
|
8110
|
+
already snaps fill on theme toggle the same way
|
|
8111
|
+
(`fill 200ms ease-out` was added later to halo
|
|
8112
|
+
via R253). Future round could add `fill 200ms`
|
|
8113
|
+
to highlight too if theme-switch flicker is
|
|
8114
|
+
noticed. */
|
|
8115
|
+
fill={isLight ? '#10b981' : '#d1fae5'}
|
|
8116
|
+
opacity={resolvedOpacity}
|
|
8117
|
+
data-topo-hub-highlight
|
|
8118
|
+
data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
|
|
8119
|
+
data-topo-hub-highlight-radius={highlightR}
|
|
8120
|
+
data-topo-hub-highlight-opacity={resolvedOpacity}
|
|
8121
|
+
data-topo-hub-highlight-breath={breathActive ? 'true' : 'false'}
|
|
8122
|
+
data-topo-hub-highlight-recede={hubRecede ? 'true' : 'false'}
|
|
8123
|
+
data-topo-hub-highlight-hovered={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
8124
|
+
data-topo-hub-highlight-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
8125
|
+
/* Round 574 — hub-highlight joins per-element brightness
|
|
8126
|
+
family at 13th anchor. Stacks brightness(1.15) onto
|
|
8127
|
+
R532's drop-shadow filter — same R564/R570/R571/R572/
|
|
8128
|
+
R573 pattern (drop-shadow + brightness in one filter
|
|
8129
|
+
chain). Hub idle disc now has 3 active hub-hover
|
|
8130
|
+
axes: R511 opacity 0.95 → 1.0 + R529 r 5.5 → 6 +
|
|
8131
|
+
R574 brightness(1.15). data-topo-hub-highlight-
|
|
8132
|
+
brightness attr surfaces the lift. */
|
|
8133
|
+
data-topo-hub-highlight-brightness={!reducedMotion && hoveredHub ? '1.15' : '1'}
|
|
8134
|
+
/* Round 510 / Loop — R509 follow-on: theme-toggle fill
|
|
8135
|
+
ease. Pre-R510 the hub-highlight transition spec only
|
|
8136
|
+
listed `opacity 300ms ease-out`. When R509 introduced
|
|
8137
|
+
theme-conditional fill (#d1fae5 ↔ #10b981), the fill
|
|
8138
|
+
change SNAPPED on theme toggle because the transition
|
|
8139
|
+
list didn't include `fill`. R510 extends to `fill
|
|
8140
|
+
200ms ease-out` so theme cycles smoothly through the
|
|
8141
|
+
emerald palette. 200ms timing matches the R253 halo
|
|
8142
|
+
fill transition (line ~6500) — both hub-cluster
|
|
8143
|
+
theme transitions now share a cadence so the focal
|
|
8144
|
+
cluster (digit + highlight + halo) eases as a unit.
|
|
8145
|
+
R508's recede opacity transition unchanged (300ms);
|
|
8146
|
+
fill is independent.
|
|
8147
|
+
R529: r as CSS property (R197/R198 idiom) + `r
|
|
8148
|
+
200ms ease-out` appended to transition list so
|
|
8149
|
+
the new hub-hover radius lift (5.5 → 6) eases
|
|
8150
|
+
under the same fill cadence. SVG attr r="5.5"
|
|
8151
|
+
above provides SSR fallback; inline style.r
|
|
8152
|
+
wins the cascade for the dynamic value.
|
|
8153
|
+
R532: filter drop-shadow glow on hub-hover —
|
|
8154
|
+
sibling to R476 hub-digit drop-shadow at the
|
|
8155
|
+
same gate (hoveredHub && !reducedMotion). Two
|
|
8156
|
+
adjacent hub focal elements (digit + highlight
|
|
8157
|
+
disc) now BOTH glow on hub-hover, reading as
|
|
8158
|
+
one unified focal cluster. Emerald palette
|
|
8159
|
+
matches R476:
|
|
8160
|
+
light: drop-shadow(0 0 2px rgba(16,185,129,0.6)) emerald-500
|
|
8161
|
+
cyber: drop-shadow(0 0 3px rgba(52,211,153,0.6)) emerald-400
|
|
8162
|
+
filter is paint-only (bbox unchanged); SMIL
|
|
8163
|
+
animate on opacity continues independently
|
|
8164
|
+
(animateAttr='opacity' vs CSS-property filter
|
|
8165
|
+
— non-conflicting). transition list extends to
|
|
8166
|
+
'filter 200ms ease-out' alongside fill/r.
|
|
8167
|
+
Drop-shadow visual-polish family extension
|
|
8168
|
+
(8 anchors): R476 hub-digit / R477 legend pin-
|
|
8169
|
+
ring / R478 recent freshness / hot edge / group
|
|
8170
|
+
label / zoom-state / node alias + R532 hub-
|
|
8171
|
+
highlight (this round). data-topo-hub-highlight-
|
|
8172
|
+
glow attr exposes the gate state. */
|
|
8173
|
+
style={{
|
|
8174
|
+
pointerEvents: 'none',
|
|
8175
|
+
r: `${highlightR}px`,
|
|
8176
|
+
filter: !reducedMotion && hoveredHub
|
|
8177
|
+
? (isLight
|
|
8178
|
+
? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.6)) brightness(1.15)'
|
|
8179
|
+
: 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.6)) brightness(1.15)')
|
|
8180
|
+
: undefined,
|
|
8181
|
+
transition: 'opacity 300ms ease-out, fill 200ms ease-out, r 200ms ease-out, filter 200ms ease-out',
|
|
8182
|
+
} as React.CSSProperties}
|
|
8183
|
+
>
|
|
6608
8184
|
{/* Round 497 / Loop — idle-state breath (呼吸感 theme pivot
|
|
6609
8185
|
from the R492-R496 press-family arc). Pre-R497 the hub
|
|
6610
8186
|
idle highlight read as a static dim disc — present but
|
|
@@ -6625,10 +8201,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6625
8201
|
rather than a pulse, matching the "quiet" semantic.
|
|
6626
8202
|
data-topo-hub-highlight-breath attr exposes the
|
|
6627
8203
|
resolved gate state for tests. */}
|
|
6628
|
-
{
|
|
8204
|
+
{breathActive && (
|
|
6629
8205
|
<animate attributeName="opacity" values="0.85;1;0.85" dur="4s" repeatCount="indefinite" />
|
|
6630
8206
|
)}
|
|
6631
8207
|
</circle>
|
|
8208
|
+
);
|
|
8209
|
+
})()}
|
|
6632
8210
|
{/* R115 / Loop: hover hint ring. Stroke-only circle at r=14
|
|
6633
8211
|
that fades in when the hub is hovered — the same idea
|
|
6634
8212
|
R44 used for node avatars (group-hover stroke). r=14
|
|
@@ -6694,13 +8272,54 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6694
8272
|
data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
|
|
6695
8273
|
data-topo-hub-hover-ring-stroke-width="1.75"
|
|
6696
8274
|
data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
6697
|
-
/* Round
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
8275
|
+
/* Round 535 / Loop — completes the hub-cluster glow
|
|
8276
|
+
QUARTET by adding drop-shadow to the hub-hover-ring.
|
|
8277
|
+
Pre-R535 the hub-hover trio (R476 digit + R532 highlight
|
|
8278
|
+
disc + R533 spokes) glowed in unified emerald (digit/
|
|
8279
|
+
disc) + cyan/teal (spokes) on hub-hover, but the ring
|
|
8280
|
+
itself — the outermost solid emerald boundary at
|
|
8281
|
+
r=14→17 — stayed flat. R535 adds the matching emerald
|
|
8282
|
+
drop-shadow to the ring so the FULL hub-cluster glows
|
|
8283
|
+
across all four concentric surfaces on hub-hover:
|
|
8284
|
+
digit (typography center) drop-shadow 0 0 3px emerald
|
|
8285
|
+
highlight disc (r=5.5/6) drop-shadow 0 0 3px emerald
|
|
8286
|
+
hover-ring (r=14/17) drop-shadow 0 0 3px emerald ← this round
|
|
8287
|
+
spokes (mesh) drop-shadow 0 0 1.5px cyan/teal
|
|
8288
|
+
The ring is only visible on hub-hover (opacity=0 rest);
|
|
8289
|
+
adding drop-shadow at the same gate means the glow shows
|
|
8290
|
+
the moment the ring shows — no extra state needed.
|
|
8291
|
+
Same R476/R532 emerald palette since the ring sits
|
|
8292
|
+
inside the focal-disc tier (its color is also emerald
|
|
8293
|
+
#059669/#10b981).
|
|
8294
|
+
transition list extends to include 'filter 200ms ease-
|
|
8295
|
+
out' alongside the existing 180ms opacity/r — slight
|
|
8296
|
+
cadence mismatch (180 vs 200) is acceptable; the filter
|
|
8297
|
+
only appears AFTER the ring fades in via opacity, and
|
|
8298
|
+
the 200ms vs 180ms 20ms tail difference is below
|
|
8299
|
+
perceptual threshold.
|
|
8300
|
+
Drop-shadow visual-polish family extension (11 anchors):
|
|
8301
|
+
the hub-cluster glow quartet (R476/R532/R533/R535) plus
|
|
8302
|
+
the 7 non-hub anchors (R477/R478/R479/R480/R481/R483/
|
|
8303
|
+
R534) makes for a thoroughly polished glow vocabulary
|
|
8304
|
+
across the canvas.
|
|
8305
|
+
data-topo-hub-hover-ring-glow attr exposes the gate
|
|
8306
|
+
state for tests. */
|
|
8307
|
+
data-topo-hub-hover-ring-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
|
|
8308
|
+
/* Round 579 — hub-hover-ring joins per-element brightness
|
|
8309
|
+
family at 18th anchor. Stacks brightness(1.15) onto
|
|
8310
|
+
R535's drop-shadow — same R564/R570/R571/R572/R573/R574/
|
|
8311
|
+
R575/R577/R578 stacked-filter pattern. Closes hub-
|
|
8312
|
+
cluster brightness at 4 concentric elements (digit
|
|
8313
|
+
R575 + highlight R574 + halo R577 + hover-ring R579). */
|
|
8314
|
+
data-topo-hub-hover-ring-brightness={!reducedMotion && hoveredHub ? '1.15' : '1'}
|
|
6701
8315
|
style={{
|
|
6702
8316
|
pointerEvents: 'none',
|
|
6703
|
-
|
|
8317
|
+
filter: !reducedMotion && hoveredHub
|
|
8318
|
+
? (isLight
|
|
8319
|
+
? 'drop-shadow(0 0 3px rgba(16, 185, 129, 0.5)) brightness(1.15)'
|
|
8320
|
+
: 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.5)) brightness(1.15)')
|
|
8321
|
+
: undefined,
|
|
8322
|
+
transition: 'opacity 180ms ease-out, r 180ms ease-out, stroke 200ms ease-out, filter 200ms ease-out',
|
|
6704
8323
|
}}
|
|
6705
8324
|
/>
|
|
6706
8325
|
</g>)}
|
|
@@ -7477,10 +9096,38 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7477
9096
|
data-edge-endpoint-active={isEndpoint ? 'true' : 'false'}
|
|
7478
9097
|
data-edge-endpoint-ring-stroke-width={isEndpoint ? 2.4 : 1.6}
|
|
7479
9098
|
data-edge-endpoint-ring-radius={endpointR}
|
|
9099
|
+
data-edge-endpoint-ring-brightness={isEndpoint ? '1.15' : '1'}
|
|
7480
9100
|
style={{
|
|
7481
9101
|
pointerEvents: 'none',
|
|
7482
9102
|
r: `${endpointR}px`,
|
|
7483
|
-
|
|
9103
|
+
/* R585 — endpoint emphasis ring gains filter
|
|
9104
|
+
brightness(1.15) when an edge endpoint
|
|
9105
|
+
activates. 24th anchor in per-element
|
|
9106
|
+
brightness family, and the FOURTH edge-tier
|
|
9107
|
+
paint layer:
|
|
9108
|
+
rail (R581)
|
|
9109
|
+
visible path (R582)
|
|
9110
|
+
flow particle (R583)
|
|
9111
|
+
endpoint ring (R585) ← this round
|
|
9112
|
+
Edge-tier brightness coverage closes at 4/4
|
|
9113
|
+
paint surfaces. The endpoint ring is the
|
|
9114
|
+
edge's affinity marker at the connected
|
|
9115
|
+
nodes — when an edge lights up, all four
|
|
9116
|
+
paint surfaces brighten together for a
|
|
9117
|
+
single coherent edge-active gesture spanning
|
|
9118
|
+
the curve + the node ends.
|
|
9119
|
+
Endpoint ring 4-axis active signature now:
|
|
9120
|
+
opacity R182 0 → 0.85/0.9
|
|
9121
|
+
sw R233 1.6 → 2.4
|
|
9122
|
+
r R442 +7 → +8
|
|
9123
|
+
brightness R585 — → 1.15 ← this round
|
|
9124
|
+
Plain brightness (no url-filter stack) since
|
|
9125
|
+
the endpoint ring has no rest-time filter
|
|
9126
|
+
attribute. Inline style.filter undefined at
|
|
9127
|
+
rest (no flicker; opacity=0 already hides
|
|
9128
|
+
the ring). */
|
|
9129
|
+
filter: isEndpoint ? 'brightness(1.15)' : undefined,
|
|
9130
|
+
transition: 'opacity 180ms ease-out, stroke-width 180ms ease-out, r 180ms ease-out, filter 180ms ease-out',
|
|
7484
9131
|
} as React.CSSProperties}
|
|
7485
9132
|
/>
|
|
7486
9133
|
);
|
|
@@ -7556,8 +9203,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7556
9203
|
data-node-status-ring={status.label}
|
|
7557
9204
|
data-node-status-ring-hovered={isRingHovered ? 'true' : 'false'}
|
|
7558
9205
|
data-node-status-ring-stroke-width={ringStrokeWidth}
|
|
9206
|
+
data-node-status-ring-brightness={isRingHovered ? '1.15' : '1'}
|
|
7559
9207
|
style={{
|
|
7560
|
-
|
|
9208
|
+
/* R584 — status ring gets brightness(1.15) on
|
|
9209
|
+
hover. 23rd anchor in per-element brightness
|
|
9210
|
+
family. Stacks with url(#topo-glow) on
|
|
9211
|
+
cyber+online to preserve the SVG glow filter;
|
|
9212
|
+
plain brightness on light or cyber+offline.
|
|
9213
|
+
Same R582/R583 stacked-filter pattern: inline
|
|
9214
|
+
style.filter overrides the attribute filter,
|
|
9215
|
+
stacked syntax preserves the glow on hover.
|
|
9216
|
+
|
|
9217
|
+
Per-node hover signature now 10 layers (added
|
|
9218
|
+
to the R438 stack):
|
|
9219
|
+
R26 group translateY -2px
|
|
9220
|
+
R217 stroke tint
|
|
9221
|
+
R142 drop-shadow boost
|
|
9222
|
+
R427 alias letter-spacing
|
|
9223
|
+
R428 sub-text letter-spacing
|
|
9224
|
+
R429 body opacity 0.94 → 1.0
|
|
9225
|
+
R430 hub-spoke α+
|
|
9226
|
+
R435 hub-spoke sw+
|
|
9227
|
+
R438 status-ring sw +0.5
|
|
9228
|
+
R584 status-ring brightness(1.15) ← this round
|
|
9229
|
+
|
|
9230
|
+
Per-element brightness family: 23 anchors.
|
|
9231
|
+
Stacked-filter sub-pattern: 17 anchors. */
|
|
9232
|
+
filter: isRingHovered
|
|
9233
|
+
? (isLight
|
|
9234
|
+
? 'brightness(1.15)'
|
|
9235
|
+
: (isOnline
|
|
9236
|
+
? 'url(#topo-glow) brightness(1.15)'
|
|
9237
|
+
: 'brightness(1.15)'))
|
|
9238
|
+
: undefined,
|
|
9239
|
+
transition: 'fill 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, filter 300ms ease-out',
|
|
7561
9240
|
}}
|
|
7562
9241
|
/>
|
|
7563
9242
|
);
|
|
@@ -7613,6 +9292,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7613
9292
|
const internByAlias = /书生|书小生|intern/i.test(session.alias);
|
|
7614
9293
|
|
|
7615
9294
|
if (isIntern || internByAlias || vendor.logo) {
|
|
9295
|
+
/* Round 501 / Loop — vendor avatar inside node circles
|
|
9296
|
+
gains a hover-gated brightness lift. Pre-R501 the
|
|
9297
|
+
avatar <image> was the only per-node surface with
|
|
9298
|
+
NO hover treatment: R26 lifted the card, R242 tinted
|
|
9299
|
+
the card stroke, R427 spread the alias letter-
|
|
9300
|
+
spacing, R500 added the alias drop-shadow, R208
|
|
9301
|
+
lifted the runtime badge ring, R443 thickened
|
|
9302
|
+
the badge icon stroke, R177 brightened the
|
|
9303
|
+
halo — but the most visually-prominent element
|
|
9304
|
+
(the vendor logo / 书生 coin centred in each node)
|
|
9305
|
+
stayed paint-static. R501 closes the per-node
|
|
9306
|
+
hover-affordance arc by adding a 15% brightness
|
|
9307
|
+
lift on hover.
|
|
9308
|
+
Implementation: CSS filter: brightness(1.15)
|
|
9309
|
+
when hoveredAlias === session.alias. Pure paint
|
|
9310
|
+
axis on the <image> element — no geometry change,
|
|
9311
|
+
no bbox shift. Modern-browser supported (Chrome 64+
|
|
9312
|
+
/ FF 56+ / Safari 9.1+).
|
|
9313
|
+
Hits 节点视觉 theme. data-node-avatar-hovered
|
|
9314
|
+
attr surfaces the gate for tests.
|
|
9315
|
+
Gated on !reducedMotion as a courtesy (brightness
|
|
9316
|
+
transition < ~50ms still feels instant; the gate
|
|
9317
|
+
avoids the transition cycle for a11y users). */
|
|
9318
|
+
const isAvatarHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
7616
9319
|
return (
|
|
7617
9320
|
<image
|
|
7618
9321
|
href={vendor.logo ?? '/intern_avatar.png'}
|
|
@@ -7621,9 +9324,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7621
9324
|
width={size}
|
|
7622
9325
|
height={size}
|
|
7623
9326
|
preserveAspectRatio="xMidYMid meet"
|
|
9327
|
+
data-node-avatar={session.alias}
|
|
9328
|
+
data-node-avatar-hovered={isAvatarHovered ? 'true' : 'false'}
|
|
9329
|
+
style={{
|
|
9330
|
+
filter: isAvatarHovered ? 'brightness(1.15)' : undefined,
|
|
9331
|
+
transition: 'filter 200ms ease-out',
|
|
9332
|
+
}}
|
|
7624
9333
|
/>
|
|
7625
9334
|
);
|
|
7626
9335
|
}
|
|
9336
|
+
/* Round 558 / Loop — closes the per-node avatar hover-
|
|
9337
|
+
affordance arc by extending R501's brightness lift
|
|
9338
|
+
(image-branch only) to the TWO remaining avatar
|
|
9339
|
+
variants: vendor monogram + prefix-group hue-hashed
|
|
9340
|
+
initial fallback. Pre-R558 only the vendor.logo
|
|
9341
|
+
image branch lifted on hover; the other two
|
|
9342
|
+
variants stayed paint-static under attention.
|
|
9343
|
+
|
|
9344
|
+
Per-node avatar hover-brightness family (3 anchors,
|
|
9345
|
+
all gated on !reducedMotion && hoveredAlias matches):
|
|
9346
|
+
R501 vendor.logo image filter on <image>
|
|
9347
|
+
R558 vendor monogram filter on wrapping <g>
|
|
9348
|
+
R558 prefix-group fallback filter on wrapping <g>
|
|
9349
|
+
|
|
9350
|
+
Implementation: each fallback branch returns a
|
|
9351
|
+
fragment with <circle> + <text> as siblings.
|
|
9352
|
+
Wrapping them in a single <g> with the filter
|
|
9353
|
+
centralizes the paint axis. Same brightness(1.15)
|
|
9354
|
+
value as R501 for cross-branch consistency. Same
|
|
9355
|
+
transition cadence (filter 200ms ease-out).
|
|
9356
|
+
|
|
9357
|
+
data-node-avatar-monogram-hovered + -fallback-
|
|
9358
|
+
hovered attrs surface the gates for tests. */
|
|
9359
|
+
const isAvatarFallbackHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
7627
9360
|
if (vendor.id !== 'unknown') {
|
|
7628
9361
|
// Known model house, logo asset not in public/vendors/
|
|
7629
9362
|
// yet — vendor-tinted monogram stands in.
|
|
@@ -7643,7 +9376,14 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7643
9376
|
where less visual weight signals "we don't know
|
|
7644
9377
|
what this is" appropriately. */
|
|
7645
9378
|
return (
|
|
7646
|
-
|
|
9379
|
+
<g
|
|
9380
|
+
data-node-avatar-monogram={session.alias}
|
|
9381
|
+
data-node-avatar-monogram-hovered={isAvatarFallbackHovered ? 'true' : 'false'}
|
|
9382
|
+
style={{
|
|
9383
|
+
filter: isAvatarFallbackHovered ? 'brightness(1.15)' : undefined,
|
|
9384
|
+
transition: 'filter 200ms ease-out',
|
|
9385
|
+
}}
|
|
9386
|
+
>
|
|
7647
9387
|
<circle cx={pos.x} cy={pos.y} r={ar} fill={vendor.mono.bg} stroke={vendor.mono.ring} strokeWidth="1.5" />
|
|
7648
9388
|
{/* Round 284 / Loop: known-vendor monogram letter
|
|
7649
9389
|
swaps fontFamily monospace → system sans-serif.
|
|
@@ -7675,14 +9415,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7675
9415
|
>
|
|
7676
9416
|
{vendor.initial}
|
|
7677
9417
|
</text>
|
|
7678
|
-
|
|
9418
|
+
</g>
|
|
7679
9419
|
);
|
|
7680
9420
|
}
|
|
7681
9421
|
// Round 106 (issue #83): hue keyed to the prefix group,
|
|
7682
9422
|
// not the full alias — every 通信* node shares one color.
|
|
7683
9423
|
const c = aliasAvatarColors(groupKeys[session.alias] || session.alias);
|
|
7684
9424
|
return (
|
|
7685
|
-
|
|
9425
|
+
<g
|
|
9426
|
+
data-node-avatar-fallback={session.alias}
|
|
9427
|
+
data-node-avatar-fallback-hovered={isAvatarFallbackHovered ? 'true' : 'false'}
|
|
9428
|
+
style={{
|
|
9429
|
+
filter: isAvatarFallbackHovered ? 'brightness(1.15)' : undefined,
|
|
9430
|
+
transition: 'filter 200ms ease-out',
|
|
9431
|
+
}}
|
|
9432
|
+
>
|
|
7686
9433
|
<circle cx={pos.x} cy={pos.y} r={ar} fill={c.bg} stroke={c.ring} strokeWidth="1" />
|
|
7687
9434
|
<text
|
|
7688
9435
|
x={pos.x}
|
|
@@ -7696,7 +9443,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7696
9443
|
>
|
|
7697
9444
|
{aliasInitial(session.alias)}
|
|
7698
9445
|
</text>
|
|
7699
|
-
|
|
9446
|
+
</g>
|
|
7700
9447
|
);
|
|
7701
9448
|
})()}
|
|
7702
9449
|
{/* Issue #96: runtime badge — small corner glyph marking the
|
|
@@ -7727,7 +9474,73 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7727
9474
|
// badge-active exposes the gate for tests.
|
|
7728
9475
|
const isNodeActive = !reducedMotion && hoveredAlias === session.alias;
|
|
7729
9476
|
return (
|
|
7730
|
-
|
|
9477
|
+
/* Round 559 / Loop — runtime badge outer <g> picks up
|
|
9478
|
+
a drop-shadow glow on node hover, using the runtime's
|
|
9479
|
+
own identity color (rt.color, hex). 16th anchor in
|
|
9480
|
+
the drop-shadow visual-polish family. Pairs with
|
|
9481
|
+
existing R208 ring r-lift + R443 icon sw-lift for
|
|
9482
|
+
a 3-axis runtime-badge hover signature now spanning
|
|
9483
|
+
geometry + stroke + paint glow:
|
|
9484
|
+
R208 ring r 7 → 8 (online)
|
|
9485
|
+
R208 ring sw 1.5 → 2
|
|
9486
|
+
R443 icon sw 2.4 → 2.8
|
|
9487
|
+
R559 outer filter none → drop-shadow(rt.color) ← this round
|
|
9488
|
+
Filter on the OUTER <g> applies uniformly to both
|
|
9489
|
+
the ring <circle> and the inner icon <path> —
|
|
9490
|
+
single paint-axis lift covers both layers in one
|
|
9491
|
+
motion-coherent gesture.
|
|
9492
|
+
Hue: `${rt.color}99` hex+alpha (60%) — rt.color is
|
|
9493
|
+
6-digit hex (#a78bfa / #38bdf8 / #34d399 / #fbbf24
|
|
9494
|
+
per lib/vendorIdentity.ts), so hex+alpha concat is
|
|
9495
|
+
safe (banked R541 pattern: hex sources use hex+
|
|
9496
|
+
alpha; only hsl/color()/dynamic sources need color-
|
|
9497
|
+
mix).
|
|
9498
|
+
2px blur reads tight on a small badge (r=7 online
|
|
9499
|
+
/ r=5.5 offline). transition list adds 'filter
|
|
9500
|
+
150ms ease-out' matching the R208 ring r/sw cadence
|
|
9501
|
+
at this surface.
|
|
9502
|
+
Drop-shadow visual-polish family extension (16
|
|
9503
|
+
anchors now): R476/R477/R478/R479/R480/R481 +
|
|
9504
|
+
R500/R532-R536/R537/R538/R540/R543-R546/R550 +
|
|
9505
|
+
R559 (this round).
|
|
9506
|
+
data-runtime-badge-glow attr surfaces the gate
|
|
9507
|
+
for tests. */
|
|
9508
|
+
<g
|
|
9509
|
+
data-runtime-badge-glow={isNodeActive ? 'true' : 'false'}
|
|
9510
|
+
data-runtime-badge-brightness={isNodeActive ? '1.15' : '1'}
|
|
9511
|
+
style={{
|
|
9512
|
+
pointerEvents: 'none',
|
|
9513
|
+
/* R586 — runtime badge outer <g> stacks
|
|
9514
|
+
brightness(1.15) onto the existing R559
|
|
9515
|
+
drop-shadow on node hover. 25th anchor in
|
|
9516
|
+
per-element brightness family, 18th in
|
|
9517
|
+
stacked-filter sub-pattern.
|
|
9518
|
+
|
|
9519
|
+
Runtime badge hover signature now CLOSED
|
|
9520
|
+
at 4 axes (geometry + stroke + paint glow
|
|
9521
|
+
+ paint brightness):
|
|
9522
|
+
R208 ring r 7 → 8
|
|
9523
|
+
R208 ring sw 1.5 → 2
|
|
9524
|
+
R443 icon sw 2.4 → 2.8
|
|
9525
|
+
R559 outer filter none → drop-shadow(rt.color)
|
|
9526
|
+
R586 outer filter stack brightness(1.15) ← this round
|
|
9527
|
+
|
|
9528
|
+
The drop-shadow + brightness stack is the
|
|
9529
|
+
banked R564/R570 "halo + glow" pattern —
|
|
9530
|
+
drop-shadow paints the colored halo, brightness
|
|
9531
|
+
lifts the underlying paint (ring stroke +
|
|
9532
|
+
icon path both gain ~15% luminance). Single
|
|
9533
|
+
CSS filter chain on the outer <g> covers
|
|
9534
|
+
both child layers uniformly.
|
|
9535
|
+
|
|
9536
|
+
Same R208/R443/R559 150ms cadence preserved
|
|
9537
|
+
via the existing transition. */
|
|
9538
|
+
filter: isNodeActive
|
|
9539
|
+
? `drop-shadow(0 0 2px ${rt.color}99) brightness(1.15)`
|
|
9540
|
+
: undefined,
|
|
9541
|
+
transition: 'filter 150ms ease-out',
|
|
9542
|
+
}}
|
|
9543
|
+
>
|
|
7731
9544
|
<circle
|
|
7732
9545
|
cx={bx} cy={by} r={br}
|
|
7733
9546
|
fill={pal.containerBg}
|
|
@@ -8044,6 +9857,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8044
9857
|
R211 fill 300ms + R305 letter-spacing 200ms
|
|
8045
9858
|
transition list preserved; only the
|
|
8046
9859
|
conditional gets a middle case. */}
|
|
9860
|
+
{/* Round 500 / Loop — milestone round, opens
|
|
9861
|
+
per-node alias drop-shadow polish. Extends the
|
|
9862
|
+
R476-R481 drop-shadow visual-polish family to a
|
|
9863
|
+
7th anchor: hovered alias text gains a soft
|
|
9864
|
+
status-coloured text-glow. Pre-R500 hover on
|
|
9865
|
+
a node triggered card-lift (R26 translateY) +
|
|
9866
|
+
card-stroke (R242 tint) + alias letter-spacing
|
|
9867
|
+
(R427 0.3px tier) but the alias TEXT itself had
|
|
9868
|
+
no paint-axis cue beyond fill (R211). R500 adds
|
|
9869
|
+
a drop-shadow on the text glyph itself, so the
|
|
9870
|
+
identity glyph itself lights up under attention
|
|
9871
|
+
— matching the R476 idiom (hub-digit emerald
|
|
9872
|
+
glow on hover) at the per-node identity scope.
|
|
9873
|
+
2px blur radius at 50% alpha — subtler than the
|
|
9874
|
+
R476 hub-digit (3px at 60%) because the alias
|
|
9875
|
+
text is smaller and more numerous (1 per node)
|
|
9876
|
+
so an aggressive glow would multiply into
|
|
9877
|
+
visual noise. Status-coloured (status.text) so
|
|
9878
|
+
the glow inherits the node's working/idle/
|
|
9879
|
+
offline palette — green/cyan/gray respectively.
|
|
9880
|
+
Drop-shadow visual-polish family — 7 anchors:
|
|
9881
|
+
R476 hub digit hover-gated emerald
|
|
9882
|
+
R477 legend pin-ring pin-gated row.fill
|
|
9883
|
+
R478 recent-row pip fresh-gated cyan
|
|
9884
|
+
R479 group-label text pin-gated cyan
|
|
9885
|
+
R480 hot-lane edge hot-gated amber
|
|
9886
|
+
R481 zoom-state minimap zoom-gated cyan
|
|
9887
|
+
R500 node alias text hover-gated status.text ← this round
|
|
9888
|
+
Filter is paint-only; bbox unchanged; overlap-
|
|
9889
|
+
test invariants hold (R51 selector gated to
|
|
9890
|
+
g[data-node] descendants with strokeWidth
|
|
9891
|
+
sentinels; text element doesn't carry stroke).
|
|
9892
|
+
transition list extends to include 'filter
|
|
9893
|
+
200ms ease-out' alongside the existing fill
|
|
9894
|
+
300ms + letter-spacing 200ms tweens.
|
|
9895
|
+
data-node-alias-glow attr surfaces the hover
|
|
9896
|
+
gate for tests. */}
|
|
8047
9897
|
<text
|
|
8048
9898
|
x="0" y="1" textAnchor="middle"
|
|
8049
9899
|
fill={status.text}
|
|
@@ -8051,12 +9901,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8051
9901
|
data-node-alias-text={session.alias}
|
|
8052
9902
|
data-node-alias-chat-target={chatAlias === session.alias ? 'true' : 'false'}
|
|
8053
9903
|
data-node-alias-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
9904
|
+
data-node-alias-glow={!reducedMotion && hoveredAlias === session.alias ? 'true' : 'false'}
|
|
8054
9905
|
style={{
|
|
8055
|
-
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
9906
|
+
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out, filter 200ms ease-out',
|
|
8056
9907
|
letterSpacing:
|
|
8057
9908
|
chatAlias === session.alias ? '0.5px' :
|
|
8058
9909
|
hoveredAlias === session.alias ? '0.3px' : '0px',
|
|
9910
|
+
/* Round 564 / Loop — alias text filter stacks
|
|
9911
|
+
brightness(1.15) on top of R500's drop-shadow
|
|
9912
|
+
on hover. Mirrors R542 pressure-seg pattern
|
|
9913
|
+
(brightness + drop-shadow in one stacked
|
|
9914
|
+
filter declaration). Pre-R564 hover added
|
|
9915
|
+
only a drop-shadow halo around the glyph;
|
|
9916
|
+
post-R564 the glyph ALSO brightens, so the
|
|
9917
|
+
identity text reads as both "glowing" AND
|
|
9918
|
+
"lit up" under attention — dual paint axes
|
|
9919
|
+
through one filter chain.
|
|
9920
|
+
CSS filter supports multiple functions
|
|
9921
|
+
applied left-to-right. brightness(1.15)
|
|
9922
|
+
lifts the per-status text color (status.text:
|
|
9923
|
+
green/teal/slate per tier) by 15%; the drop-
|
|
9924
|
+
shadow then paints the outer halo in the
|
|
9925
|
+
status-tier hue. Together: the alias glyph
|
|
9926
|
+
both intensifies its identity color AND
|
|
9927
|
+
radiates outward in that same color.
|
|
9928
|
+
Same +15% brightness as R501 vendor logo
|
|
9929
|
+
avatar (banked per-node hover-brightness
|
|
9930
|
+
pattern). Consistent +15% across all per-
|
|
9931
|
+
node identity surfaces (logo, monogram,
|
|
9932
|
+
fallback avatar from R558, AND now alias
|
|
9933
|
+
text). Cross-element brightness consistency.
|
|
9934
|
+
data-node-alias-brightness attr surfaces
|
|
9935
|
+
the lift for tests. */
|
|
9936
|
+
filter: !reducedMotion && hoveredAlias === session.alias
|
|
9937
|
+
? `drop-shadow(0 0 2px ${status.text}80) brightness(1.15)`
|
|
9938
|
+
: undefined,
|
|
8059
9939
|
}}
|
|
9940
|
+
data-node-alias-brightness={!reducedMotion && hoveredAlias === session.alias ? '1.15' : '1'}
|
|
8060
9941
|
>
|
|
8061
9942
|
{truncate(session.alias, fullMax)}
|
|
8062
9943
|
</text>
|
|
@@ -8096,6 +9977,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8096
9977
|
alias > status hierarchy holds at the type
|
|
8097
9978
|
level. data-node-sub-text-font-weight attr
|
|
8098
9979
|
exposes the value for tests. */}
|
|
9980
|
+
{/* Round 567 / Loop — node sub-text joins the per-
|
|
9981
|
+
node hover-brightness consistency family. Pre-
|
|
9982
|
+
R567 sub-text had only fill brighten (R211) +
|
|
9983
|
+
ls 0→0.2 (R428); the alias text above lifted
|
|
9984
|
+
via R500 drop-shadow + R564 brightness(1.15)
|
|
9985
|
+
stacked. R567 adds brightness(1.15) to sub-
|
|
9986
|
+
text on the same isNodeActive gate so it
|
|
9987
|
+
chromatically lifts together with the alias.
|
|
9988
|
+
Per-node hover-brightness consistency family
|
|
9989
|
+
— 6 anchors at uniform +15%:
|
|
9990
|
+
R501 vendor.logo image filter on <image>
|
|
9991
|
+
R558 vendor monogram filter on <g>
|
|
9992
|
+
R558 prefix-group fallback filter on <g>
|
|
9993
|
+
R564 alias text (stacked w/ DS) brightness(1.15)
|
|
9994
|
+
R567 node sub-text brightness(1.15) ← this round
|
|
9995
|
+
(+ R559 runtime badge drop-shadow tier-color glow)
|
|
9996
|
+
Now every per-node identity surface (3 avatar
|
|
9997
|
+
variants + alias + sub-text + badge) lifts
|
|
9998
|
+
together on node hover with consistent visual
|
|
9999
|
+
response.
|
|
10000
|
+
Pure paint axis; bbox unchanged. transition
|
|
10001
|
+
list extends to include 'filter 200ms ease-
|
|
10002
|
+
out' matching R428 ls cadence at this scope.
|
|
10003
|
+
data-node-sub-text-brightness attr exposes
|
|
10004
|
+
the lift for tests. */}
|
|
8099
10005
|
<text
|
|
8100
10006
|
x="0" y={subY} textAnchor="middle"
|
|
8101
10007
|
fill={status.primary}
|
|
@@ -8104,9 +10010,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8104
10010
|
data-node-sub-text={session.alias}
|
|
8105
10011
|
data-node-sub-text-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
8106
10012
|
data-node-sub-text-font-weight="500"
|
|
10013
|
+
data-node-sub-text-brightness={!reducedMotion && hoveredAlias === session.alias ? '1.15' : '1'}
|
|
8107
10014
|
style={{
|
|
8108
|
-
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
10015
|
+
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out, filter 200ms ease-out',
|
|
8109
10016
|
letterSpacing: hoveredAlias === session.alias ? '0.2px' : '0px',
|
|
10017
|
+
filter: !reducedMotion && hoveredAlias === session.alias
|
|
10018
|
+
? 'brightness(1.15)'
|
|
10019
|
+
: undefined,
|
|
8110
10020
|
}}
|
|
8111
10021
|
>
|
|
8112
10022
|
{status.label}{isOnline && sseCountFor != null ? ` sse:${sseCountFor}` : ''}
|
|
@@ -8583,7 +10493,55 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8583
10493
|
200ms ease-out' alongside R345's ls + R55's fill
|
|
8584
10494
|
200ms. data-recent-panel-title-fw exposes the
|
|
8585
10495
|
resolved weight for tests. */}
|
|
8586
|
-
|
|
10496
|
+
{/* Round 550 / Loop — drop-shadow visual-polish family
|
|
10497
|
+
extends to a 14th anchor: the recent-panel header
|
|
10498
|
+
title gains a soft pal.legendAccent glow when the
|
|
10499
|
+
panel has an active row (activeEdgeKey). Pre-R550
|
|
10500
|
+
the title's state-flip on active was 2-axis (R482
|
|
10501
|
+
fw 700→800 + R345 ls 0.3→0.4 when panel-hovered);
|
|
10502
|
+
R550 adds the paint axis so the title brightens
|
|
10503
|
+
paint-wise alongside the typographic tightening when
|
|
10504
|
+
a row inside its panel is locked.
|
|
10505
|
+
|
|
10506
|
+
Hue: pal.legendAccent + hex alpha '80' (~50%) — same
|
|
10507
|
+
strength as R479 group-label pin-glow at the parent
|
|
10508
|
+
panel-title scope. 2px blur reads soft; cyan accent
|
|
10509
|
+
ties the title visually to the active row's pin
|
|
10510
|
+
colour (cyber: cyan-300 / light: teal-600). Hex+alpha
|
|
10511
|
+
concat safe — pal.legendAccent is '#67e8f9' (cyber)
|
|
10512
|
+
or '#0d9488' (light), both 6-digit hex (banked R541:
|
|
10513
|
+
hex sources use hex+alpha; only hsl/color()/dynamic
|
|
10514
|
+
sources need color-mix).
|
|
10515
|
+
|
|
10516
|
+
Drop-shadow visual-polish family extension (14
|
|
10517
|
+
anchors now):
|
|
10518
|
+
R476 hub digit hover-gated emerald
|
|
10519
|
+
R477 legend pin-ring pin-gated row.fill
|
|
10520
|
+
R478 recent-row pip freshness cyan
|
|
10521
|
+
R479 group-label text pin-gated cyan
|
|
10522
|
+
R532-R536 hub-cluster glow QUINTET
|
|
10523
|
+
R537 legend swatch hover/pin row.fill
|
|
10524
|
+
R538 group-label hover-precedence
|
|
10525
|
+
R540 edge-badge text pin-gated cyan
|
|
10526
|
+
R543-R546 pin-active pill 4-variant arc
|
|
10527
|
+
R550 recent-panel title pin-gated cyan ← this round
|
|
10528
|
+
R550 legend-panel title pin-gated cyan ← sibling (next text below)
|
|
10529
|
+
|
|
10530
|
+
filter is paint-only; bbox unchanged; overlap-test
|
|
10531
|
+
invariants hold. transition list extends to include
|
|
10532
|
+
'filter 200ms ease-out' alongside R345 ls + R482 fw
|
|
10533
|
+
+ R55 fill 200ms — one motion-coherent 3-axis active-
|
|
10534
|
+
state lift.
|
|
10535
|
+
data-recent-panel-title-glow attr exposes the gate
|
|
10536
|
+
state for tests. */}
|
|
10537
|
+
{/* Round 573 / Loop — recent panel-title joins per-element
|
|
10538
|
+
brightness family at 11th anchor. Stacks brightness(1.15)
|
|
10539
|
+
onto R550's active-gated drop-shadow. Mirrors R572
|
|
10540
|
+
panel-row text pattern at the panel-TITLE tier — both
|
|
10541
|
+
panels now have brightness in their active signature
|
|
10542
|
+
at BOTH chrome tiers (title + row text), completing
|
|
10543
|
+
the panel paint-axis cascade. */}
|
|
10544
|
+
<text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={activeEdgeKey ? '800' : '700'} letterSpacing={hoveredPanel === 'recent' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out', filter: activeEdgeKey ? `drop-shadow(0 0 2px ${pal.legendAccent}80) brightness(1.15)` : undefined }} data-recent-panel-title data-recent-panel-title-fw={activeEdgeKey ? '800' : '700'} data-recent-panel-title-active={activeEdgeKey ? 'true' : 'false'} data-recent-panel-title-glow={activeEdgeKey ? 'true' : 'false'} data-recent-panel-title-brightness={activeEdgeKey ? '1.15' : '1'}>recent signal</text>
|
|
8587
10545
|
{/* R96: header count now matches what the rows show. Pre-R96
|
|
8588
10546
|
this read "X msgs" off the raw messages array, but the
|
|
8589
10547
|
rows below render DEDUPED flowLinks — so a fleet with 10
|
|
@@ -8658,21 +10616,59 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8658
10616
|
textAnchor="end"
|
|
8659
10617
|
fontSize="10"
|
|
8660
10618
|
fontFamily="monospace"
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
10619
|
+
/* Round 566 / Loop — recent-panel-count gains hover-
|
|
10620
|
+
state letter-spacing tween (0.2 → 0.4 on hovered-
|
|
10621
|
+
Panel === 'recent'). Pairs with R424 fw 600→700
|
|
10622
|
+
on the same gate. Count now has 2-axis hover
|
|
10623
|
+
signature (fw + ls), matching the panel title's
|
|
10624
|
+
R345 ls + R482 fw lift pattern at the panel-
|
|
10625
|
+
header data-tspan scope. R349 editorial 0.2
|
|
10626
|
+
baseline preserved at rest — only hover lifts.
|
|
10627
|
+
Sibling treatment on the legend-panel count
|
|
10628
|
+
below closes the panel-pair symmetry. */
|
|
10629
|
+
letterSpacing={hoveredPanel === 'recent' ? '0.4' : '0.2'}
|
|
10630
|
+
data-recent-panel-count-letter-spacing={hoveredPanel === 'recent' ? '0.4' : '0.2'}
|
|
10631
|
+
data-recent-panel-count-brightness={hoveredPanel === 'recent' ? '1.15' : '1'}
|
|
10632
|
+
style={{
|
|
10633
|
+
/* R589 — recent-signal panel count <text> root gains
|
|
10634
|
+
brightness(1.15) on hoveredPanel === 'recent'.
|
|
10635
|
+
28th anchor in per-element brightness family.
|
|
10636
|
+
Sibling to R588 at the legend panel; closes
|
|
10637
|
+
panel-pair brightness symmetry at the header-
|
|
10638
|
+
count scope.
|
|
10639
|
+
|
|
10640
|
+
Panel-pair title↔count brightness parity now
|
|
10641
|
+
complete:
|
|
10642
|
+
legend title pinnedStatus gate (R571 family)
|
|
10643
|
+
legend count hoveredPanel gate (R588)
|
|
10644
|
+
recent title activeEdgeKey gate (R571 family)
|
|
10645
|
+
recent count hoveredPanel gate (R589) ← this round
|
|
10646
|
+
|
|
10647
|
+
All 4 panel-header text elements respond on the
|
|
10648
|
+
brightness axis — full symmetric closure.
|
|
10649
|
+
|
|
10650
|
+
Recent-signal panel count hover signature now
|
|
10651
|
+
3 axes (mirrors R588 legend count closure):
|
|
10652
|
+
R311/R424 fontWeight 600 → 700
|
|
10653
|
+
R349/R566 letter-spacing 0.2 → 0.4
|
|
10654
|
+
R589 brightness 1 → 1.15 ← this round
|
|
10655
|
+
|
|
10656
|
+
Filter applied at <text> root (the parent here);
|
|
10657
|
+
the nested fw-changing tspan inherits the lift
|
|
10658
|
+
via SVG inheritance — unlike applying to tspan
|
|
10659
|
+
directly, which is unreliable cross-browser.
|
|
10660
|
+
|
|
10661
|
+
The R162 freshness-tinted fill (cyan/teal alpha
|
|
10662
|
+
1.0 → 0.30 by ageSec) gets the +15% multiplied
|
|
10663
|
+
in — fresh data (alpha=1) reads dramatically
|
|
10664
|
+
brighter on hover; stale data (alpha=0.30) gets
|
|
10665
|
+
a proportionally smaller absolute lift. Hover
|
|
10666
|
+
brightness is freshness-amplifying at this
|
|
10667
|
+
surface — coherent with the panel's "freshness
|
|
10668
|
+
is the primary signal" semantic. */
|
|
10669
|
+
filter: hoveredPanel === 'recent' ? 'brightness(1.15)' : undefined,
|
|
10670
|
+
transition: 'letter-spacing 200ms ease-out, filter 200ms ease-out',
|
|
10671
|
+
}}
|
|
8676
10672
|
>
|
|
8677
10673
|
{/* Round 225 / Loop: tabular-nums on the panel-header
|
|
8678
10674
|
flow-count tspan. The "{N} flows" string lives in
|
|
@@ -9327,11 +11323,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9327
11323
|
tier without disturbing the surrounding family
|
|
9328
11324
|
baseline. data-recent-row-text-font-weight attr
|
|
9329
11325
|
exposes the value for tests. */
|
|
9330
|
-
|
|
11326
|
+
/* Round 530 / Loop — extends hover-fw family
|
|
11327
|
+
(R416/R420/R425/R520/R521/R522, 6 anchors) to
|
|
11328
|
+
a 7th anchor: recent-row alias text gains
|
|
11329
|
+
fontWeight 500 → 600 on (isRowHovered ||
|
|
11330
|
+
isRowPinned). Pre-R530 R363 set fw=500
|
|
11331
|
+
statically; hover/pin lifted other axes
|
|
11332
|
+
(R55 fill brighten / R434 letter-spacing
|
|
11333
|
+
3-tier / R143 translateY / R104 row bg-
|
|
11334
|
+
tint / R474 cadence) but the fw stayed
|
|
11335
|
+
flat — same asymmetry R520 closed at the
|
|
11336
|
+
+N more footer.
|
|
11337
|
+
R530 mirrors R520's pattern at the row-
|
|
11338
|
+
text scope. Hover OR pin (isRowActive
|
|
11339
|
+
union) lifts fw to 600, matching the count
|
|
11340
|
+
tspan's cold-state tier (R320 fw=600), so
|
|
11341
|
+
on active state the alias label reads at
|
|
11342
|
+
the same data tier as the count it sits
|
|
11343
|
+
next to. Inner count tspan has its own
|
|
11344
|
+
explicit fontWeight (600 or 700 per R320/
|
|
11345
|
+
R445) so parent fw lift doesn't bleed
|
|
11346
|
+
(inheritance overridden).
|
|
11347
|
+
Hover-fw family extension (7 anchors):
|
|
11348
|
+
R416 chip-row count digit
|
|
11349
|
+
R420 chrome zoom-level
|
|
11350
|
+
R425 hub-center digit
|
|
11351
|
+
R520 +N more flows footer
|
|
11352
|
+
R521 chrome nodeSize S/M/L inactive
|
|
11353
|
+
R522 chrome layout Ring/Grid inactive
|
|
11354
|
+
R530 recent-row alias text ← this round
|
|
11355
|
+
transition list extends to include
|
|
11356
|
+
'font-weight 200ms ease-out', matching the
|
|
11357
|
+
R474 cadence of the existing fill +
|
|
11358
|
+
letter-spacing axes on this element.
|
|
11359
|
+
data-recent-row-text-font-weight attr
|
|
11360
|
+
flips '500' → '600' on isRowActive. */
|
|
11361
|
+
fontWeight={(isRowHovered || isRowPinned) ? '600' : '500'}
|
|
9331
11362
|
data-recent-row-text={link.key}
|
|
9332
11363
|
data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
|
|
9333
11364
|
data-recent-row-text-hovered={!isRowPinned && isRowHovered ? 'true' : 'false'}
|
|
9334
|
-
data-recent-row-text-font-weight=
|
|
11365
|
+
data-recent-row-text-font-weight={(isRowHovered || isRowPinned) ? '600' : '500'}
|
|
9335
11366
|
/* Round 434 / Loop: recent-signal row text extends
|
|
9336
11367
|
from R220's pin-only letter-spacing (0 → 0.5 on
|
|
9337
11368
|
isRowPinned) to a 3-tier scale matching R433
|
|
@@ -9380,11 +11411,49 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9380
11411
|
spacing values unchanged; R363 fw + R55 fill
|
|
9381
11412
|
brighten unchanged — only the timing axis
|
|
9382
11413
|
shifts. */
|
|
11414
|
+
/* Round 568 / Loop — extends the drop-shadow visual-
|
|
11415
|
+
polish family (16 anchors after R559) to a 17th
|
|
11416
|
+
anchor at the recent-row text scope. Adds a soft
|
|
11417
|
+
pal.legendAccent glow on isRowHovered || isRow-
|
|
11418
|
+
Pinned, completing the row's hover/pin signature
|
|
11419
|
+
at 4 paint+typography axes:
|
|
11420
|
+
R55 fill brighten (fill)
|
|
11421
|
+
R434 letter-spacing 3-tier (typography kerning)
|
|
11422
|
+
R530 fontWeight 500 → 600 (typography weight)
|
|
11423
|
+
R568 drop-shadow glow (paint glow) ← this round
|
|
11424
|
+
Mirror of R550 panel-title pin-gated glow pattern,
|
|
11425
|
+
applied at the panel-ROW tier rather than panel-
|
|
11426
|
+
TITLE tier. Hue: pal.legendAccent + hex alpha 80
|
|
11427
|
+
(~50%) — same strength as R479 group-label /
|
|
11428
|
+
R550 panel-title glows for cross-element
|
|
11429
|
+
consistency. 2px blur (smaller than R478 pip's
|
|
11430
|
+
3px since text is fontSize 9 and a heavier blur
|
|
11431
|
+
would bleed into adjacent row text); blur 2px
|
|
11432
|
+
keeps the glow tight to the row's text glyphs.
|
|
11433
|
+
transition list extends to include 'filter
|
|
11434
|
+
200ms ease-out' matching the R474 200ms cadence
|
|
11435
|
+
of the existing 3 axes.
|
|
11436
|
+
data-recent-row-text-glow attr surfaces the
|
|
11437
|
+
gate for tests. */
|
|
9383
11438
|
data-recent-row-text-transition="200ms"
|
|
11439
|
+
data-recent-row-text-glow={(isRowHovered || isRowPinned) ? 'true' : 'false'}
|
|
11440
|
+
/* Round 572 / Loop — per-element brightness family
|
|
11441
|
+
9th anchor at recent-row text scope. Stacks
|
|
11442
|
+
brightness(1.15) onto R568's drop-shadow in
|
|
11443
|
+
one filter chain (same R564/R570/R571 pattern).
|
|
11444
|
+
Glyph BOTH glows (R568 drop-shadow halo) AND
|
|
11445
|
+
brightens (R572 inner lift) simultaneously.
|
|
11446
|
+
Cross-element brightness consistency: same +15%
|
|
11447
|
+
across alias / sub-text / edge-badge / group-
|
|
11448
|
+
label / and now recent-row text. */
|
|
11449
|
+
data-recent-row-text-brightness={(isRowHovered || isRowPinned) ? '1.15' : '1'}
|
|
9384
11450
|
style={{
|
|
9385
|
-
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
|
|
11451
|
+
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out',
|
|
9386
11452
|
letterSpacing: isRowPinned ? '0.5px' :
|
|
9387
11453
|
isRowHovered ? '0.25px' : '0px',
|
|
11454
|
+
filter: (isRowHovered || isRowPinned)
|
|
11455
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}80) brightness(1.15)`
|
|
11456
|
+
: undefined,
|
|
9388
11457
|
}}
|
|
9389
11458
|
>
|
|
9390
11459
|
{/* R138 / Loop: typography unification with the rest
|
|
@@ -9556,9 +11625,51 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9556
11625
|
data-recent-row-ts={link.key}
|
|
9557
11626
|
data-recent-row-ts-alpha={tsAlpha.toFixed(2)}
|
|
9558
11627
|
data-recent-row-ts-lifted={(isRowHovered || isRowPinned) ? 'true' : 'false'}
|
|
11628
|
+
data-recent-row-ts-brightness={(isRowHovered || isRowPinned) ? '1.15' : '1'}
|
|
9559
11629
|
style={{
|
|
9560
11630
|
pointerEvents: 'none',
|
|
9561
|
-
|
|
11631
|
+
/* R591 — recent-row timestamp gains filter
|
|
11632
|
+
brightness(1.15) on row hover/pin. 30th
|
|
11633
|
+
anchor in per-element brightness family.
|
|
11634
|
+
Closes recent-row 3-element brightness
|
|
11635
|
+
coverage:
|
|
11636
|
+
recent-row text (R572, parent <text>
|
|
11637
|
+
filter — count tspan
|
|
11638
|
+
inherits)
|
|
11639
|
+
recent-row ts (R591, sibling <text>
|
|
11640
|
+
— its own filter) ← this round
|
|
11641
|
+
|
|
11642
|
+
Symmetric with the legend-row R590 closure
|
|
11643
|
+
pattern: when a sibling text element can't
|
|
11644
|
+
inherit the row's brightness via ancestor
|
|
11645
|
+
filter, it needs its own filter. R590
|
|
11646
|
+
solved this for legend-count; R591 does
|
|
11647
|
+
the same for recent-ts.
|
|
11648
|
+
|
|
11649
|
+
Triple multiplicative interaction at this
|
|
11650
|
+
surface:
|
|
11651
|
+
opacity: tsAlpha (R191 freshness 1.0 →
|
|
11652
|
+
0.25 by ageSec) → 1.0 on hover/pin
|
|
11653
|
+
(R484)
|
|
11654
|
+
fill: pal.legendText (neutral gray)
|
|
11655
|
+
brightness: 1.0 → 1.15 on hover/pin
|
|
11656
|
+
|
|
11657
|
+
Stale-data hover semantic: a stale row's
|
|
11658
|
+
timestamp at tsAlpha=0.25 gets opacity 0.25
|
|
11659
|
+
× brightness 1.0 at rest, but jumps to
|
|
11660
|
+
opacity 1.0 × brightness 1.15 on hover —
|
|
11661
|
+
revealing the dim metadata at maximum
|
|
11662
|
+
legibility under attention. Hover brightness
|
|
11663
|
+
is freshness-overriding at this surface,
|
|
11664
|
+
same as R589's freshness-amplifying behavior
|
|
11665
|
+
at the recent-panel count above.
|
|
11666
|
+
|
|
11667
|
+
data-recent-row-ts-brightness attr exposes
|
|
11668
|
+
the gate for tests. */
|
|
11669
|
+
filter: (isRowHovered || isRowPinned)
|
|
11670
|
+
? 'brightness(1.15)'
|
|
11671
|
+
: undefined,
|
|
11672
|
+
transition: 'opacity 200ms ease-out, filter 200ms ease-out',
|
|
9562
11673
|
fontVariantNumeric: 'tabular-nums',
|
|
9563
11674
|
}}
|
|
9564
11675
|
>
|
|
@@ -9732,6 +11843,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9732
11843
|
stays as is, so the rest-vs-hover delta still
|
|
9733
11844
|
reads clearly. data-recent-panel-more-font-weight
|
|
9734
11845
|
attr exposes the value for tests. */}
|
|
11846
|
+
{/* Round 520 / Loop — extends the `+N more flows` footer
|
|
11847
|
+
to a 5-axis hover signature by adding fontWeight
|
|
11848
|
+
500 → 600 on hover. Pre-R520 the footer carried 4
|
|
11849
|
+
hover axes:
|
|
11850
|
+
R195 fill legendText → legendAccent
|
|
11851
|
+
R325 letter-spacing 0.2 → 0.3px (R344 tween)
|
|
11852
|
+
R325 opacity 0.55 → 0.85
|
|
11853
|
+
R133 underline none → underline
|
|
11854
|
+
R368 had set fontWeight 500 statically as a sibling
|
|
11855
|
+
to R363/R364/R366 small-text fw lift family — but
|
|
11856
|
+
the footer's hover state didn't carry a fontWeight
|
|
11857
|
+
DELTA the way other interactive surfaces do (chip-
|
|
11858
|
+
row counts R416, chrome zoom-level R420, hub digit
|
|
11859
|
+
R425). R520 adds the missing weight axis: fw 500
|
|
11860
|
+
→ 600 on hover, so the footer reads "thickening AND
|
|
11861
|
+
lighting up" under cursor — same idiom as the
|
|
11862
|
+
chrome zoom-level R420 / chip-row digit R416 hover-
|
|
11863
|
+
bold pattern, applied at the panel nav-action
|
|
11864
|
+
surface.
|
|
11865
|
+
data-recent-panel-more-font-weight attr value
|
|
11866
|
+
flips from '500' → '600' on hover (was static
|
|
11867
|
+
'500' pre-R520).
|
|
11868
|
+
Bonus closure — R475 panel-text cadence: pre-R520
|
|
11869
|
+
the footer's transition list had `opacity 150ms`
|
|
11870
|
+
while R475 unified panel-text transitions at
|
|
11871
|
+
200ms. R518 closed the same gap at legend-count.
|
|
11872
|
+
R520 closes the LAST panel-text 150ms holdout
|
|
11873
|
+
here AND adds the new font-weight 200ms axis. All
|
|
11874
|
+
4 transition properties (opacity / fill / letter-
|
|
11875
|
+
spacing / font-weight) now uniform 200ms at the
|
|
11876
|
+
footer — same cadence as legend-label / legend-
|
|
11877
|
+
count / recent-row alias / recent-row count /
|
|
11878
|
+
group-label. */}
|
|
9735
11879
|
<text
|
|
9736
11880
|
x="115" y="82"
|
|
9737
11881
|
textAnchor="middle"
|
|
@@ -9739,14 +11883,49 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9739
11883
|
fontSize="9"
|
|
9740
11884
|
fontFamily="monospace"
|
|
9741
11885
|
fontStyle="italic"
|
|
9742
|
-
fontWeight=
|
|
11886
|
+
fontWeight={hoveredRecentMore ? '600' : '500'}
|
|
9743
11887
|
letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
|
|
9744
11888
|
opacity={hoveredRecentMore ? 0.85 : 0.55}
|
|
9745
11889
|
textDecoration={hoveredRecentMore ? 'underline' : 'none'}
|
|
9746
11890
|
data-recent-panel-more={moreCount}
|
|
9747
11891
|
data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
|
|
9748
|
-
data-recent-panel-more-font-weight=
|
|
9749
|
-
|
|
11892
|
+
data-recent-panel-more-font-weight={hoveredRecentMore ? '600' : '500'}
|
|
11893
|
+
data-recent-panel-more-transition="200ms"
|
|
11894
|
+
data-recent-panel-more-brightness={hoveredRecentMore ? '1.15' : '1'}
|
|
11895
|
+
style={{
|
|
11896
|
+
/* R592 — +N more flows footer gains filter
|
|
11897
|
+
brightness(1.15) on hover. 31st anchor in
|
|
11898
|
+
per-element brightness family. Closes the
|
|
11899
|
+
footer's hover signature at 6 axes — the
|
|
11900
|
+
densest hover signature on any topology
|
|
11901
|
+
surface:
|
|
11902
|
+
R195 fill legendText → legendAccent
|
|
11903
|
+
R325 letter-spacing 0.2 → 0.3 (R344 tween)
|
|
11904
|
+
R325 opacity 0.55 → 0.85
|
|
11905
|
+
R133 underline none → underline
|
|
11906
|
+
R520 fontWeight 500 → 600
|
|
11907
|
+
R592 brightness 1 → 1.15 ← this round
|
|
11908
|
+
|
|
11909
|
+
The footer is the recent-signal panel's
|
|
11910
|
+
primary nav affordance into /messages — when
|
|
11911
|
+
user hovers it, EVERYTHING about it shifts:
|
|
11912
|
+
color (cyan), size (fw), spacing (ls), opacity
|
|
11913
|
+
(0.85), decoration (underline), brightness
|
|
11914
|
+
(+15%). 6-axis hover signature reads as "this
|
|
11915
|
+
is the most actionable thing on the panel —
|
|
11916
|
+
click me".
|
|
11917
|
+
|
|
11918
|
+
Triple-paint multiplicative interaction:
|
|
11919
|
+
opacity 0.85 × cyan fill × brightness(1.15)
|
|
11920
|
+
— the cyan reads dramatically brighter than
|
|
11921
|
+
a plain fill swap would.
|
|
11922
|
+
|
|
11923
|
+
Existing transition list extends with 'filter
|
|
11924
|
+
200ms ease-out' matching the existing 200ms
|
|
11925
|
+
cadence across all 5 other axes. */
|
|
11926
|
+
filter: hoveredRecentMore ? 'brightness(1.15)' : undefined,
|
|
11927
|
+
transition: 'opacity 200ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out',
|
|
11928
|
+
}}
|
|
9750
11929
|
>
|
|
9751
11930
|
{`+ ${moreCount}`}
|
|
9752
11931
|
<tspan opacity="0.7" data-recent-panel-more-unit>{` more flow${moreCount === 1 ? '' : 's'}`}</tspan>
|
|
@@ -9853,7 +12032,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9853
12032
|
data-legend-panel-title-fw + -active exposed for tests. */}
|
|
9854
12033
|
{/* R345 sibling — legend panel title same hover letter-
|
|
9855
12034
|
spacing tween 0.3 → 0.4 on panel hover. */}
|
|
9856
|
-
|
|
12035
|
+
{/* Round 550 sibling — legend-panel header title mirrors
|
|
12036
|
+
the recent-panel title above: drop-shadow glow on
|
|
12037
|
+
pin-gated active state (pinnedStatus). Same hue
|
|
12038
|
+
(pal.legendAccent + hex alpha 80), same 2px blur,
|
|
12039
|
+
same 200ms ease-out cadence. Family lifts to 15
|
|
12040
|
+
anchors with this sibling (counted as R550-sibling
|
|
12041
|
+
for accounting parity with R532-R536 hub-cluster
|
|
12042
|
+
glow quintet pattern — two co-shipping anchors
|
|
12043
|
+
under a single round number).
|
|
12044
|
+
data-legend-panel-title-glow attr added. */}
|
|
12045
|
+
{/* Round 573 sibling — legend panel-title 12th anchor.
|
|
12046
|
+
Same stacked filter pattern at the legend-panel-title
|
|
12047
|
+
scope. Both panel titles now lift in lockstep. */}
|
|
12048
|
+
<text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={pinnedStatus ? '800' : '700'} letterSpacing={hoveredPanel === 'legend' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out', filter: pinnedStatus ? `drop-shadow(0 0 2px ${pal.legendAccent}80) brightness(1.15)` : undefined }} data-legend-panel-title data-legend-panel-title-fw={pinnedStatus ? '800' : '700'} data-legend-panel-title-active={pinnedStatus ? 'true' : 'false'} data-legend-panel-title-glow={pinnedStatus ? 'true' : 'false'} data-legend-panel-title-brightness={pinnedStatus ? '1.15' : '1'}>legend</text>
|
|
9857
12049
|
{/* Round 257 / Loop: legend panel header count picks up the
|
|
9858
12050
|
symmetric 13L/13R inner-padding pattern from the recent-
|
|
9859
12051
|
signal panel. Pre-R257 the legend header was 13px from
|
|
@@ -9930,11 +12122,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
9930
12122
|
// title 0.3. Pairs with the recent-signal panel count
|
|
9931
12123
|
// letter-spacing above so the two corner panels' header
|
|
9932
12124
|
// typography stays editorially symmetric.
|
|
9933
|
-
|
|
12125
|
+
/* Round 566 / Loop — legend panel-count gains hover-state
|
|
12126
|
+
letter-spacing tween (0.2 → 0.4 on hoveredPanel ===
|
|
12127
|
+
'legend'). Pairs with existing R310 fw 600→700 on the
|
|
12128
|
+
same gate — count now has 2-axis hover signature (fw
|
|
12129
|
+
+ ls), matching the panel title's R345 ls + R482 fw
|
|
12130
|
+
lift pattern at the panel-header data-tspan scope.
|
|
12131
|
+
Hover-letter-spacing family extension (R566 = 2 sibling
|
|
12132
|
+
anchors at recent + legend panel-count). */
|
|
12133
|
+
letterSpacing={hoveredPanel === 'legend' ? '0.4' : '0.2'}
|
|
9934
12134
|
data-legend-panel-count
|
|
9935
|
-
data-legend-panel-count-letter-spacing=
|
|
12135
|
+
data-legend-panel-count-letter-spacing={hoveredPanel === 'legend' ? '0.4' : '0.2'}
|
|
12136
|
+
data-legend-panel-count-brightness={hoveredPanel === 'legend' ? '1.15' : '1'}
|
|
9936
12137
|
style={{
|
|
9937
|
-
|
|
12138
|
+
/* R588 — legend panel count gains brightness(1.15) on
|
|
12139
|
+
panel hover. 27th anchor in per-element brightness
|
|
12140
|
+
family. Closes title↔count parity at the legend
|
|
12141
|
+
panel header — the title already has brightness
|
|
12142
|
+
(R571/R567 lineage on pinnedStatus gate at line
|
|
12143
|
+
~11926); the count now matches at the broader
|
|
12144
|
+
hoveredPanel gate.
|
|
12145
|
+
|
|
12146
|
+
Legend panel count hover signature now 3 axes:
|
|
12147
|
+
R310/R424 fontWeight 600 → 700
|
|
12148
|
+
R349/R566 letter-spacing 0.2 → 0.4
|
|
12149
|
+
R588 brightness 1 → 1.15 ← this round
|
|
12150
|
+
|
|
12151
|
+
The cyan numeral (pal.legendAccent) lifts ~15%
|
|
12152
|
+
alongside the typographic tightening — 3-axis
|
|
12153
|
+
panel-count hover signal at full visual presence.
|
|
12154
|
+
|
|
12155
|
+
Pure paint filter on <text> root element (NOT a
|
|
12156
|
+
nested tspan — SVG filter on tspan is unreliable
|
|
12157
|
+
cross-browser; the parent <text> takes the filter
|
|
12158
|
+
and inherits to children). */
|
|
12159
|
+
filter: hoveredPanel === 'legend' ? 'brightness(1.15)' : undefined,
|
|
12160
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out, letter-spacing 200ms ease-out, filter 200ms ease-out',
|
|
9938
12161
|
fontVariantNumeric: 'tabular-nums',
|
|
9939
12162
|
}}
|
|
9940
12163
|
>{sessions.length}<tspan opacity="0.7" data-legend-panel-count-unit> node{sessions.length === 1 ? '' : 's'}</tspan></text>
|
|
@@ -10011,6 +12234,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10011
12234
|
const isPinned = pinnedStatus === row.key;
|
|
10012
12235
|
const isRowHovered = hoveredStatus === row.key;
|
|
10013
12236
|
const isLifted = isRowHovered || isPinned;
|
|
12237
|
+
/* Round 562 / Loop — inspection-overrides-encoding family
|
|
12238
|
+
5th anchor at the legend-swatch scope. When operator
|
|
12239
|
+
hovers a NODE ALIAS on the canvas, the legend swatch
|
|
12240
|
+
that matches that node's status tier lifts r + drop-
|
|
12241
|
+
shadow (R197 + R537 axes) — telegraphing "your
|
|
12242
|
+
inspected node is in this status group".
|
|
12243
|
+
Mirror of R486 minimap-dot inspection-override at the
|
|
12244
|
+
legend-swatch scope.
|
|
12245
|
+
Family progression (5 anchors):
|
|
12246
|
+
R484 recent-row timestamp on alias hover
|
|
12247
|
+
R485 edge particle opacity on alias hover
|
|
12248
|
+
R486 minimap dot opacity to 1.0 on alias hover
|
|
12249
|
+
R561 group-label opacity-1 + ants-gate refinement
|
|
12250
|
+
R562 legend-swatch r+glow on member-alias-matching ← this round
|
|
12251
|
+
Restraint: ONLY swatch lifts, NOT label/fill/ls/fw
|
|
12252
|
+
axes. Direct row-hover gets full treatment; inspection
|
|
12253
|
+
signal gets swatch-only lift — distinct "lighter"
|
|
12254
|
+
visual register matching R561's ants-gate approach
|
|
12255
|
+
(indirect inspection ≠ direct attention). */
|
|
12256
|
+
const hoveredSession = hoveredAlias
|
|
12257
|
+
? (onlineNodes.find(s => s.alias === hoveredAlias) ?? offlineNodes.find(s => s.alias === hoveredAlias))
|
|
12258
|
+
: null;
|
|
12259
|
+
const hoveredAliasRowKey: 'working' | 'idle' | 'offline' | null = !hoveredSession ? null
|
|
12260
|
+
: hoveredSession.status === 'working' ? 'working'
|
|
12261
|
+
: offlineNodes.includes(hoveredSession) ? 'offline'
|
|
12262
|
+
: 'idle';
|
|
12263
|
+
const isMemberAliasMatching = hoveredAliasRowKey === row.key;
|
|
12264
|
+
const isSwatchLifted = isLifted || isMemberAliasMatching;
|
|
10014
12265
|
return (
|
|
10015
12266
|
<g
|
|
10016
12267
|
key={row.key}
|
|
@@ -10142,15 +12393,50 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10142
12393
|
R181 pin ring (6 + 0 stroke vs 8 - 0.75 inner
|
|
10143
12394
|
≈ 7.25). data-legend-swatch is unchanged so
|
|
10144
12395
|
R197 / R55 / R61 tests probe the same handle. */}
|
|
12396
|
+
{/* Round 537 / Loop — extends drop-shadow visual-polish
|
|
12397
|
+
family (12 anchors after R536) to a 13th anchor: the
|
|
12398
|
+
legend swatch gains drop-shadow glow on hover/pin
|
|
12399
|
+
using its OWN row fill color (working green / idle
|
|
12400
|
+
teal / offline slate). Pre-R537 the swatch lifted
|
|
12401
|
+
only r (R197/R295 6 → 7) on attention — geometry
|
|
12402
|
+
axis only, no paint glow. R537 adds the paint axis,
|
|
12403
|
+
composing with R181/R402 pin-ring (separate concen-
|
|
12404
|
+
tric circle in the same row.fill color) so on
|
|
12405
|
+
hover/pin the SWATCH AND its pin-ring both contri-
|
|
12406
|
+
bute to a unified tier-coloured glow signature.
|
|
12407
|
+
Hue: row.fill (status hex) concatenated with `99`
|
|
12408
|
+
hex alpha (~60%). Working green / idle teal /
|
|
12409
|
+
offline slate each glow in their OWN tier color
|
|
12410
|
+
— the legend acts as a color-keyed status mirror.
|
|
12411
|
+
3px blur reads soft; 60% alpha legible without
|
|
12412
|
+
overwhelming the swatch's own paint.
|
|
12413
|
+
Drop-shadow visual-polish family extension (13
|
|
12414
|
+
anchors). filter is paint-only; bbox unchanged.
|
|
12415
|
+
transition list extends to include 'filter 150ms
|
|
12416
|
+
ease-out', matching the existing R197 r 150ms
|
|
12417
|
+
cadence at this swatch. data-legend-swatch-glow
|
|
12418
|
+
attr exposes the gate state for tests. */}
|
|
10145
12419
|
<circle
|
|
10146
12420
|
cx="16" cy={row.y0}
|
|
10147
12421
|
r="6"
|
|
10148
12422
|
fill={row.fill}
|
|
10149
12423
|
data-legend-swatch={row.key}
|
|
10150
|
-
data-legend-swatch-state={isPinned ? 'pinned' : isRowHovered ? 'hover' : 'idle'}
|
|
12424
|
+
data-legend-swatch-state={isPinned ? 'pinned' : isRowHovered ? 'hover' : isMemberAliasMatching ? 'member-alias-matching' : 'idle'}
|
|
12425
|
+
data-legend-swatch-glow={isSwatchLifted ? 'true' : 'false'}
|
|
12426
|
+
data-legend-swatch-member-alias-matching={isMemberAliasMatching ? 'true' : 'false'}
|
|
12427
|
+
/* Round 578 — legend swatch joins per-element brightness
|
|
12428
|
+
family at 16th anchor. Stacks brightness(1.15) onto
|
|
12429
|
+
R537 drop-shadow. Closes chip-row tier-color glow
|
|
12430
|
+
trio at consistent stacked-filter pattern alongside
|
|
12431
|
+
R542 pressure-seg (already stacks brightness 1.2)
|
|
12432
|
+
and the sibling vendor chip (R578-sibling). */
|
|
12433
|
+
data-legend-swatch-brightness={isSwatchLifted ? '1.15' : '1'}
|
|
10151
12434
|
style={{
|
|
10152
|
-
r:
|
|
10153
|
-
|
|
12435
|
+
r: isSwatchLifted ? '7px' : '6px',
|
|
12436
|
+
filter: isSwatchLifted
|
|
12437
|
+
? `drop-shadow(0 0 3px ${row.fill}99) brightness(1.15)`
|
|
12438
|
+
: undefined,
|
|
12439
|
+
transition: 'r 150ms ease-out, filter 150ms ease-out',
|
|
10154
12440
|
} as React.CSSProperties}
|
|
10155
12441
|
/>
|
|
10156
12442
|
{/* R61 pinned-state ring — concentric stroke at r=8 in
|
|
@@ -10282,11 +12568,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10282
12568
|
the value for tests. R219 letter-spacing pin
|
|
10283
12569
|
tween + R55 fill transition + R181 always-mount
|
|
10284
12570
|
pin ring all preserved. */
|
|
10285
|
-
|
|
12571
|
+
/* Round 531 / Loop — extends hover-fw family (R416/
|
|
12572
|
+
R420/R425/R520/R521/R522/R530, 7 anchors) to an
|
|
12573
|
+
8th anchor at the legend-row label. Pre-R531
|
|
12574
|
+
R364 set fw=500 statically; hover/pin lifted
|
|
12575
|
+
other axes (R55 fill brighten / R433 letter-
|
|
12576
|
+
spacing 3-tier / R181 pin ring) but the fw
|
|
12577
|
+
stayed flat. R531 mirrors R530's recent-row
|
|
12578
|
+
alias pattern at the legend-row label scope.
|
|
12579
|
+
Hover OR pin (hoveredStatus===row.key ||
|
|
12580
|
+
isPinned) lifts fw to 600, matching the
|
|
12581
|
+
legend-row count tier (R309 fw=600 / R446
|
|
12582
|
+
pin lift 600→700). Active label now reads at
|
|
12583
|
+
the count's data tier — sibling treatment to
|
|
12584
|
+
R530 recent-row.
|
|
12585
|
+
Hover-fw family extension (8 anchors):
|
|
12586
|
+
R416 chip-row count digit
|
|
12587
|
+
R420 chrome zoom-level
|
|
12588
|
+
R425 hub-center digit
|
|
12589
|
+
R520 +N more flows footer
|
|
12590
|
+
R521 chrome nodeSize S/M/L inactive
|
|
12591
|
+
R522 chrome layout Ring/Grid inactive
|
|
12592
|
+
R530 recent-row alias text
|
|
12593
|
+
R531 legend-row label ← this round
|
|
12594
|
+
Two panel-row label surfaces (R530 recent-
|
|
12595
|
+
row alias + R531 legend-row label) now have
|
|
12596
|
+
parallel hover-fw signatures. R475 cadence
|
|
12597
|
+
at 200ms already covers font-weight via the
|
|
12598
|
+
existing transition list extension at this
|
|
12599
|
+
element. data-legend-row-label-font-weight
|
|
12600
|
+
attr flips '500' → '600' on isActive (was
|
|
12601
|
+
static '500' pre-R531). */
|
|
12602
|
+
fontWeight={(hoveredStatus === row.key || isPinned) ? '600' : '500'}
|
|
10286
12603
|
data-legend-row-label={row.key}
|
|
10287
12604
|
data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
|
|
10288
12605
|
data-legend-row-label-hovered={!isPinned && hoveredStatus === row.key ? 'true' : 'false'}
|
|
10289
|
-
data-legend-row-label-font-weight=
|
|
12606
|
+
data-legend-row-label-font-weight={(hoveredStatus === row.key || isPinned) ? '600' : '500'}
|
|
10290
12607
|
/* Round 433 / Loop: legend-row text extends from
|
|
10291
12608
|
R219's pin-only letter-spacing (0px → 0.5px on
|
|
10292
12609
|
isPinned) to a 3-tier scale matching the R432
|
|
@@ -10328,10 +12645,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10328
12645
|
unchanged; R55 fill brighten unchanged — only
|
|
10329
12646
|
the timing axis shifts. */
|
|
10330
12647
|
data-legend-row-label-transition="200ms"
|
|
12648
|
+
/* Round 569 / Loop — extends R568's panel-row drop-
|
|
12649
|
+
shadow pattern to the SIBLING legend-row label.
|
|
12650
|
+
Symmetric closure of the panel-row drop-shadow
|
|
12651
|
+
across both panel surfaces (recent + legend).
|
|
12652
|
+
Pre-R569 the legend-row label had 3 hover/pin
|
|
12653
|
+
axes (R55 fill + R433 ls 3-tier + R531 fw); R569
|
|
12654
|
+
adds the 4th paint axis to match R568 recent-
|
|
12655
|
+
row text exactly.
|
|
12656
|
+
Two-tier paint-axis cascade now SYMMETRIC across
|
|
12657
|
+
both side panels:
|
|
12658
|
+
recent panel title (R550) + row text (R568)
|
|
12659
|
+
legend panel title (R550-sibling) + label (R569) ← this round
|
|
12660
|
+
Each panel has glow at BOTH chrome tiers (title
|
|
12661
|
+
active + row hover/pin). The 4-axis row signature
|
|
12662
|
+
(fill + ls + fw + glow) is now identical at both
|
|
12663
|
+
panel-row text scopes — completes the panel-row
|
|
12664
|
+
text-treatment parity.
|
|
12665
|
+
Hue/blur/cadence: same as R568 (pal.legendAccent
|
|
12666
|
+
+ hex alpha 80, 2px blur, 200ms ease-out). Gate
|
|
12667
|
+
matches R531/R433 (hoveredStatus === row.key ||
|
|
12668
|
+
isPinned) — single boolean drives all 4 axes
|
|
12669
|
+
together for motion-coherent state-flip.
|
|
12670
|
+
Drop-shadow family extends to 18 anchors total
|
|
12671
|
+
(R568 was 17; R569 = 18).
|
|
12672
|
+
data-legend-row-label-glow attr added for tests. */
|
|
12673
|
+
data-legend-row-label-glow={(hoveredStatus === row.key || isPinned) ? 'true' : 'false'}
|
|
12674
|
+
/* Round 572 / Loop — sibling to recent-row text above.
|
|
12675
|
+
Stacks brightness(1.15) onto R569's drop-shadow at
|
|
12676
|
+
legend-row label scope (10th anchor in per-element
|
|
12677
|
+
brightness family). Matches recent-row text 4-axis
|
|
12678
|
+
signature exactly: fill + ls + fw + drop-shadow +
|
|
12679
|
+
brightness now BOTH panel-row text surfaces. */
|
|
12680
|
+
data-legend-row-label-brightness={(hoveredStatus === row.key || isPinned) ? '1.15' : '1'}
|
|
10331
12681
|
style={{
|
|
10332
|
-
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
|
|
12682
|
+
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out',
|
|
10333
12683
|
letterSpacing: isPinned ? '0.5px' :
|
|
10334
12684
|
hoveredStatus === row.key ? '0.25px' : '0px',
|
|
12685
|
+
filter: (hoveredStatus === row.key || isPinned)
|
|
12686
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}80) brightness(1.15)`
|
|
12687
|
+
: undefined,
|
|
10335
12688
|
}}
|
|
10336
12689
|
>{row.label}</text>
|
|
10337
12690
|
{/* R95: live count anchored to the right edge of the
|
|
@@ -10463,7 +12816,74 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10463
12816
|
data-legend-count-pinned={isPinned ? 'true' : 'false'}
|
|
10464
12817
|
data-legend-count-font-weight={isPinned ? '700' : '600'}
|
|
10465
12818
|
data-legend-count-fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? 'tier' : 'neutral'}
|
|
10466
|
-
|
|
12819
|
+
/* Round 518 / Loop — extends R433's 3-tier hover-
|
|
12820
|
+
letter-spacing tween from the legend-row LABEL
|
|
12821
|
+
(text at x=30) to the SIBLING legend-row COUNT
|
|
12822
|
+
digit (this text at x=215). Pre-R518 the row's
|
|
12823
|
+
label spread on hover/pin (R433: 0/0.25/0.5px)
|
|
12824
|
+
while the count digit at the row's right edge
|
|
12825
|
+
stayed dead-typographic — same row, two halves,
|
|
12826
|
+
asymmetric kerning gesture. R518 mirrors the
|
|
12827
|
+
3-tier scale at the count so the WHOLE row's
|
|
12828
|
+
typography reads as one unit under cursor: label
|
|
12829
|
+
+ count spread together at matching values.
|
|
12830
|
+
Tabular-nums (R225) makes the kerning still
|
|
12831
|
+
visible on 2-digit counts — each digit cell
|
|
12832
|
+
keeps its fixed width, but the inter-digit
|
|
12833
|
+
advance grows. R518 also closes R475's panel-
|
|
12834
|
+
row TEXT cadence at the count surface — R475
|
|
12835
|
+
lifted the label text transitions to 200ms but
|
|
12836
|
+
the count was missed; R518 lifts opacity / fill
|
|
12837
|
+
/ font-weight from 150 → 200ms AND adds the new
|
|
12838
|
+
letter-spacing axis at 200ms. One transition
|
|
12839
|
+
list, one cadence, one motion-coherent multi-
|
|
12840
|
+
axis hover/pin signature across the row.
|
|
12841
|
+
Hover-letter-spacing family extension (10
|
|
12842
|
+
anchors now): R344/R345/R347/R420/R427/R431/
|
|
12843
|
+
R432/R433/R517/R518. R518 closes the legend-
|
|
12844
|
+
row pair (label R433 + count R518). data-
|
|
12845
|
+
legend-count-letter-spacing attr exposes the
|
|
12846
|
+
resolved value for tests. */
|
|
12847
|
+
data-legend-count-letter-spacing={isPinned ? '0.5px' : hoveredStatus === row.key ? '0.25px' : '0px'}
|
|
12848
|
+
data-legend-count-transition="200ms"
|
|
12849
|
+
/* R590 — legend-row count gains filter brightness(1.15)
|
|
12850
|
+
on hover/pin. 29th anchor in per-element brightness
|
|
12851
|
+
family. Closes legend-row label↔count brightness
|
|
12852
|
+
parity within each row:
|
|
12853
|
+
legend label (R572, 10th anchor — stacks w/ DS)
|
|
12854
|
+
legend count (R590 ← this round, plain brightness)
|
|
12855
|
+
Plain brightness (no DS stack) because the count
|
|
12856
|
+
has its own multi-axis hover signature already
|
|
12857
|
+
(opacity 0.65 → 1.0, fill neutral → row.fill tier
|
|
12858
|
+
color, fw 600 → 700 on pin, letter-spacing 3-tier)
|
|
12859
|
+
— adding brightness amplifies the tier-color fill
|
|
12860
|
+
to its hover-locked brightest possible.
|
|
12861
|
+
Triple multiplicative interaction: opacity 1.0 ×
|
|
12862
|
+
tier-color fill × brightness(1.15) — the count
|
|
12863
|
+
reads as confidently "this is the active tier".
|
|
12864
|
+
Existing transition list extends with 'filter
|
|
12865
|
+
200ms ease-out' matching the existing 200ms
|
|
12866
|
+
cadence across opacity / fill / fw / letter-
|
|
12867
|
+
spacing.
|
|
12868
|
+
Legend-row scope now has parity with recent-row:
|
|
12869
|
+
both row text and count surfaces brighten +15%
|
|
12870
|
+
on row inspection. Recent-row count INHERITS its
|
|
12871
|
+
brightness via the parent <text>'s R572 filter
|
|
12872
|
+
(single ancestor filter covers all child tspans);
|
|
12873
|
+
legend-row count is a sibling <text> so it needs
|
|
12874
|
+
its OWN filter — R590 supplies that.
|
|
12875
|
+
data-legend-count-brightness attr exposes gate. */
|
|
12876
|
+
data-legend-count-brightness={(hoveredStatus === row.key || isPinned) ? '1.15' : '1'}
|
|
12877
|
+
style={{
|
|
12878
|
+
pointerEvents: 'none',
|
|
12879
|
+
filter: (hoveredStatus === row.key || isPinned)
|
|
12880
|
+
? 'brightness(1.15)'
|
|
12881
|
+
: undefined,
|
|
12882
|
+
transition: 'opacity 200ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out, letter-spacing 200ms ease-out, filter 200ms ease-out',
|
|
12883
|
+
fontVariantNumeric: 'tabular-nums',
|
|
12884
|
+
letterSpacing: isPinned ? '0.5px' :
|
|
12885
|
+
hoveredStatus === row.key ? '0.25px' : '0px',
|
|
12886
|
+
}}
|
|
10467
12887
|
>{row.count}</text>
|
|
10468
12888
|
</g>
|
|
10469
12889
|
);
|
|
@@ -10522,6 +12942,74 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10522
12942
|
spacing as typographic intent. Stays well inside the
|
|
10523
12943
|
bottom-left corner; opacity 0.4 unchanged so the
|
|
10524
12944
|
watermark stays a watermark. */}
|
|
12945
|
+
{/* Round 519 / Loop — 呼吸感 family 3rd anchor. Pre-R519 the
|
|
12946
|
+
breath family had 2 anchors (R497 hub idle digit + R498
|
|
12947
|
+
recent-row hot pulse). Both signal active state — the
|
|
12948
|
+
digit when canvas is idle (no work pending), the recent
|
|
12949
|
+
row when fresh signal arrives. R519 adds a SLOW ambient
|
|
12950
|
+
breath to the brand watermark — present always, not gated
|
|
12951
|
+
on activity state. The watermark IS the canvas-corner
|
|
12952
|
+
register that says "the canvas is alive even when nothing
|
|
12953
|
+
is happening"; a 6s opacity pulse around its 0.4 mean
|
|
12954
|
+
(±0.08 swing → 0.32 ↔ 0.48) reads as ambient liveness
|
|
12955
|
+
rather than foreground signal.
|
|
12956
|
+
Why 6s (not R497's 4s): the breath family now spans
|
|
12957
|
+
activity registers (R497 4s — idle-focal: present and
|
|
12958
|
+
waiting; R498 ~3s — hot signal: just arrived) and now
|
|
12959
|
+
ambient register (R519 6s — corner watermark: always-on
|
|
12960
|
+
background). Slower cadence keeps the watermark in the
|
|
12961
|
+
background; ~10 pct slower than R497 keeps it out of
|
|
12962
|
+
phase so the two anchors never beat together visibly.
|
|
12963
|
+
Gate: !reducedMotion. Inside the prefers-reduced-motion
|
|
12964
|
+
media query, SMIL animate isn't covered by globals.css
|
|
12965
|
+
R29 (which only kills CSS animation property), so we
|
|
12966
|
+
gate at JSX level — when reducedMotion is true the
|
|
12967
|
+
<animate> child isn't mounted and opacity stays at the
|
|
12968
|
+
static 0.4. data-topo-brand-watermark-breath attr
|
|
12969
|
+
exposes the gate state for tests.
|
|
12970
|
+
呼吸感 family extension (3 anchors): R497 hub idle / R498
|
|
12971
|
+
recent-row hot / R519 brand watermark ambient. */}
|
|
12972
|
+
{/* Round 525 / Loop — focal-recede family 3rd anchor. R507
|
|
12973
|
+
receded the hub-center workingCount digit; R508 receded
|
|
12974
|
+
the hub-highlight disc; both fade to 0.85× when any non-
|
|
12975
|
+
hub canvas surface is hovered (alias / edge / group /
|
|
12976
|
+
status / vendor) — the "you're inspecting elsewhere"
|
|
12977
|
+
gesture. R525 extends the pattern to the brand watermark
|
|
12978
|
+
at canvas bottom-left, the always-on decorative brand
|
|
12979
|
+
element. Pre-R525 the watermark stayed at its R519
|
|
12980
|
+
breath baseline (0.32-0.48 SMIL pulse) regardless of
|
|
12981
|
+
canvas attention; post-R525 it fades to 70% wrapper
|
|
12982
|
+
opacity (effective 0.224-0.336 with breath) when canvas
|
|
12983
|
+
attention is elsewhere, matching the same focal-recede
|
|
12984
|
+
semantic R507/R508 establish at the hub focal cluster.
|
|
12985
|
+
Implementation: wrap the existing <text> in a <g>
|
|
12986
|
+
wrapper whose opacity multiplies with the inner text's
|
|
12987
|
+
SMIL-animated opacity. SVG opacity composes
|
|
12988
|
+
multiplicatively across the parent/child chain, so:
|
|
12989
|
+
normal: g.opacity=1.0 × text.opacity(SMIL 0.32-0.48) = 0.32-0.48
|
|
12990
|
+
recede: g.opacity=0.7 × text.opacity(SMIL 0.32-0.48) = 0.224-0.336
|
|
12991
|
+
SMIL on inner text continues running through both
|
|
12992
|
+
states; only the wrapper opacity flips. 300ms ease-out
|
|
12993
|
+
transition on wrapper (matches R508 hub-highlight recede
|
|
12994
|
+
transition).
|
|
12995
|
+
Gate matches R507/R508 — focal-recede is a UNIFIED
|
|
12996
|
+
non-hub-canvas-hover signal driving multiple anchors,
|
|
12997
|
+
so all three (hub digit / hub-highlight / brand
|
|
12998
|
+
watermark) fade together as the canvas's decorative
|
|
12999
|
+
register, leaving only the surface under inspection
|
|
13000
|
+
foregrounded.
|
|
13001
|
+
Focal-recede family extension (3 anchors): R507 hub
|
|
13002
|
+
digit / R508 hub-highlight / R525 brand watermark. */}
|
|
13003
|
+
<g
|
|
13004
|
+
opacity={(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
13005
|
+
hoveredStatus || hoveredVendor) && !hoveredHub ? 0.7 : 1}
|
|
13006
|
+
data-topo-brand-watermark-wrapper
|
|
13007
|
+
data-topo-brand-watermark-recede={
|
|
13008
|
+
(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
13009
|
+
hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
|
|
13010
|
+
}
|
|
13011
|
+
style={{ pointerEvents: 'none', transition: 'opacity 300ms ease-out' }}
|
|
13012
|
+
>
|
|
10525
13013
|
<text
|
|
10526
13014
|
x="16" y="672"
|
|
10527
13015
|
fontSize="11" fontFamily="monospace" fontWeight="600"
|
|
@@ -10529,8 +13017,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10529
13017
|
fill={pal.legendText}
|
|
10530
13018
|
opacity="0.4"
|
|
10531
13019
|
data-topo-brand-watermark
|
|
13020
|
+
data-topo-brand-watermark-breath={reducedMotion ? 'false' : 'true'}
|
|
10532
13021
|
style={{ pointerEvents: 'none', transition: 'fill 200ms ease-out' }}
|
|
10533
|
-
>sleep2agi
|
|
13022
|
+
>sleep2agi{!reducedMotion && (
|
|
13023
|
+
<animate attributeName="opacity" values="0.32;0.48;0.32" dur="6s" repeatCount="indefinite" />
|
|
13024
|
+
)}</text>
|
|
13025
|
+
</g>
|
|
10534
13026
|
{/* v0.10.0 Hero 3 Wave 1 / RFC §3.I (Vincent 5215 + 通信龙
|
|
10535
13027
|
lead-autonomy Q4 dual-anchor minimal): canvas top-left
|
|
10536
13028
|
crescent moon brand mark, visible ONLY when the
|
|
@@ -10565,10 +13057,47 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10565
13057
|
the R175 panel-fade-in uses for cascade rhythm. data-
|
|
10566
13058
|
topo-brand-canvas-mark-visible exposes the gate for
|
|
10567
13059
|
tests. */}
|
|
13060
|
+
{/* Round 526 / Loop — focal-recede family 4th anchor.
|
|
13061
|
+
Symmetric polish to R525 (watermark recede). The
|
|
13062
|
+
brand crescent at canvas top-left is the second
|
|
13063
|
+
decorative brand element on the canvas; pre-R526 it
|
|
13064
|
+
stayed at flat opacity 0.35 (when visible) regardless
|
|
13065
|
+
of canvas attention. R526 multiplies its visible
|
|
13066
|
+
opacity by 0.7 when ANY non-hub canvas surface is
|
|
13067
|
+
hovered, matching R525's deeper-recede semantic for
|
|
13068
|
+
decorative brand elements (vs hub focal cluster's
|
|
13069
|
+
0.85× recede at R507/R508).
|
|
13070
|
+
Composes cleanly with existing flowLinks gate:
|
|
13071
|
+
normal, flowLinks=0: opacity = 0.35 * 1.0 = 0.350
|
|
13072
|
+
recede, flowLinks=0: opacity = 0.35 * 0.7 = 0.245
|
|
13073
|
+
invisible, flowLinks>0: opacity = 0.00 * any = 0.000
|
|
13074
|
+
Multiplicative chain means recede only matters when
|
|
13075
|
+
crescent is visible (quiet canvas, flowLinks=0) —
|
|
13076
|
+
exactly when canvas attention elsewhere should
|
|
13077
|
+
dim the decorative register. 300ms transition
|
|
13078
|
+
already covers both axes (the existing visibility
|
|
13079
|
+
opacity ramp + the new recede multiplier easing).
|
|
13080
|
+
Focal-recede family extension (4 anchors): R507 hub
|
|
13081
|
+
digit / R508 hub-highlight / R525 watermark / R526
|
|
13082
|
+
crescent (this round). Canvas brand surfaces (R525
|
|
13083
|
+
watermark + R526 crescent) now BOTH carry focal-
|
|
13084
|
+
recede at the same 0.7 multiplier, fading as a
|
|
13085
|
+
decorative pair when the canvas's focal attention
|
|
13086
|
+
shifts elsewhere.
|
|
13087
|
+
data-topo-brand-canvas-mark-recede attr exposes the
|
|
13088
|
+
gate state for tests. */}
|
|
10568
13089
|
<g
|
|
10569
|
-
opacity={flowLinks.length === 0 ? 0.35 : 0
|
|
13090
|
+
opacity={(flowLinks.length === 0 ? 0.35 : 0) * (
|
|
13091
|
+
(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
13092
|
+
hoveredStatus || hoveredVendor) && !hoveredHub ? 0.7 : 1
|
|
13093
|
+
)}
|
|
10570
13094
|
data-topo-brand-canvas-mark
|
|
10571
13095
|
data-topo-brand-canvas-mark-visible={flowLinks.length === 0 ? 'true' : 'false'}
|
|
13096
|
+
data-topo-brand-canvas-mark-recede={
|
|
13097
|
+
(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
|
|
13098
|
+
hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
|
|
13099
|
+
}
|
|
13100
|
+
data-topo-brand-canvas-mark-breath={reducedMotion ? 'false' : 'true'}
|
|
10572
13101
|
style={{ pointerEvents: 'none', transition: 'opacity 300ms ease-out, fill 200ms ease-out' }}
|
|
10573
13102
|
>
|
|
10574
13103
|
<defs>
|
|
@@ -10578,11 +13107,44 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10578
13107
|
<circle cx="17.5" cy="13" r="10" fill="black" />
|
|
10579
13108
|
</mask>
|
|
10580
13109
|
</defs>
|
|
13110
|
+
{/* Round 528 / Loop — 呼吸感 family 4th anchor. Symmetric
|
|
13111
|
+
polish to R519 watermark ambient breath. The brand
|
|
13112
|
+
crescent at canvas top-left is the second decorative
|
|
13113
|
+
canvas brand surface; pre-R528 it stayed at the static
|
|
13114
|
+
composed opacity (wrapper 0.35 × no inner anim = flat).
|
|
13115
|
+
Post-R528 the inner <rect>'s fill-opacity breathes
|
|
13116
|
+
0.8 ↔ 1.0 on a 7s cycle, composing multiplicatively
|
|
13117
|
+
with the wrapper's recede gate:
|
|
13118
|
+
normal visible: 0.35 × (0.8-1.0) = 0.280-0.350
|
|
13119
|
+
recede visible: 0.245 × (0.8-1.0) = 0.196-0.245
|
|
13120
|
+
invisible: 0 × any = 0
|
|
13121
|
+
7s cadence intentionally OUT OF PHASE with R519
|
|
13122
|
+
watermark's 6s — the two ambient anchors never beat
|
|
13123
|
+
together visibly when both visible. R497 hub idle
|
|
13124
|
+
breath (4s) is the loudest; R498 recent-row hot pulse
|
|
13125
|
+
(~3s) is the most-active; R519 watermark (6s) +
|
|
13126
|
+
R528 crescent (7s) are the quietest ambient pair.
|
|
13127
|
+
呼吸感 family extension (4 anchors):
|
|
13128
|
+
R497 hub idle digit 4s active-idle register
|
|
13129
|
+
R498 recent-row hot pulse 3s active-fresh register
|
|
13130
|
+
R519 watermark ambient 6s ambient (always-on)
|
|
13131
|
+
R528 crescent ambient 7s ambient (quiet-only) ← this round
|
|
13132
|
+
SMIL <animate> on fill-opacity (not parent opacity) so
|
|
13133
|
+
the wrapper's React-controlled gate compositions stay
|
|
13134
|
+
intact. Gated on !reducedMotion at JSX level —
|
|
13135
|
+
reducedMotion users see the inner rect at default
|
|
13136
|
+
fill-opacity=1.0 (no SMIL mounted, wrapper's static
|
|
13137
|
+
composed opacity wins). data-topo-brand-canvas-mark-
|
|
13138
|
+
breath attr exposes the gate state. */}
|
|
10581
13139
|
<rect
|
|
10582
13140
|
x="16" y="16" width="28" height="28"
|
|
10583
13141
|
fill={pal.legendText}
|
|
10584
13142
|
mask="url(#s2a-canvas-corner-mask)"
|
|
10585
|
-
|
|
13143
|
+
>
|
|
13144
|
+
{!reducedMotion && (
|
|
13145
|
+
<animate attributeName="fill-opacity" values="0.8;1;0.8" dur="7s" repeatCount="indefinite" />
|
|
13146
|
+
)}
|
|
13147
|
+
</rect>
|
|
10586
13148
|
</g>
|
|
10587
13149
|
</svg>
|
|
10588
13150
|
|
|
@@ -10934,12 +13496,32 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10934
13496
|
(the minimap viewport is small, ~120×82 px).
|
|
10935
13497
|
Filter is paint-only — bbox unchanged. transition
|
|
10936
13498
|
list extends to include 'filter 200ms ease-out'
|
|
10937
|
-
so the glow eases when zoom crosses 1.5x.
|
|
10938
|
-
|
|
13499
|
+
so the glow eases when zoom crosses 1.5x.
|
|
13500
|
+
R540: extends the drop-shadow to also fire on
|
|
13501
|
+
hoveredMinimap with HOVER PRECEDENCE over zoom-
|
|
13502
|
+
state. Pre-R540 the viewport drop-shadow was
|
|
13503
|
+
zoom-only (single gate); R540 adds an
|
|
13504
|
+
interactional gate at lighter blur intensity.
|
|
13505
|
+
Hover wins when both true — interactional signal
|
|
13506
|
+
(user is inspecting) trumps informational signal
|
|
13507
|
+
(you're zoomed). Sibling to R534 edge-badge
|
|
13508
|
+
hover-precedence + R538 group-label hover-tier
|
|
13509
|
+
extensions.
|
|
13510
|
+
2-tier alpha ladder:
|
|
13511
|
+
hover (interactional) legendAccent 99 (~60%)
|
|
13512
|
+
zoom > 1.5 (info) legendAccent 80 (~50%)
|
|
13513
|
+
rest none
|
|
13514
|
+
data-topo-minimap-viewport-glow attr upgraded
|
|
13515
|
+
binary ('true'/'false') → 3-value ('hover' |
|
|
13516
|
+
'zoom' | 'false') so tests can distinguish
|
|
13517
|
+
gate cause. */
|
|
13518
|
+
data-topo-minimap-viewport-glow={hoveredMinimap ? 'hover' : view.zoom > 1.5 ? 'zoom' : 'false'}
|
|
10939
13519
|
style={{
|
|
10940
|
-
filter:
|
|
10941
|
-
? `drop-shadow(0 0 2px ${pal.legendAccent}
|
|
10942
|
-
:
|
|
13520
|
+
filter: hoveredMinimap
|
|
13521
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}99)`
|
|
13522
|
+
: view.zoom > 1.5
|
|
13523
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}80)`
|
|
13524
|
+
: undefined,
|
|
10943
13525
|
transition: smoothView
|
|
10944
13526
|
? 'x 280ms ease-out, y 280ms ease-out, width 280ms ease-out, height 280ms ease-out, stroke-width 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out'
|
|
10945
13527
|
: 'stroke-width 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
|
|
@@ -11080,7 +13662,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11080
13662
|
// transition-colors only — without the transform transition,
|
|
11081
13663
|
// active:scale-95 would hard-cut. transform-gpu promotes the
|
|
11082
13664
|
// layer so scale doesn't trigger paint thrash.
|
|
11083
|
-
|
|
13665
|
+
/* Round 521 / Loop — extends R270's hover-preview pattern
|
|
13666
|
+
(inactive toggle hover previews the active state's
|
|
13667
|
+
visual register) to the TYPOGRAPHY axis at the chrome
|
|
13668
|
+
nodeSize S/M/L surface. Pre-R521 the inactive variant
|
|
13669
|
+
had `hover:bg-cyan-500/5` (R270 bg preview) but no
|
|
13670
|
+
typography preview — active variant uses `font-medium`
|
|
13671
|
+
(fw 500), inactive variant sat at default fw 400 even
|
|
13672
|
+
on hover.
|
|
13673
|
+
R521 adds `hover:font-medium` + `transition-[font-
|
|
13674
|
+
weight]` to the inactive variant so hovering an
|
|
13675
|
+
inactive S/M/L letter thickens the glyph 400 → 500,
|
|
13676
|
+
previewing the typography of the active state the
|
|
13677
|
+
click would commit to. Sibling to R421 chrome zoom-
|
|
13678
|
+
level fontWeight hover delta (rest 500 → hover 600)
|
|
13679
|
+
and R520 footer fontWeight hover (500 → 600) — same
|
|
13680
|
+
idiom: thicken-on-hover for chrome surfaces with a
|
|
13681
|
+
pre-commit gesture.
|
|
13682
|
+
`font-medium` (500) matches the ACTIVE variant's
|
|
13683
|
+
fw exactly — the inactive hover landing weight equals
|
|
13684
|
+
the active locked weight, so clicking commits to a
|
|
13685
|
+
typography state the eye already saw 'on the way in'.
|
|
13686
|
+
Hover-fw family extension (5 anchors now):
|
|
13687
|
+
R416 chip-row count digit rest 500 → hover 700/600
|
|
13688
|
+
R420 chrome zoom-level rest 500 → hover 600
|
|
13689
|
+
R425 hub-center digit rest 700 → hover 800
|
|
13690
|
+
R520 +N more flows footer rest 500 → hover 600
|
|
13691
|
+
R521 chrome nodeSize S/M/L inactive rest 400 → hover 500 ← this round
|
|
13692
|
+
Active variant `font-medium` unchanged so the rest-vs-
|
|
13693
|
+
active typography distinction stays intact when the
|
|
13694
|
+
user IS clicked-in (active stays at fw 500, inactive
|
|
13695
|
+
rest at fw 400, inactive hover preview at fw 500).
|
|
13696
|
+
data-topo-chrome-nodesize-hover-preview-fw="500" attr
|
|
13697
|
+
exposes the polish for tests. */
|
|
13698
|
+
className={`px-2 py-1 transition-colors transition-transform transition-[font-weight] duration-200 ease-out transform-gpu active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset ${idx > 0 ? 'border-l' : ''} ${nodeScale === v ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'}${chromePopping === popKey ? ' anet-chrome-pop' : ''}`}
|
|
13699
|
+
data-topo-chrome-nodesize-hover-preview-fw={nodeScale === v ? null : '500'}
|
|
11084
13700
|
style={{ color: nodeScale === v ? undefined : pal.legendText, borderColor: pal.containerBorder }}
|
|
11085
13701
|
>
|
|
11086
13702
|
{lbl}
|
|
@@ -11118,6 +13734,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11118
13734
|
onClick={() => { popChrome('zoom-out'); zoomByDiscrete(1 / 1.2); }}
|
|
11119
13735
|
data-topo-chrome-zoom-out
|
|
11120
13736
|
data-topo-chrome-zoom-out-popping={chromePopping === 'zoom-out' ? 'true' : 'false'}
|
|
13737
|
+
data-topo-chrome-zoom-out-brightness-hover="1.15"
|
|
11121
13738
|
// R196: press-state deepens bg one tier above hover (white/5
|
|
11122
13739
|
// → white/10) so mouse-down has a tactile dim before the
|
|
11123
13740
|
// R186 icon pop fires on release.
|
|
@@ -11126,7 +13743,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11126
13743
|
// press-feedback family (R492 + nodeSize above). transition-
|
|
11127
13744
|
// transform + duration-200 + ease-out + transform-gpu added
|
|
11128
13745
|
// since the className had only transition-colors.
|
|
11129
|
-
|
|
13746
|
+
/* R596 — zoom-out segmented button gains hover:brightness-[1.15]
|
|
13747
|
+
(35th anchor in per-element brightness family, 4th HTML).
|
|
13748
|
+
Sibling to zoom-in below — paired-anchor round closing the
|
|
13749
|
+
entire zoom trio at brightness parity (R593 zoom-level
|
|
13750
|
+
readout + R596 zoom-out + zoom-in).
|
|
13751
|
+
|
|
13752
|
+
Segmented-control constraint preserved: brightness is pure
|
|
13753
|
+
paint (no geometry shift) so it doesn't break the R400
|
|
13754
|
+
segmented-unity rule (which only excludes geometric hover-
|
|
13755
|
+
lift like translateY). Each segment can brighten
|
|
13756
|
+
independently while the strip stays planted as one unit.
|
|
13757
|
+
|
|
13758
|
+
Tailwind v4 arbitrary `[transition-property:...]` replaces
|
|
13759
|
+
`transition-colors transition-transform` so the filter
|
|
13760
|
+
property joins the existing 200ms cadence — bg / color /
|
|
13761
|
+
transform / filter all ease in unison.
|
|
13762
|
+
|
|
13763
|
+
data-topo-chrome-zoom-out-brightness-hover='1.15' attr
|
|
13764
|
+
documents the hover value for tests. */
|
|
13765
|
+
className="group px-2 py-1 hover:bg-white/5 hover:brightness-[1.15] active:bg-white/10 [transition-property:color,background-color,transform,filter] duration-200 ease-out transform-gpu active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
|
|
11130
13766
|
style={{ color: pal.legendText }}
|
|
11131
13767
|
aria-label="Zoom out"
|
|
11132
13768
|
title="Zoom out (−)"
|
|
@@ -11218,13 +13854,66 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11218
13854
|
? 'true' : 'false'
|
|
11219
13855
|
}
|
|
11220
13856
|
data-topo-chrome-zoom-level-hover={hoveredZoomLevel ? 'true' : 'false'}
|
|
13857
|
+
/* Round 517 / Loop — extends the chrome zoom-level readout
|
|
13858
|
+
from 2-axis (R347 letter-spacing + R420 fontWeight) to
|
|
13859
|
+
3-axis hover signature by adding a color brighten to
|
|
13860
|
+
pal.legendHeadline. Pre-R517 the readout's color stayed
|
|
13861
|
+
at pal.legendText on hover; the digits got tighter
|
|
13862
|
+
kerning (0→0.5px) and heavier weight (500→600) but
|
|
13863
|
+
stayed the same legendText gray tone. R517 lifts color
|
|
13864
|
+
to legendHeadline on hover so the readout brightens
|
|
13865
|
+
into the headline tier at the same beat — matching the
|
|
13866
|
+
R55/R197/R239 hover-deepen-own-hue idiom that legend-
|
|
13867
|
+
row label + count carry at panel scope. Chrome strip's
|
|
13868
|
+
only data display now has full 3-axis hover signature
|
|
13869
|
+
(letter-spacing + fontWeight + color), parity with the
|
|
13870
|
+
chip-row chips' own hover-brighten pattern.
|
|
13871
|
+
Implementation: inline color uses the same hoveredZoom-
|
|
13872
|
+
Level state as R347/R420 — no new state. Transition
|
|
13873
|
+
already includes 'color 200ms ease-out' (R264) so the
|
|
13874
|
+
brighten eases under the same cadence as the kerning +
|
|
13875
|
+
weight tweens — one motion-coherent 3-axis lift.
|
|
13876
|
+
data-topo-chrome-zoom-level-color attr exposes the
|
|
13877
|
+
resolved color string for tests. */
|
|
13878
|
+
data-topo-chrome-zoom-level-color={hoveredZoomLevel ? 'headline' : 'text'}
|
|
13879
|
+
/* R593 — chrome zoom-level readout gains filter
|
|
13880
|
+
brightness(1.15) on hover. 32nd anchor in per-element
|
|
13881
|
+
brightness family. FIRST HTML-element brightness
|
|
13882
|
+
anchor outside the SVG canvas (the readout is an
|
|
13883
|
+
HTML <span>, not SVG).
|
|
13884
|
+
|
|
13885
|
+
Closes the chrome zoom-level readout's hover signature
|
|
13886
|
+
at 4 AXES:
|
|
13887
|
+
R347 letter-spacing 0 → 0.5px
|
|
13888
|
+
R420 fontWeight 500 → 600
|
|
13889
|
+
R517 color legendText → legendHeadline
|
|
13890
|
+
R593 brightness 1 → 1.15 ← this round
|
|
13891
|
+
|
|
13892
|
+
The chrome strip's only data display now has full
|
|
13893
|
+
4-axis hover signature — color brightens to headline
|
|
13894
|
+
tier, glyph thickens, kerning spreads, AND brightness
|
|
13895
|
+
lifts another +15% on top of the color swap.
|
|
13896
|
+
|
|
13897
|
+
Triple-paint multiplicative interaction:
|
|
13898
|
+
color (legendHeadline) × brightness(1.15) — the
|
|
13899
|
+
headline tier reads dramatically brighter than a
|
|
13900
|
+
plain color swap.
|
|
13901
|
+
|
|
13902
|
+
Transition list extends with 'filter 200ms ease-out'
|
|
13903
|
+
matching the existing 200ms cadence across all 4 axes
|
|
13904
|
+
— motion-coherent state-flip.
|
|
13905
|
+
|
|
13906
|
+
data-topo-chrome-zoom-level-brightness attr exposes
|
|
13907
|
+
the gate for tests. */
|
|
13908
|
+
data-topo-chrome-zoom-level-brightness={hoveredZoomLevel ? '1.15' : '1'}
|
|
11221
13909
|
onMouseEnter={() => setHoveredZoomLevel(true)}
|
|
11222
13910
|
onMouseLeave={() => setHoveredZoomLevel(false)}
|
|
11223
13911
|
style={{
|
|
11224
|
-
color: pal.legendText,
|
|
13912
|
+
color: hoveredZoomLevel ? pal.legendHeadline : pal.legendText,
|
|
11225
13913
|
borderColor: pal.containerBorder,
|
|
11226
13914
|
minWidth: 46,
|
|
11227
13915
|
display: 'inline-block',
|
|
13916
|
+
filter: hoveredZoomLevel ? 'brightness(1.15)' : undefined,
|
|
11228
13917
|
// R347: letter-spacing hover tween — extends R344/R345
|
|
11229
13918
|
// hover-letter-spacing family into the chrome strip.
|
|
11230
13919
|
letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
|
|
@@ -11254,7 +13943,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11254
13943
|
on theme flip while siblings eased. Sibling treatment
|
|
11255
13944
|
to the nodeSize + zoom wrapper transitions added this
|
|
11256
13945
|
round. */
|
|
11257
|
-
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
|
|
13946
|
+
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out',
|
|
11258
13947
|
}}
|
|
11259
13948
|
title="Current zoom level"
|
|
11260
13949
|
>
|
|
@@ -11264,13 +13953,16 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11264
13953
|
onClick={() => { popChrome('zoom-in'); zoomByDiscrete(1.2); }}
|
|
11265
13954
|
data-topo-chrome-zoom-in
|
|
11266
13955
|
data-topo-chrome-zoom-in-popping={chromePopping === 'zoom-in' ? 'true' : 'false'}
|
|
13956
|
+
data-topo-chrome-zoom-in-brightness-hover="1.15"
|
|
11267
13957
|
// R196: press-state (mirror of zoom-out above).
|
|
11268
13958
|
// R352: `group` lets the inner svg respond via group-hover.
|
|
11269
13959
|
// R493 — zoom +/− buttons join the chrome-strip active:scale-95
|
|
11270
13960
|
// press-feedback family (R492 + nodeSize above). transition-
|
|
11271
13961
|
// transform + duration-200 + ease-out + transform-gpu added
|
|
11272
13962
|
// since the className had only transition-colors.
|
|
11273
|
-
|
|
13963
|
+
/* R596 sibling — zoom-in mirrors zoom-out above. 36th anchor
|
|
13964
|
+
in per-element brightness family, 5th HTML. */
|
|
13965
|
+
className="group px-2 py-1 hover:bg-white/5 hover:brightness-[1.15] active:bg-white/10 [transition-property:color,background-color,transform,filter] duration-200 ease-out transform-gpu active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
|
|
11274
13966
|
style={{ color: pal.legendText }}
|
|
11275
13967
|
aria-label="Zoom in"
|
|
11276
13968
|
title="Zoom in (+)"
|
|
@@ -11329,9 +14021,49 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11329
14021
|
// active state during press = hover-lift (-1px) + scale-95
|
|
11330
14022
|
// composes as translateY(-1px) scale(0.95) — lift-and-compress
|
|
11331
14023
|
// for tactile click feel.
|
|
11332
|
-
className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 hover:-translate-y-px active:scale-95
|
|
14024
|
+
className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 hover:-translate-y-px active:scale-95 transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60"
|
|
11333
14025
|
data-topo-chrome-reset-hover-lift="true"
|
|
11334
|
-
|
|
14026
|
+
/* R594 — chrome reset button gains filter brightness(1.15)
|
|
14027
|
+
on hoveredReset. 33rd anchor in per-element brightness
|
|
14028
|
+
family, 2nd HTML-element anchor (R593 zoom-level was
|
|
14029
|
+
the first).
|
|
14030
|
+
|
|
14031
|
+
Closes reset button hover signature at 5 axes:
|
|
14032
|
+
R400 button hover-lift translateY(-1px)
|
|
14033
|
+
R350 icon hover-rotate -8°
|
|
14034
|
+
R453 icon stroke-width 2.5 → 2.8
|
|
14035
|
+
R514 icon scale 1.0 → 1.10
|
|
14036
|
+
R594 button brightness 1 → 1.15 ← this round
|
|
14037
|
+
|
|
14038
|
+
The reset button now has the densest hover signature
|
|
14039
|
+
among the 2 standalone chrome buttons (reset + fullscreen
|
|
14040
|
+
from R400). When user hovers, the entire button lifts
|
|
14041
|
+
(-1px), brightens (+15%), AND its icon rotates (-8°),
|
|
14042
|
+
thickens (+0.3 sw), and scales up (+10%). Inside +
|
|
14043
|
+
outside motion-coherent.
|
|
14044
|
+
|
|
14045
|
+
Triple-paint multiplicative interaction at this surface:
|
|
14046
|
+
bg (hover:bg-white/5) × border (pal.containerBorder)
|
|
14047
|
+
× color (pal.legendText) ALL get brightness(1.15)
|
|
14048
|
+
multiplied in — the button's chrome stack uniformly
|
|
14049
|
+
brightens, reading as "this control is awake under
|
|
14050
|
+
your cursor".
|
|
14051
|
+
|
|
14052
|
+
Inline transition shorthand replaces the className-
|
|
14053
|
+
based `transition-colors transition-transform` (R557
|
|
14054
|
+
banked: when adding new transition-driven hover axes
|
|
14055
|
+
to an element, extend the INLINE list — inline
|
|
14056
|
+
overrides className). All 5 transition properties (bg
|
|
14057
|
+
/ color / border / transform / filter) now ride one
|
|
14058
|
+
200ms ease-out beat. */
|
|
14059
|
+
data-topo-chrome-reset-brightness={hoveredReset ? '1.15' : '1'}
|
|
14060
|
+
style={{
|
|
14061
|
+
background: pal.legendBox.fill,
|
|
14062
|
+
borderColor: pal.containerBorder,
|
|
14063
|
+
color: pal.legendText,
|
|
14064
|
+
filter: hoveredReset ? 'brightness(1.15)' : undefined,
|
|
14065
|
+
transition: 'color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out, transform 200ms ease-out, filter 200ms ease-out',
|
|
14066
|
+
}}
|
|
11335
14067
|
aria-label="Reset view"
|
|
11336
14068
|
title="Reset zoom + pan (0, or double-click the canvas)"
|
|
11337
14069
|
>
|
|
@@ -11377,8 +14109,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11377
14109
|
// owns transform during its 450ms run. transformOrigin
|
|
11378
14110
|
// 'center' so rotation pivots around the icon's centre
|
|
11379
14111
|
// (default would be top-left and the icon would arc).
|
|
14112
|
+
/* Round 514 / Loop — extends R352/R353 chrome icon hover-
|
|
14113
|
+
scale family to the reset button. Pre-R514 the reset
|
|
14114
|
+
icon had hover-rotate (-8°, R350) + hover-sw (2.5→2.8,
|
|
14115
|
+
R453) but no hover-scale, while zoom-out (R352), zoom-
|
|
14116
|
+
in (R352), and fullscreen (R353) icons all carried
|
|
14117
|
+
`group-hover:scale-110`. R514 brings the reset icon
|
|
14118
|
+
into the same 3-axis hover signature (rotate + sw +
|
|
14119
|
+
scale) as the rest of the chrome strip.
|
|
14120
|
+
Implementation: inline transform composes rotate +
|
|
14121
|
+
scale into one string. `transform: rotate(-8deg)
|
|
14122
|
+
scale(1.1)` on hover; `rotate(0) scale(1)` at rest.
|
|
14123
|
+
transformOrigin 'center' applies to both — rotation
|
|
14124
|
+
pivots around centre AND scale grows from centre.
|
|
14125
|
+
The Tailwind `group-hover:scale-110` approach can't
|
|
14126
|
+
work here because inline `style.transform` overrides
|
|
14127
|
+
className-based transforms; compose the multi-axis
|
|
14128
|
+
transform inline instead.
|
|
14129
|
+
Chrome icon hover gesture parity (post-R514):
|
|
14130
|
+
zoom-out scale-110 + sw-lift (R352/R454)
|
|
14131
|
+
zoom-in scale-110 + sw-lift (R352/R454)
|
|
14132
|
+
fullscreen scale-110 + sw-lift (R353/R455)
|
|
14133
|
+
reset scale-1.1 + sw-lift + rotate -8°
|
|
14134
|
+
(R514 + R453 + R350)
|
|
14135
|
+
reset gets the EXTRA rotate axis because R350's spin
|
|
14136
|
+
preview semantic is reset-specific — the rotation
|
|
14137
|
+
hints at the click-spin (R184) the button will fire. */
|
|
11380
14138
|
style={{
|
|
11381
|
-
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
|
|
14139
|
+
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg) scale(1.1)' : 'rotate(0deg) scale(1)',
|
|
11382
14140
|
transformOrigin: 'center',
|
|
11383
14141
|
transition: 'transform 200ms ease-out, stroke-width 200ms ease-out',
|
|
11384
14142
|
}}
|
|
@@ -11402,9 +14160,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11402
14160
|
classes win specificity. */}
|
|
11403
14161
|
<button
|
|
11404
14162
|
onClick={() => { popChrome('fullscreen'); toggleFullscreen(); }}
|
|
14163
|
+
onMouseEnter={() => setHoveredFullscreen(true)}
|
|
14164
|
+
onMouseLeave={() => setHoveredFullscreen(false)}
|
|
14165
|
+
onFocus={() => setHoveredFullscreen(true)}
|
|
14166
|
+
onBlur={() => setHoveredFullscreen(false)}
|
|
11405
14167
|
data-topo-chrome-fullscreen
|
|
11406
14168
|
data-topo-chrome-fullscreen-active={isFullscreen ? 'true' : 'false'}
|
|
11407
14169
|
data-topo-chrome-fullscreen-popping={chromePopping === 'fullscreen' ? 'true' : 'false'}
|
|
14170
|
+
data-topo-chrome-fullscreen-hover={hoveredFullscreen ? 'true' : 'false'}
|
|
14171
|
+
data-topo-chrome-fullscreen-brightness={hoveredFullscreen ? '1.15' : '1'}
|
|
11408
14172
|
// R196: fullscreen also picks up press-state — active variant
|
|
11409
14173
|
// deepens cyan-500/20 → cyan-500/25 on press; non-active
|
|
11410
14174
|
// deepens white/5 → white/10.
|
|
@@ -11424,17 +14188,48 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11424
14188
|
// R400: hover translateY(-1px) lift — see reset button above for family doc.
|
|
11425
14189
|
// R493 — fullscreen joins active:scale-95 press family (same as
|
|
11426
14190
|
// reset above: lift-and-compress compound transform on press).
|
|
11427
|
-
className={`group p-1.5 rounded-md border hover:-translate-y-px active:scale-95
|
|
14191
|
+
className={`group p-1.5 rounded-md border hover:-translate-y-px active:scale-95 transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
|
|
11428
14192
|
isFullscreen
|
|
11429
|
-
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
|
|
14193
|
+
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25'
|
|
11430
14194
|
: 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
|
|
11431
14195
|
}${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
|
|
11432
14196
|
data-topo-chrome-fullscreen-hover-lift="true"
|
|
14197
|
+
/* R595 — chrome fullscreen button gains filter brightness(1.15)
|
|
14198
|
+
on hoveredFullscreen. 34th anchor in per-element brightness
|
|
14199
|
+
family, 3rd HTML-element anchor (R593 zoom-level + R594
|
|
14200
|
+
reset). Sibling to R594 — closes the standalone chrome
|
|
14201
|
+
button pair (reset + fullscreen) at full brightness parity.
|
|
14202
|
+
|
|
14203
|
+
Per the R400 family doc, reset + fullscreen are the only
|
|
14204
|
+
two standalone (non-segmented) chrome buttons. Both now
|
|
14205
|
+
share the same 5-axis hover signature pattern:
|
|
14206
|
+
button hover-lift translateY(-1px) R400
|
|
14207
|
+
icon hover-scale 1.0 → 1.10 R353 (full) / R514 (reset)
|
|
14208
|
+
icon stroke-width 2.5 → 2.8 R455 (full) / R453 (reset)
|
|
14209
|
+
icon hover-rotate R576 (full +3°) / R350 (reset -8°)
|
|
14210
|
+
button brightness 1 → 1.15 R595 (full) / R594 (reset)
|
|
14211
|
+
|
|
14212
|
+
Inline transition shorthand replaces the className-based
|
|
14213
|
+
`transition-colors transition-transform` (R557 banked:
|
|
14214
|
+
inline overrides className for transition-driven hover
|
|
14215
|
+
axes). 5 transition properties (bg / color / border /
|
|
14216
|
+
transform / filter) ride one 200ms ease-out beat.
|
|
14217
|
+
|
|
14218
|
+
Active-variant interaction: when isFullscreen=true the
|
|
14219
|
+
className applies cyan bg + cyan text. brightness(1.15)
|
|
14220
|
+
on top makes the active+hovered state read at maximum
|
|
14221
|
+
vivid cyan — the user knows they're poised to EXIT
|
|
14222
|
+
fullscreen with extra visual confirmation.
|
|
14223
|
+
|
|
14224
|
+
data-topo-chrome-fullscreen-brightness attr exposes
|
|
14225
|
+
the gate for tests. */
|
|
11433
14226
|
style={{
|
|
11434
14227
|
borderColor: pal.containerBorder,
|
|
11435
14228
|
...(isFullscreen
|
|
11436
14229
|
? {}
|
|
11437
14230
|
: { background: pal.legendBox.fill, color: pal.legendText }),
|
|
14231
|
+
filter: hoveredFullscreen ? 'brightness(1.15)' : undefined,
|
|
14232
|
+
transition: 'color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out, transform 200ms ease-out, filter 200ms ease-out',
|
|
11438
14233
|
}}
|
|
11439
14234
|
aria-label={isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen'}
|
|
11440
14235
|
title={isFullscreen ? 'Exit fullscreen' : 'Fullscreen'}
|
|
@@ -11460,12 +14255,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
11460
14255
|
+ R455 fullscreen (this round). transition-[transform,
|
|
11461
14256
|
stroke-width] expands existing transition-transform
|
|
11462
14257
|
so the sw lift eases under R352 scale-110 cadence. */}
|
|
14258
|
+
{/* Round 576 / Loop — fullscreen icon picks up hover-rotate-3.
|
|
14259
|
+
Joins R350 reset / R547 pill × / R549 brand logo at 4th
|
|
14260
|
+
anchor in hover-rotate idiom. Corner arrows rotate 3° on
|
|
14261
|
+
hover — subtle "preparing to transform" gesture (enter
|
|
14262
|
+
or exit fullscreen). Tailwind v4 emits individual rotate
|
|
14263
|
+
property (banked R547) — sits alongside group-hover:
|
|
14264
|
+
scale-110 in independent rotate axis. */}
|
|
11463
14265
|
{isFullscreen ? (
|
|
11464
|
-
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:[stroke-width:2.8] transform-gpu" data-topo-chrome-fullscreen-icon="exit">
|
|
14266
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:rotate-3 group-hover:[stroke-width:2.8] transform-gpu" data-topo-chrome-fullscreen-icon="exit">
|
|
11465
14267
|
<path d="M8 3v4a1 1 0 0 1-1 1H3M21 8h-4a1 1 0 0 1-1-1V3M3 16h4a1 1 0 0 1 1 1v4M16 21v-4a1 1 0 0 1 1-1h4" />
|
|
11466
14268
|
</svg>
|
|
11467
14269
|
) : (
|
|
11468
|
-
|
|
14270
|
+
// R576 sibling — enter variant also picks up rotate-3.
|
|
14271
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:rotate-3 group-hover:[stroke-width:2.8] transform-gpu" data-topo-chrome-fullscreen-icon="enter">
|
|
11469
14272
|
<path d="M3 8V5a2 2 0 0 1 2-2h3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M21 16v3a2 2 0 0 1-2 2h-3" />
|
|
11470
14273
|
</svg>
|
|
11471
14274
|
)}
|