@sleep2agi/agent-network-dashboard 0.5.1-preview.4 → 0.5.1-preview.41
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 +6 -6
- 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 +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/admin.segments/_full.segment.rsc +2 -2
- package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
- package/.next/server/app/admin.segments/_index.segment.rsc +2 -2
- package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- 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 +3 -3
- package/.next/server/app/login.segments/_full.segment.rsc +3 -3
- package/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/server/app/login.segments/_index.segment.rsc +2 -2
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/login.segments/login.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/logs.segments/_full.segment.rsc +2 -2
- package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/logs.segments/_index.segment.rsc +2 -2
- package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/messages.segments/_full.segment.rsc +2 -2
- package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
- package/.next/server/app/messages.segments/_index.segment.rsc +2 -2
- package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/node.segments/_full.segment.rsc +2 -2
- package/.next/server/app/node.segments/_head.segment.rsc +1 -1
- package/.next/server/app/node.segments/_index.segment.rsc +2 -2
- package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/node.segments/node.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/nodes.segments/_full.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/_index.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/server-logs.segments/_full.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/_index.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/settings/networks.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/settings/tokens.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
- package/.next/server/app/settings.html +2 -2
- package/.next/server/app/settings.rsc +3 -3
- package/.next/server/app/settings.segments/_full.segment.rsc +3 -3
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- 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 +2 -2
- package/.next/server/app/tasks.segments/_full.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/_index.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +3 -3
- 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/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/03s0-hiyr832o.js +4 -0
- package/.next/static/chunks/057c8hh9cri2y.js +1 -0
- package/.next/static/chunks/0hwb_h953qm4d.css +2 -0
- package/.next/static/chunks/0ulf.39xk5_1v.js +1 -0
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +787 -58
- package/package.json +1 -1
- package/scripts/topo-chip-digit-fontweight-test.mjs +105 -0
- package/scripts/topo-chrome-segmented-radius-test.mjs +100 -0
- package/scripts/topo-edge-badge-fontsize-test.mjs +90 -0
- package/scripts/topo-edge-badge-opacity-test.mjs +80 -0
- package/scripts/topo-edge-badge-stroke-test.mjs +92 -0
- package/scripts/topo-filter-pill-hover-opacity-test.mjs +110 -0
- package/scripts/topo-filter-pill-x-hover-scale-test.mjs +99 -0
- package/scripts/topo-flow-rail-linecap-test.mjs +79 -0
- package/scripts/topo-freshness-chip-tabular-test.mjs +41 -0
- package/scripts/topo-freshness-floor-lift-test.mjs +92 -0
- package/scripts/topo-freshness-suffix-tabular-test.mjs +88 -0
- package/scripts/topo-fullscreen-icon-hover-scale-test.mjs +91 -0
- package/scripts/topo-group-box-stroke-test.mjs +105 -0
- package/scripts/topo-group-label-count-fontweight-test.mjs +108 -0
- package/scripts/topo-hub-digit-fontsize-test.mjs +86 -0
- package/scripts/topo-hub-highlight-radius-test.mjs +90 -0
- package/scripts/topo-hub-hover-ring-opacity-test.mjs +96 -0
- package/scripts/topo-layout-toggle-hover-tracking-test.mjs +109 -0
- package/scripts/topo-layout-toggle-radius-test.mjs +87 -0
- package/scripts/topo-legend-label-fontweight-test.mjs +94 -0
- package/scripts/topo-minimap-offline-opacity-test.mjs +90 -0
- package/scripts/topo-minimap-viewport-hover-test.mjs +109 -0
- package/scripts/topo-minimap-viewport-linejoin-test.mjs +75 -0
- package/scripts/topo-more-flows-fontweight-test.mjs +103 -0
- package/scripts/topo-more-flows-hover-letterspacing-test.mjs +98 -0
- package/scripts/topo-panel-count-letterspacing-test.mjs +89 -0
- package/scripts/topo-panel-rect-opacity-hover-test.mjs +109 -0
- package/scripts/topo-panel-title-hover-letterspacing-test.mjs +97 -0
- package/scripts/topo-pressure-bar-height-test.mjs +92 -0
- package/scripts/topo-pressure-kicker-fontweight-test.mjs +76 -0
- package/scripts/topo-recent-pip-radius-test.mjs +76 -0
- package/scripts/topo-recent-row-text-fontweight-test.mjs +90 -0
- package/scripts/topo-reset-hover-rotate-test.mjs +102 -0
- package/scripts/topo-vendor-glyph-fontweight-test.mjs +102 -0
- package/scripts/topo-vendor-letter-hover-scale-test.mjs +129 -0
- package/scripts/topo-zoom-icon-hover-scale-test.mjs +114 -0
- package/scripts/topo-zoom-level-hover-letterspacing-test.mjs +91 -0
- package/.next/static/chunks/04sya_8oheege.js +0 -4
- package/.next/static/chunks/08c-dt44c.swe.js +0 -1
- package/.next/static/chunks/0aauz~36q5n2a.css +0 -2
- package/.next/static/chunks/12e0z26h2p0xl.js +0 -1
- /package/.next/static/{CkuUcpLXVJ-OsmjZqi3xX → 4Mzmc_vft-1RJtomdAHL-}/_buildManifest.js +0 -0
- /package/.next/static/{CkuUcpLXVJ-OsmjZqi3xX → 4Mzmc_vft-1RJtomdAHL-}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{CkuUcpLXVJ-OsmjZqi3xX → 4Mzmc_vft-1RJtomdAHL-}/_ssgManifest.js +0 -0
|
@@ -194,7 +194,27 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
|
|
|
194
194
|
// tier (R312-R314 family); the amber bg/text/border still does
|
|
195
195
|
// the warning-state work, the weight just keeps the chip in the
|
|
196
196
|
// same data-typography ladder as its siblings.
|
|
197
|
-
|
|
197
|
+
// Round 377 / Loop: FreshnessChip baseClass picks up `tabular-nums`.
|
|
198
|
+
// The chip-row's last untouched chip joins the R224-R357 broader
|
|
199
|
+
// tabular-nums sweep:
|
|
200
|
+
// R224 edge badge digit
|
|
201
|
+
// R225 hub digit / panel header counts / recent row count
|
|
202
|
+
// R232 chip row counts (working / online / active-links)
|
|
203
|
+
// R321 recent row timestamp
|
|
204
|
+
// R322 recent panel hot count
|
|
205
|
+
// R323 filter pin pill counts
|
|
206
|
+
// R333 vendor count suffix
|
|
207
|
+
// R357 active-links freshness suffix wrapper
|
|
208
|
+
// R377 FreshnessChip body (this round)
|
|
209
|
+
// `font-mono` already gives equal-width glyphs but `tabular-nums`
|
|
210
|
+
// is the explicit-invariant the rest of the chip row carries.
|
|
211
|
+
// FreshnessChip body reads `lag · {sec}s` — the {sec} digit grows
|
|
212
|
+
// every second; tabular-nums explicitly locks digit width so the
|
|
213
|
+
// chip stays planted as the seconds counter ticks past 9 → 10 →
|
|
214
|
+
// 99 → 100. R187 transition-colors duration-300 + R275 stale-only
|
|
215
|
+
// render gate + R315 font-medium R313 family alignment all
|
|
216
|
+
// preserved.
|
|
217
|
+
const baseClass = "hidden sm:inline px-2.5 py-1 rounded-md font-mono font-medium tabular-nums border transition-colors duration-300";
|
|
198
218
|
const colorClass = stale
|
|
199
219
|
? "bg-amber-500/10 text-amber-300 border-amber-500/20"
|
|
200
220
|
: "bg-gray-500/10 text-gray-400 border-gray-500/20";
|
|
@@ -1026,6 +1046,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1026
1046
|
// navigation footer. Drives the on-hover opacity boost + underline
|
|
1027
1047
|
// that signals interactivity, mirroring the hoveredHub idiom above.
|
|
1028
1048
|
const [hoveredRecentMore, setHoveredRecentMore] = useState(false);
|
|
1049
|
+
// Round 346 / Loop: minimap-container hover affordance. The minimap
|
|
1050
|
+
// is a click-target (role=button at line ~7810, recenter-on-click +
|
|
1051
|
+
// Enter→resetView) but pre-R346 nothing visually changed on hover —
|
|
1052
|
+
// the only hint was the `cursor: crosshair` style. R346 lifts the
|
|
1053
|
+
// viewport rect (strokeWidth 1.5 → 1.75 + opacity 0.9 → 1.0) when
|
|
1054
|
+
// the user enters the minimap, marking "this is the recenter target
|
|
1055
|
+
// and it's alive". Sibling polish to the R332 minimap rounded-md →
|
|
1056
|
+
// rounded-lg corner family — that round refined geometry, this one
|
|
1057
|
+
// gives the viewport indicator inside the geometry a hover state.
|
|
1058
|
+
// 280ms ease-out transition list matches R199 smoothView vocabulary
|
|
1059
|
+
// so the visual joins the existing rhythm on the same rect.
|
|
1060
|
+
const [hoveredMinimap, setHoveredMinimap] = useState(false);
|
|
1061
|
+
// Round 347 / Loop: zoom-level readout hover-state letter-spacing
|
|
1062
|
+
// tween (0 → 0.5 px). The readout sandwiched between zoom-out /
|
|
1063
|
+
// zoom-in is a passive percent display — pre-R347 it had no hover
|
|
1064
|
+
// feedback at all (only a `title` tooltip). R347 extends the R344
|
|
1065
|
+
// (`+N more flows` footer) + R345 (panel titles) hover-letter-
|
|
1066
|
+
// spacing family from panel/footer surfaces into the HTML chrome
|
|
1067
|
+
// strip. Hovering the readout spreads its digits 0.5 px, signalling
|
|
1068
|
+
// "this is alive". tabular-nums + minWidth: 46 from R225 still lock
|
|
1069
|
+
// the column so the tween doesn't shove neighbouring controls.
|
|
1070
|
+
// 200ms ease-out joins the existing R264 color/border transition
|
|
1071
|
+
// list on the same span.
|
|
1072
|
+
const [hoveredZoomLevel, setHoveredZoomLevel] = useState(false);
|
|
1073
|
+
// Round 350 / Loop: reset-button icon hover-rotate preview of the
|
|
1074
|
+
// R184 click-spin. Pre-R350 hovering the reset button only changed
|
|
1075
|
+
// the button bg (white/5); the icon inside stayed perfectly still.
|
|
1076
|
+
// R350 nudges the icon -8° on hover — a tactile hint that this
|
|
1077
|
+
// button rotates the icon on click. When the click fires, the
|
|
1078
|
+
// R184 anet-reset-spin keyframe animation overrides the hover
|
|
1079
|
+
// transform for its 450 ms run (CSS animations win over transitions
|
|
1080
|
+
// on the same property); when the animation ends + React removes
|
|
1081
|
+
// the className, the inline transform eases back to whatever the
|
|
1082
|
+
// hover state says — either -8° (still hovering) or 0 (mouse left).
|
|
1083
|
+
// 350th-round milestone polish.
|
|
1084
|
+
const [hoveredReset, setHoveredReset] = useState(false);
|
|
1029
1085
|
// R135: panel-wide hover-elevation. The recent-signal + legend
|
|
1030
1086
|
// panels both already host clickable rows (R56/R116 recent rows,
|
|
1031
1087
|
// R55/R61 legend rows) and a clickable footer (R133), so the
|
|
@@ -1787,12 +1843,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1787
1843
|
while honoring R328's wider baseline rhythm. data-topo-
|
|
1788
1844
|
chrome-layout-trailer attr unchanged — it still marks
|
|
1789
1845
|
the boundary surface for the gap probe. */}
|
|
1846
|
+
{/* Round 375 / Loop: Layout-toggle wrapper rounded-md → rounded-
|
|
1847
|
+
lg (6 → 8 px). Extends the corner-radius cascade family
|
|
1848
|
+
to the chrome-strip layout-toggle wrapper:
|
|
1849
|
+
R330 canvas wrapper rounded-xl 12 px
|
|
1850
|
+
R331 SVG panels rx=10 10 px
|
|
1851
|
+
R332 minimap container rounded-lg 8 px
|
|
1852
|
+
R375 Layout-toggle wrapper rounded-lg 8 px (this round)
|
|
1853
|
+
Pre-R375 the wrapper at rounded-md (6 px) was the only
|
|
1854
|
+
chrome-strip container still using the smaller corner
|
|
1855
|
+
radius — both R330 outer wrapper and R332 minimap sit at
|
|
1856
|
+
≥ 8 px, so the Layout toggle's 6 px stood out as a
|
|
1857
|
+
tighter corner against the family. R375 brings it into
|
|
1858
|
+
the rounded-lg tier where the minimap already lives.
|
|
1859
|
+
Pure paint change — overflow-hidden still clips the
|
|
1860
|
+
inner buttons' bg-cyan-500/15 tints; no layout shift.
|
|
1861
|
+
R268 border-color + 200ms transition + R329 mr-0.5 +
|
|
1862
|
+
data-topo-chrome-layout-trailer all preserved. */}
|
|
1790
1863
|
<div
|
|
1791
|
-
className="mr-0.5 inline-flex rounded-
|
|
1864
|
+
className="mr-0.5 inline-flex rounded-lg border overflow-hidden"
|
|
1792
1865
|
style={{ borderColor: pal.containerBorder, transition: 'border-color 200ms ease-out' }}
|
|
1793
1866
|
role="group"
|
|
1794
1867
|
aria-label="Topology layout"
|
|
1795
1868
|
data-topo-chrome-layout-trailer
|
|
1869
|
+
data-topo-chrome-layout-radius="rounded-lg"
|
|
1796
1870
|
>
|
|
1797
1871
|
<button
|
|
1798
1872
|
onClick={() => { popChrome('layout-ring'); if (layout !== 'ring') toggleLayout(); }}
|
|
@@ -1826,7 +1900,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1826
1900
|
weight; cyan-400/60 + ring-inset retained. The
|
|
1827
1901
|
R163/R196 hover/active deeps + R249 chrome-pop
|
|
1828
1902
|
click feedback continue unchanged. */
|
|
1829
|
-
|
|
1903
|
+
// R351: hover:tracking-wide extends the R344/R345/R347
|
|
1904
|
+
// hover-letter-spacing family to a 4th surface (chrome-
|
|
1905
|
+
// strip Ring/Grid pair). transition-colors className
|
|
1906
|
+
// dropped in favour of an inline transition spec that
|
|
1907
|
+
// bundles bg/color (150ms ease) + letter-spacing
|
|
1908
|
+
// (200ms ease-out) — Tailwind's transition-colors
|
|
1909
|
+
// doesn't list letter-spacing, so without this the
|
|
1910
|
+
// hover:tracking-wide would snap. Sibling change on
|
|
1911
|
+
// the Grid button below.
|
|
1912
|
+
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 ${layout === 'ring' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-ring' ? ' anet-chrome-pop' : ''}`}
|
|
1913
|
+
style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out' }}
|
|
1830
1914
|
>
|
|
1831
1915
|
Ring
|
|
1832
1916
|
</button>
|
|
@@ -1843,14 +1927,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1843
1927
|
// Round 306 / Loop: focus-visible:ring-2 → ring-1 sibling
|
|
1844
1928
|
// change to Ring above — unifies focus-ring width across
|
|
1845
1929
|
// all chrome buttons.
|
|
1846
|
-
|
|
1930
|
+
// R351 sibling — Grid button picks up hover:tracking-wide
|
|
1931
|
+
// + inline transition spec. Same vocabulary as Ring.
|
|
1932
|
+
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 ${layout === 'grid' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-grid' ? ' anet-chrome-pop' : ''}`}
|
|
1847
1933
|
/* Round 268 / Loop: Grid button's left border (the
|
|
1848
1934
|
internal divider between Ring and Grid) picks up
|
|
1849
1935
|
pal.containerBorder, matching the wrapper change at
|
|
1850
1936
|
line ~1460 and the chrome strip's segmented borders
|
|
1851
|
-
(nodeSize, zoom). transition-colors className
|
|
1852
|
-
the border-color
|
|
1853
|
-
|
|
1937
|
+
(nodeSize, zoom). The R268 transition-colors className
|
|
1938
|
+
used to carry the border-color ease; R351 unfolds the
|
|
1939
|
+
transition list into the inline spec below so the
|
|
1940
|
+
letter-spacing tween rides alongside without snapping
|
|
1941
|
+
the border-color flip — border-color 200ms ease-out
|
|
1942
|
+
keeps R268's theme-toggle smoothness intact. */
|
|
1943
|
+
style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
1854
1944
|
>
|
|
1855
1945
|
Grid
|
|
1856
1946
|
</button>
|
|
@@ -2011,7 +2101,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2011
2101
|
pattern: small label spans demote, value stays
|
|
2012
2102
|
prominent. data-working-chip-unit exposes the
|
|
2013
2103
|
span for tests. */}
|
|
2014
|
-
{
|
|
2104
|
+
{/* Round 362 / Loop: digit picks up font-semibold
|
|
2105
|
+
(fw 500 → 600) for within-chip weight tier. The
|
|
2106
|
+
chip's outer className stays at font-medium (R313
|
|
2107
|
+
data-weight baseline); the digit overrides to
|
|
2108
|
+
semibold so it reads heavier than its " working"
|
|
2109
|
+
unit (which keeps fw 500 + R338 opacity-70).
|
|
2110
|
+
Joins the R333-R341 chip-internal-hierarchy arc
|
|
2111
|
+
at the chip-count scope. Sibling edits on the
|
|
2112
|
+
online + active-links chip digits below. data-
|
|
2113
|
+
working-chip-digit attr exposes the digit span. */}
|
|
2114
|
+
<span className="font-semibold" data-working-chip-digit>{workingCount}</span><span className="opacity-70" data-working-chip-unit> working</span>
|
|
2015
2115
|
</span>
|
|
2016
2116
|
<span
|
|
2017
2117
|
// Round 201 / Loop: online chip — mirror of the working
|
|
@@ -2074,7 +2174,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2074
2174
|
}}
|
|
2075
2175
|
>
|
|
2076
2176
|
{/* R337 sibling — online chip unit demotion. */}
|
|
2077
|
-
{
|
|
2177
|
+
{/* R362 sibling — online-chip digit gains font-semibold. */}
|
|
2178
|
+
<span className="font-semibold" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70" data-online-chip-unit> online</span>
|
|
2078
2179
|
</span>
|
|
2079
2180
|
</>
|
|
2080
2181
|
);
|
|
@@ -2201,8 +2302,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2201
2302
|
title={`${w} working · ${i} idle · ${o} offline`}
|
|
2202
2303
|
data-fleet-pressure
|
|
2203
2304
|
>
|
|
2204
|
-
|
|
2205
|
-
|
|
2305
|
+
{/* Round 373 / Loop: pressure-bar kicker label gains
|
|
2306
|
+
font-medium (fw 400 → 500). Sibling small-text fw
|
|
2307
|
+
lift family with R363 recent-row alias + R364
|
|
2308
|
+
legend-row label + R366 group-label count + R368
|
|
2309
|
+
+N more flows footer — extends to a 5th surface
|
|
2310
|
+
(the chip-row's 'pressure' label). At fontSize
|
|
2311
|
+
10 px tracking-wide against the chip's gray bg,
|
|
2312
|
+
the default fw 400 sat below the deliberate-data
|
|
2313
|
+
band; fw 500 brings it into parity with the
|
|
2314
|
+
chip-row 'working / online / active links' unit
|
|
2315
|
+
spans (chip-level font-medium R313). data-fleet-
|
|
2316
|
+
pressure-kicker attr exposes the kicker for tests. */}
|
|
2317
|
+
<span className="text-[10px] tracking-wide font-medium" data-fleet-pressure-kicker>pressure</span>
|
|
2318
|
+
{/* Round 374 / Loop: pressure-bar height h-1.5 → h-2
|
|
2319
|
+
(6 → 8 px) — sibling visual-weight bump (8th anchor
|
|
2320
|
+
in the family):
|
|
2321
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
2322
|
+
R295 legend swatch base radius 5.5 → 6
|
|
2323
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
2324
|
+
R360 hub digit fontSize 11 → 12
|
|
2325
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
2326
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
2327
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
2328
|
+
R374 pressure-bar height 1.5 → 2 (this round)
|
|
2329
|
+
+33 % bar height gives the working/idle/offline
|
|
2330
|
+
segments more visibility — at h-1.5 the 3-segment
|
|
2331
|
+
proportion bar was readable but slim; at h-2 the
|
|
2332
|
+
segments parse cleanly even when one tier is
|
|
2333
|
+
< 10 % share. Geometry-safe: items-center flex
|
|
2334
|
+
centers the bar inside the chip's py-1 (4 px top +
|
|
2335
|
+
4 px bottom) — bar at 8 px stays comfortably
|
|
2336
|
+
inside the 10-px text-row height. R165 segment
|
|
2337
|
+
width transitions + R210 brightness hover + R83
|
|
2338
|
+
pin-mirror box-shadow on segments all preserved
|
|
2339
|
+
(segments inherit width from parent so the height
|
|
2340
|
+
bump propagates without segment-side edits).
|
|
2341
|
+
data-fleet-pressure-bar-height attr exposes the
|
|
2342
|
+
height token for tests. */}
|
|
2343
|
+
<span className="inline-flex h-2 w-16 rounded-full overflow-hidden" style={{ background: 'rgb(75 85 99 / 0.25)' }} data-fleet-pressure-bar-height="h-2">
|
|
2206
2344
|
{seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
|
|
2207
2345
|
{seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
|
|
2208
2346
|
{seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
|
|
@@ -2259,7 +2397,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2259
2397
|
data-active-filter="status"
|
|
2260
2398
|
data-filter-match-count={matchCount}
|
|
2261
2399
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2262
|
-
|
|
2400
|
+
// R355: `group` lets the inner opacity-70 spans (prefix
|
|
2401
|
+
// `filter:` + count `· N`) brighten to 100 % on pill hover.
|
|
2402
|
+
// Sibling treatment on group + vendor pills below.
|
|
2403
|
+
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"
|
|
2263
2404
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2264
2405
|
onClick={() => setPinnedStatus(null)}
|
|
2265
2406
|
style={{
|
|
@@ -2273,12 +2414,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2273
2414
|
cursor: 'pointer',
|
|
2274
2415
|
}}
|
|
2275
2416
|
>
|
|
2276
|
-
<span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedStatus}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
|
|
2417
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedStatus}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2277
2418
|
<button
|
|
2278
2419
|
type="button"
|
|
2279
2420
|
aria-label={`Clear ${pinnedStatus} filter`}
|
|
2280
2421
|
onClick={(e) => { e.stopPropagation(); setPinnedStatus(null); }}
|
|
2281
|
-
|
|
2422
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2423
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2424
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2425
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2426
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2427
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2428
|
+
scale on hover so the click-target reads as "press me"
|
|
2429
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2430
|
+
button to its own compositor layer for crisper edges
|
|
2431
|
+
during the scale tween. transition-transform duration-
|
|
2432
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2433
|
+
inline-block is default for <button> so no display
|
|
2434
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2435
|
+
pills (status / group / vendor / edge) at once. */
|
|
2436
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2282
2437
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2283
2438
|
>×</button>
|
|
2284
2439
|
</span>
|
|
@@ -2297,7 +2452,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2297
2452
|
data-active-filter="group"
|
|
2298
2453
|
data-filter-match-count={matchCount}
|
|
2299
2454
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2300
|
-
|
|
2455
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2456
|
+
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"
|
|
2301
2457
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2302
2458
|
onClick={() => setPinnedGroup(null)}
|
|
2303
2459
|
style={{
|
|
@@ -2307,12 +2463,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2307
2463
|
cursor: 'pointer',
|
|
2308
2464
|
}}
|
|
2309
2465
|
>
|
|
2310
|
-
<span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedGroup}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
|
|
2466
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedGroup}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2311
2467
|
<button
|
|
2312
2468
|
type="button"
|
|
2313
2469
|
aria-label={`Clear group filter ${pinnedGroup}`}
|
|
2314
2470
|
onClick={(e) => { e.stopPropagation(); setPinnedGroup(null); }}
|
|
2315
|
-
|
|
2471
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2472
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2473
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2474
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2475
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2476
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2477
|
+
scale on hover so the click-target reads as "press me"
|
|
2478
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2479
|
+
button to its own compositor layer for crisper edges
|
|
2480
|
+
during the scale tween. transition-transform duration-
|
|
2481
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2482
|
+
inline-block is default for <button> so no display
|
|
2483
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2484
|
+
pills (status / group / vendor / edge) at once. */
|
|
2485
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2316
2486
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2317
2487
|
>×</button>
|
|
2318
2488
|
</span>
|
|
@@ -2347,7 +2517,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2347
2517
|
data-active-filter="vendor"
|
|
2348
2518
|
data-filter-match-count={matchCount}
|
|
2349
2519
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2350
|
-
|
|
2520
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2521
|
+
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"
|
|
2351
2522
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
|
|
2352
2523
|
onClick={() => setPinnedVendor(null)}
|
|
2353
2524
|
style={{
|
|
@@ -2357,12 +2528,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2357
2528
|
cursor: 'pointer',
|
|
2358
2529
|
}}
|
|
2359
2530
|
>
|
|
2360
|
-
<span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedVendor}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
|
|
2531
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedVendor}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2361
2532
|
<button
|
|
2362
2533
|
type="button"
|
|
2363
2534
|
aria-label={`Clear vendor filter ${pinnedVendor}`}
|
|
2364
2535
|
onClick={(e) => { e.stopPropagation(); setPinnedVendor(null); }}
|
|
2365
|
-
|
|
2536
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2537
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2538
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2539
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2540
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2541
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2542
|
+
scale on hover so the click-target reads as "press me"
|
|
2543
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2544
|
+
button to its own compositor layer for crisper edges
|
|
2545
|
+
during the scale tween. transition-transform duration-
|
|
2546
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2547
|
+
inline-block is default for <button> so no display
|
|
2548
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2549
|
+
pills (status / group / vendor / edge) at once. */
|
|
2550
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2366
2551
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2367
2552
|
>×</button>
|
|
2368
2553
|
</span>
|
|
@@ -2439,7 +2624,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2439
2624
|
type="button"
|
|
2440
2625
|
aria-label={`Clear edge filter ${link.from} → ${link.to}`}
|
|
2441
2626
|
onClick={(e) => { e.stopPropagation(); setPinnedEdgeKey(null); }}
|
|
2442
|
-
|
|
2627
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2628
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2629
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2630
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2631
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2632
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2633
|
+
scale on hover so the click-target reads as "press me"
|
|
2634
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2635
|
+
button to its own compositor layer for crisper edges
|
|
2636
|
+
during the scale tween. transition-transform duration-
|
|
2637
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2638
|
+
inline-block is default for <button> so no display
|
|
2639
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2640
|
+
pills (status / group / vendor / edge) at once. */
|
|
2641
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2443
2642
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2444
2643
|
>×</button>
|
|
2445
2644
|
</span>
|
|
@@ -2750,7 +2949,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2750
2949
|
}
|
|
2751
2950
|
}}
|
|
2752
2951
|
>
|
|
2753
|
-
|
|
2952
|
+
{/* Round 354 / Loop: vendor letter glyph scales
|
|
2953
|
+
1.0 → 1.1 on hover. R88 already dims OTHER
|
|
2954
|
+
vendors on hover via canvas-wide opacity
|
|
2955
|
+
masking; R202 added a chip-level bg tint
|
|
2956
|
+
(color-mix 12 % alpha) so the chip itself
|
|
2957
|
+
responds. R354 closes the trio with a glyph-
|
|
2958
|
+
level lift: the focused vendor LETTER actively
|
|
2959
|
+
rises (transform scale) rather than the chip
|
|
2960
|
+
merely changing colour. Three layers of positive
|
|
2961
|
+
feedback on the hovered vendor + canvas-wide
|
|
2962
|
+
negative feedback on the others — a clean
|
|
2963
|
+
figure/ground separation.
|
|
2964
|
+
|
|
2965
|
+
display: inline-block is required for transform
|
|
2966
|
+
to apply (inline elements ignore transform).
|
|
2967
|
+
transformOrigin: 'center' so the glyph pivots
|
|
2968
|
+
around its centre instead of arcing from the
|
|
2969
|
+
baseline anchor. transition rides the existing
|
|
2970
|
+
Tailwind 4 transform/scale list (no new
|
|
2971
|
+
property — Tailwind already lists transform in
|
|
2972
|
+
the default transition-property set). 200ms
|
|
2973
|
+
matches the R202 chip bg-tint timing so the
|
|
2974
|
+
glyph lift and chip background ease in concert. */}
|
|
2975
|
+
{/* Round 369 / Loop: vendor letter glyph picks up
|
|
2976
|
+
fontWeight 600 (font-semibold). The glyph is the
|
|
2977
|
+
vendor identifier — the DATA the operator scans
|
|
2978
|
+
in this chip (A / O / 书 / C / G / ?). R333 set
|
|
2979
|
+
the count suffix `:N` to text-gray-400 + tabular-
|
|
2980
|
+
nums and (via parent inheritance) fw 500. Pre-
|
|
2981
|
+
R369 the LETTER also inherited fw 500 from the
|
|
2982
|
+
chip's font-medium — letter and count read at
|
|
2983
|
+
the same weight, contradicting the data-vs-label
|
|
2984
|
+
hierarchy the rest of the chip-row already speaks.
|
|
2985
|
+
R369 lifts the letter to fw 600 so the chip now
|
|
2986
|
+
reads as the same two-tier pattern R362 closed
|
|
2987
|
+
on the working / online / active-links chips:
|
|
2988
|
+
chip digit/letter fw 600 (data)
|
|
2989
|
+
chip unit/count fw 500 (label)
|
|
2990
|
+
Sibling treatment to R362 — extends the R333-R341
|
|
2991
|
+
chip-internal-hierarchy arc to the vendor-letter
|
|
2992
|
+
chip surface (9th surface family). R354 transform-
|
|
2993
|
+
scale-on-hover + R88 canvas-dim-others + R202
|
|
2994
|
+
chip bg color-mix all preserved on the same span.
|
|
2995
|
+
data-vendor-letter-glyph-font-weight attr exposes
|
|
2996
|
+
the value for tests. */}
|
|
2997
|
+
<span
|
|
2998
|
+
data-vendor-letter-glyph={v.initial}
|
|
2999
|
+
data-vendor-letter-glyph-hover={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
3000
|
+
data-vendor-letter-glyph-font-weight="600"
|
|
3001
|
+
style={{
|
|
3002
|
+
color: v.color,
|
|
3003
|
+
display: 'inline-block',
|
|
3004
|
+
fontWeight: 600,
|
|
3005
|
+
transform: hoveredVendor === v.initial ? 'scale(1.1)' : 'scale(1)',
|
|
3006
|
+
transformOrigin: 'center',
|
|
3007
|
+
transition: 'transform 200ms ease-out',
|
|
3008
|
+
}}
|
|
3009
|
+
>{v.initial}</span>
|
|
2754
3010
|
{/* Round 333 / Loop: vendor count suffix `:{N}` joins
|
|
2755
3011
|
the R317 subordinate-text-lift family (gray-500 →
|
|
2756
3012
|
gray-400) plus picks up tabular-nums for digit
|
|
@@ -2884,7 +3140,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2884
3140
|
the 5th chip surface in the R333/R335/R336/R337
|
|
2885
3141
|
chip-internal-hierarchy arc. data-active-links-
|
|
2886
3142
|
chip-unit exposes the unit span for tests. */}
|
|
2887
|
-
{
|
|
3143
|
+
{/* R362 sibling — active-links chip digit gains font-semibold. */}
|
|
3144
|
+
<span className="font-semibold" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
|
|
2888
3145
|
{rel ? (() => {
|
|
2889
3146
|
// Round 161 / Loop: extend R160's recency-pip
|
|
2890
3147
|
// vocabulary up one scope — from per-flow row to
|
|
@@ -2909,8 +3166,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2909
3166
|
const alpha = ageSec <= 30
|
|
2910
3167
|
? 1
|
|
2911
3168
|
: ageSec <= 300
|
|
2912
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
2913
|
-
: 0.25
|
|
3169
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
3170
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
2914
3171
|
// Cyan dark / teal light to match palette legendAccent.
|
|
2915
3172
|
const dotColor = isLight
|
|
2916
3173
|
? `rgba(13, 148, 136, ${alpha.toFixed(2)})`
|
|
@@ -2927,7 +3184,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2927
3184
|
// color: dotColor — the lift only affects the trailing
|
|
2928
3185
|
// literal "last {rel}" text.
|
|
2929
3186
|
return (
|
|
2930
|
-
|
|
3187
|
+
// Round 357 / Loop: active-links chip freshness
|
|
3188
|
+
// suffix wrapper picks up `tabular-nums` for digit
|
|
3189
|
+
// width-lock. Pre-R357 the literal "last {rel}"
|
|
3190
|
+
// text (e.g. "last 5s ago", "last 10s ago",
|
|
3191
|
+
// "last 1m ago") had natural-figure digits — the
|
|
3192
|
+
// freshness ticker updates every second, so the
|
|
3193
|
+
// 9→10 boundary on the seconds counter and the
|
|
3194
|
+
// 59→60s → 1m flip both jittered ~1-2 px of glyph
|
|
3195
|
+
// width which propagated through the chip-row's
|
|
3196
|
+
// inline-flex layout, nudging the freshness DOT
|
|
3197
|
+
// and the chip's left edge. Tabular-nums on the
|
|
3198
|
+
// wrapper applies to all descendant digits only
|
|
3199
|
+
// (letters render at natural widths) so the
|
|
3200
|
+
// ticker stays planted across every count cross.
|
|
3201
|
+
// Joins the R224-R232 info-density tabular-nums
|
|
3202
|
+
// sweep at the chip-row freshness scope. Pure
|
|
3203
|
+
// paint-level change, no geometry shift on rest.
|
|
3204
|
+
// The R342 text-gray-400 lift + R161 dot freshness
|
|
3205
|
+
// alpha ramp + R317 subordinate-text-lift family
|
|
3206
|
+
// all preserved. data-active-links-freshness-
|
|
3207
|
+
// wrapper attr exposes the wrapper for tests.
|
|
3208
|
+
<span className="text-gray-400 tabular-nums" data-active-links-freshness-wrapper>
|
|
2931
3209
|
<span
|
|
2932
3210
|
data-active-links-freshness-dot
|
|
2933
3211
|
data-active-links-freshness-alpha={alpha.toFixed(2)}
|
|
@@ -3695,7 +3973,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3695
3973
|
stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
|
|
3696
3974
|
strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
|
|
3697
3975
|
strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
|
|
3976
|
+
/* Round 380 / Loop: cluster box stroke gets round
|
|
3977
|
+
linecap + round linejoin. Sibling SVG stroke-
|
|
3978
|
+
softening polish to R378 flow-rail linecap + R379
|
|
3979
|
+
minimap viewport linejoin — extends the family to
|
|
3980
|
+
the group cluster boundary box (grid layout only):
|
|
3981
|
+
R288 chrome icons strokeLinecap='round'
|
|
3982
|
+
R378 flow-rail dashes strokeLinecap='round'
|
|
3983
|
+
R380 group box dashes strokeLinecap='round' (this round)
|
|
3984
|
+
R379 viewport rect strokeLinejoin='round'
|
|
3985
|
+
R380 group box corners strokeLinejoin='round' (this round)
|
|
3986
|
+
Linecap rounds the R85 '6 6' marching-ants dash
|
|
3987
|
+
pills at rest — each 6 px dash gains a ~0.75 px
|
|
3988
|
+
round cap (sw=1.5 idle), reading as soft pills
|
|
3989
|
+
instead of sharp 6 × 1.5 px rectangles. Linejoin
|
|
3990
|
+
rounds the 4 sharp 90° corners (any state — solid
|
|
3991
|
+
or dashed); at sw=1.5 the join arc is ~0.75 px,
|
|
3992
|
+
matching R379 viewport vocabulary. Geometry-safe:
|
|
3993
|
+
stroke-* properties only affect paint, not bbox.
|
|
3994
|
+
The R51 sentinel 1.5/3 strokeWidth values stay
|
|
3995
|
+
intact (the overlap probe is gated to g[data-
|
|
3996
|
+
node], so this cluster-internal rect is invisible
|
|
3997
|
+
to it anyway). data-group-box-linecap + -linejoin
|
|
3998
|
+
attrs expose the values for tests. */
|
|
3999
|
+
strokeLinecap="round"
|
|
4000
|
+
strokeLinejoin="round"
|
|
3698
4001
|
data-group-box-pinned={isPinned ? 'true' : 'false'}
|
|
4002
|
+
data-group-box-linecap="round"
|
|
4003
|
+
data-group-box-linejoin="round"
|
|
3699
4004
|
// R85: ambient "marching ants" drift on the perimeter
|
|
3700
4005
|
// when this group has at least one working member, and
|
|
3701
4006
|
// neither pin nor hover is active (those treatments
|
|
@@ -3895,12 +4200,33 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3895
4200
|
lives at a fixed dx=6 offset from the name, so a
|
|
3896
4201
|
digit-width jitter at 9→10 used to shift the
|
|
3897
4202
|
whole count visibly. Tabular locks it. */}
|
|
4203
|
+
{/* Round 366 / Loop: group label member-count tspan
|
|
4204
|
+
fontWeight 400 → 500. Sibling polish to R363
|
|
4205
|
+
recent-row alias text fw 400 → 500 + R364 legend-
|
|
4206
|
+
row label fw 400 → 500 — closes the per-row 'count
|
|
4207
|
+
is fw 500 against label-tier fw 700' pattern at
|
|
4208
|
+
the group-label scope (grid layout cluster mark).
|
|
4209
|
+
Hierarchy snapshot post-R366 across all 3 row
|
|
4210
|
+
surfaces:
|
|
4211
|
+
recent count(hot/cold) fw 700/600 (R320)
|
|
4212
|
+
recent alias fw 500 (R363)
|
|
4213
|
+
legend count fw 600 (R309)
|
|
4214
|
+
legend label fw 500 (R364)
|
|
4215
|
+
group name fw 700 (legacy)
|
|
4216
|
+
group count fw 500 (R366, this round)
|
|
4217
|
+
Monospace family + R225 tabular-nums lock digit
|
|
4218
|
+
width, so the fw bump is paint-only — bbox
|
|
4219
|
+
unchanged + overlap-test invariants hold. R229
|
|
4220
|
+
fill-inherit from parent label (hover-deepen-own-
|
|
4221
|
+
hue family) preserved. data-group-label-count-
|
|
4222
|
+
font-weight attr exposes the value for tests. */}
|
|
3898
4223
|
<tspan
|
|
3899
4224
|
dx="6"
|
|
3900
4225
|
fontSize="11"
|
|
3901
|
-
fontWeight="
|
|
4226
|
+
fontWeight="500"
|
|
3902
4227
|
data-group-label-count={box.key}
|
|
3903
4228
|
data-group-label-count-value={box.count}
|
|
4229
|
+
data-group-label-count-font-weight="500"
|
|
3904
4230
|
style={{ fontVariantNumeric: 'tabular-nums' }}
|
|
3905
4231
|
>· {box.count}</tspan>
|
|
3906
4232
|
{/* Round 58 / Loop: status mix pip strip. Compact text-
|
|
@@ -4203,6 +4529,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4203
4529
|
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
|
|
4204
4530
|
}}
|
|
4205
4531
|
/>
|
|
4532
|
+
{/* Round 378 / Loop: edge flow-path dashed-rail picks
|
|
4533
|
+
up strokeLinecap='round'. Pre-R378 the rail
|
|
4534
|
+
rendered '2 12' dashes as sharp 1×2 rectangles
|
|
4535
|
+
against the canvas backdrop; default 'butt' caps
|
|
4536
|
+
leave dash ends square. R378 rounds each cap so
|
|
4537
|
+
the dashes read as soft 3-px pills (1 px stroke +
|
|
4538
|
+
0.5 px round cap each end). The flow-rail is the
|
|
4539
|
+
secondary 'invisible-spine' line that gives the
|
|
4540
|
+
R57 spoke flow a directional rail to slide along
|
|
4541
|
+
— rounding the dashes softens its presence
|
|
4542
|
+
against the primary visible flow path (R245 has
|
|
4543
|
+
no strokeLinecap so it inherits 'butt' on a
|
|
4544
|
+
continuous line, irrelevant). Geometry-safe:
|
|
4545
|
+
round caps only widen the visible dash; the
|
|
4546
|
+
bbox of the path is unchanged so overlap-test
|
|
4547
|
+
invariants hold. data-edge-flow-rail-linecap
|
|
4548
|
+
attr exposes the value for tests. */}
|
|
4206
4549
|
<path
|
|
4207
4550
|
id={`flow-path-${index}`}
|
|
4208
4551
|
d={path}
|
|
@@ -4210,8 +4553,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4210
4553
|
stroke={pal.flowPath}
|
|
4211
4554
|
strokeWidth="1"
|
|
4212
4555
|
strokeDasharray="2 12"
|
|
4556
|
+
strokeLinecap="round"
|
|
4213
4557
|
opacity={Math.min(1, (isLight ? 0.4 : 0.75) * fresh * edgeOpacityMul)}
|
|
4214
4558
|
data-edge-flow-rail={link.key}
|
|
4559
|
+
data-edge-flow-rail-linecap="round"
|
|
4215
4560
|
style={{ transition: 'opacity 300ms ease-out, stroke 300ms ease-out' }}
|
|
4216
4561
|
/>
|
|
4217
4562
|
{!reducedMotion && (
|
|
@@ -4576,14 +4921,55 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4576
4921
|
R251 closes the per-edge surface theme-toggle
|
|
4577
4922
|
smoothness — every theme-driven property on
|
|
4578
4923
|
every edge element now eases under cyber↔light. */}
|
|
4924
|
+
{/* Round 367 / Loop: edge midpoint badge rest
|
|
4925
|
+
stroke-width 1 → 1.25. Sibling visual-weight
|
|
4926
|
+
bump family (7th canvas anchor now):
|
|
4927
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
4928
|
+
R295 legend swatch base radius 5.5 → 6
|
|
4929
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
4930
|
+
R360 hub digit fontSize 11 → 12
|
|
4931
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
4932
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
4933
|
+
R367 edge-badge rest stroke 1 → 1.25 (this round)
|
|
4934
|
+
Cold edge badges gain ~25 % stroke presence
|
|
4935
|
+
(1.25/1.0 = 1.25). Stays clear of the R51
|
|
4936
|
+
overlap-test sentinel values (1.5 / 3 reserved
|
|
4937
|
+
for node strokes — the test selector is gated
|
|
4938
|
+
to g[data-node] ancestors so this edge-internal
|
|
4939
|
+
circle is invisible to that probe anyway, but
|
|
4940
|
+
1.25 is a safe non-sentinel value regardless).
|
|
4941
|
+
R188 transition list 'stroke-width 300ms ease-
|
|
4942
|
+
out' still smoothes the hot/pin flip — now
|
|
4943
|
+
1.25 → 2 instead of 1 → 2, same ease pace.
|
|
4944
|
+
data-edge-badge-stroke-width-rest exposes the
|
|
4945
|
+
new baseline for tests. */}
|
|
4946
|
+
{/* Round 371 / Loop: edge-badge cyber opacity 0.82
|
|
4947
|
+
→ 0.85. Sibling theme-consistency polish to R370
|
|
4948
|
+
hub hover-ring 0.7 → 0.8. R251 designed this
|
|
4949
|
+
badge with opacity 0.82 (cyber) / 0.95 (light)
|
|
4950
|
+
— 13 % delta. Cyber-theme dark bg needs more
|
|
4951
|
+
alpha to read as 'present'; R371 narrows the
|
|
4952
|
+
gap to 10 %, bringing the badge closer to light
|
|
4953
|
+
theme's 0.95 floor. Light stays at 0.95
|
|
4954
|
+
(already in the legibility band). data-edge-
|
|
4955
|
+
badge-opacity attr exposes the resolved value.
|
|
4956
|
+
Theme-consistency polish family:
|
|
4957
|
+
R246/R247 panel transition family
|
|
4958
|
+
R251 edge badge fill/opacity baseline
|
|
4959
|
+
R370 hub hover-ring cyber 0.7 → 0.8
|
|
4960
|
+
R371 edge badge cyber 0.82 → 0.85 (this round)
|
|
4961
|
+
R164 r=9/10.5 hover-lift + R188/R251 transition
|
|
4962
|
+
list + R367 strokeWidth=1.25 cold rest preserved. */}
|
|
4579
4963
|
<circle
|
|
4580
4964
|
cx={badgeX} cy={badgeY}
|
|
4581
4965
|
r={isHoveredEdge || isPinned ? 10.5 : 9}
|
|
4582
4966
|
fill={pal.legendBox.fill}
|
|
4583
4967
|
stroke={isPinned ? pal.legendHeadline : isHot ? hotStroke : pal.flowEdge}
|
|
4584
|
-
strokeWidth={isPinned ? 2 : isHot ? 2 : 1}
|
|
4585
|
-
opacity={isLight ? 0.95 : 0.
|
|
4968
|
+
strokeWidth={isPinned ? 2 : isHot ? 2 : 1.25}
|
|
4969
|
+
opacity={isLight ? 0.95 : 0.85}
|
|
4586
4970
|
data-edge-badge-lifted={(isHoveredEdge || isPinned) ? 'true' : 'false'}
|
|
4971
|
+
data-edge-badge-stroke-width-rest="1.25"
|
|
4972
|
+
data-edge-badge-opacity={isLight ? 0.95 : 0.85}
|
|
4587
4973
|
style={{ transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out' }}
|
|
4588
4974
|
/>
|
|
4589
4975
|
{/* Round 224 / Loop: edge badge text gains the 4th
|
|
@@ -4622,11 +5008,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4622
5008
|
x={badgeX} y={badgeY + 3}
|
|
4623
5009
|
textAnchor="middle"
|
|
4624
5010
|
fill={pal.legendHeadline}
|
|
4625
|
-
|
|
5011
|
+
/* Round 361 / Loop: edge midpoint badge text
|
|
5012
|
+
fontSize 10 → 11. Sibling visual-weight bump
|
|
5013
|
+
to R360 hub digit 11 → 12. The badge digit
|
|
5014
|
+
is the per-edge equivalent of the hub digit
|
|
5015
|
+
— a high-information scalar (link.count) at
|
|
5016
|
+
a stable canvas position. Pre-R361 fontSize=
|
|
5017
|
+
10 + R220 letter-spacing 0.4 + R224 tabular-
|
|
5018
|
+
nums made the digit READABLE but small
|
|
5019
|
+
against the r=9 / 18-px badge envelope;
|
|
5020
|
+
fontSize=11 nudges the glyph ~10 % bigger
|
|
5021
|
+
(bbox ~7×10 px from ~6×9 px) so the count
|
|
5022
|
+
reads more cleanly at glance — still well
|
|
5023
|
+
inside the r=9 idle circle and the r=10.5
|
|
5024
|
+
hover/pin lift (R164). y=badgeY+3 empirical
|
|
5025
|
+
vertical centring kept (1px drift at the
|
|
5026
|
+
bumped size is below the noise floor in
|
|
5027
|
+
the on-curve flow path).
|
|
5028
|
+
Visual-weight bump family:
|
|
5029
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5030
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5031
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5032
|
+
R360 hub digit fontSize 11 → 12
|
|
5033
|
+
R361 edge-badge digit fontSize 10 → 11 (this round)
|
|
5034
|
+
data-edge-badge-text-font-size attr exposes
|
|
5035
|
+
the value for tests. R220 pin/hot letter-
|
|
5036
|
+
spacing tween + R224 tabular-nums + R188
|
|
5037
|
+
stroke-width pin/hot transitions all preserved. */
|
|
5038
|
+
fontSize="11"
|
|
4626
5039
|
fontFamily="monospace"
|
|
4627
5040
|
fontWeight="700"
|
|
4628
5041
|
data-edge-badge-text={link.key}
|
|
4629
5042
|
data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
|
|
5043
|
+
data-edge-badge-text-font-size="11"
|
|
4630
5044
|
style={{
|
|
4631
5045
|
pointerEvents: 'none',
|
|
4632
5046
|
fontVariantNumeric: 'tabular-nums',
|
|
@@ -4853,11 +5267,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4853
5267
|
textAnchor="middle"
|
|
4854
5268
|
dy="0.36em"
|
|
4855
5269
|
fill={isLight ? '#d1fae5' : '#ecfdf5'}
|
|
4856
|
-
fontSize
|
|
5270
|
+
/* Round 360 / Loop: hub working-count digit fontSize 11
|
|
5271
|
+
→ 12. The hub is the canvas's focal point — its digit
|
|
5272
|
+
is the most-read scalar on the whole topology. R130
|
|
5273
|
+
sized it at 11 (well inside the r=10 / 20-px core);
|
|
5274
|
+
R360 nudges it to 12 (~13 px wide × 12 px tall, still
|
|
5275
|
+
well inside the 20-px diameter) for ~9 % more presence.
|
|
5276
|
+
Sibling visual-weight bump family:
|
|
5277
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5278
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5279
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
5280
|
+
R360 hub digit fontSize 11 → 12 (this round)
|
|
5281
|
+
The R209 scale-1.08-on-hub-hover, R225 tabular-nums,
|
|
5282
|
+
R253 fill transition, R213 always-mount opacity gate
|
|
5283
|
+
all preserved. data-topo-hub-working-count-font-size
|
|
5284
|
+
attr exposes the value for tests. */
|
|
5285
|
+
fontSize="12"
|
|
4857
5286
|
fontFamily="monospace"
|
|
4858
5287
|
fontWeight="700"
|
|
4859
5288
|
opacity={workingCount > 0 ? 1 : 0}
|
|
4860
5289
|
data-topo-hub-working-count={workingCount}
|
|
5290
|
+
data-topo-hub-working-count-font-size="12"
|
|
4861
5291
|
data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
|
|
4862
5292
|
data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
|
|
4863
5293
|
// Round 209 / Loop: hub workingCount digit scales 1.0 →
|
|
@@ -4898,12 +5328,33 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4898
5328
|
{workingCount}
|
|
4899
5329
|
</text>
|
|
4900
5330
|
{/* decorative highlight (visible when workingCount === 0) */}
|
|
5331
|
+
{/* Round 365 / Loop: hub-center 'lit-lamp' decorative highlight
|
|
5332
|
+
circle r 5 → 5.5. Sibling visual-weight bump family —
|
|
5333
|
+
each round lifts one canvas anchor's geometric presence
|
|
5334
|
+
without disturbing its bbox envelope:
|
|
5335
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5336
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5337
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5338
|
+
R360 hub digit fontSize 11 → 12
|
|
5339
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
5340
|
+
R365 hub-highlight base radius 5 → 5.5 (this round)
|
|
5341
|
+
The highlight only renders when workingCount === 0
|
|
5342
|
+
(decorative 'lamp lit but idle' state per R130 + R213
|
|
5343
|
+
always-mount opacity-gate). At idle, the 0.5-px radius
|
|
5344
|
+
bump (21 % area, π*5.5² / π*5² = 1.21) lifts the lamp's
|
|
5345
|
+
presence — still well inside the r=10 hub-core (R130).
|
|
5346
|
+
opacity=0 when working preserved so the hub-digit's R130
|
|
5347
|
+
takeover stays seamless. R213 always-mount opacity-gate
|
|
5348
|
+
+ 300ms opacity transition + pointerEvents:none all
|
|
5349
|
+
preserved. data-topo-hub-highlight-radius attr exposes
|
|
5350
|
+
the value for tests. */}
|
|
4901
5351
|
<circle
|
|
4902
|
-
cx={cx} cy={cy} r="5"
|
|
5352
|
+
cx={cx} cy={cy} r="5.5"
|
|
4903
5353
|
fill="#d1fae5"
|
|
4904
5354
|
opacity={workingCount > 0 ? 0 : 0.9}
|
|
4905
5355
|
data-topo-hub-highlight
|
|
4906
5356
|
data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
|
|
5357
|
+
data-topo-hub-highlight-radius="5.5"
|
|
4907
5358
|
style={{
|
|
4908
5359
|
pointerEvents: 'none',
|
|
4909
5360
|
transition: 'opacity 300ms ease-out',
|
|
@@ -4940,9 +5391,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4940
5391
|
fill="none"
|
|
4941
5392
|
stroke={isLight ? '#059669' : '#10b981'}
|
|
4942
5393
|
strokeWidth="1.5"
|
|
4943
|
-
|
|
5394
|
+
/* Round 370 / Loop: hub hover-ring cyber opacity 0.7 →
|
|
5395
|
+
0.8. R177 designed the hub hover-ring at opacity-0 →
|
|
5396
|
+
0.85 (light) / 0 → 0.7 (cyber). The 15 % gap between
|
|
5397
|
+
the two themes meant cyber-theme operators got a
|
|
5398
|
+
noticeably softer hover cue than light-theme users
|
|
5399
|
+
against backgrounds that should equalise (dark bg
|
|
5400
|
+
needs more luminance to read as 'on'). R370 bumps
|
|
5401
|
+
cyber 0.7 → 0.8, narrowing the theme gap to 5 % —
|
|
5402
|
+
sibling theme-consistency polish to R251 edge badge
|
|
5403
|
+
fill/opacity (cyber 0.82 / light 0.95) and R246/R247
|
|
5404
|
+
panel transition families. Light theme 0.85 stays
|
|
5405
|
+
as is (already in the legibility band). data-topo-
|
|
5406
|
+
hub-hover-ring-opacity attr exposes the value for
|
|
5407
|
+
tests. */
|
|
5408
|
+
opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4944
5409
|
data-topo-hub-hover-ring
|
|
4945
5410
|
data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
|
|
5411
|
+
data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4946
5412
|
/* Round 253 / Loop: hub hover ring also gets stroke
|
|
4947
5413
|
transition for theme toggle (cyber #10b981 ↔ light
|
|
4948
5414
|
#059669). The opacity + r transitions stay for hover
|
|
@@ -6224,7 +6690,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6224
6690
|
x="0" y="0" width="230" height="88" rx="10"
|
|
6225
6691
|
fill={pal.legendBox.fill}
|
|
6226
6692
|
stroke={pal.legendBox.stroke}
|
|
6227
|
-
|
|
6693
|
+
// Round 348 / Loop: recent-signal panel rect opacity hover-
|
|
6694
|
+
// state bump — joins the panel-hover cue stack (R135 drop-
|
|
6695
|
+
// shadow boost + R345 title letter-spacing tween 0.3 → 0.4
|
|
6696
|
+
// + R266 fill theme-flip). Cyber 0.92 → 0.97, light 0.97 →
|
|
6697
|
+
// 1.0 on hoveredPanel === 'recent'. The panel "solidifies"
|
|
6698
|
+
// on hover — pure paint-level change, geometry-safe (bbox
|
|
6699
|
+
// unchanged so topo-overlap-test invariants hold). The
|
|
6700
|
+
// R247 transition list already includes `opacity 200ms
|
|
6701
|
+
// ease-out` so the value tween is automatic. Sibling
|
|
6702
|
+
// change at legend panel rect below (~line 7222).
|
|
6703
|
+
opacity={hoveredPanel === 'recent' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
|
|
6228
6704
|
style={{
|
|
6229
6705
|
/* R135: drop-shadow intensifies on panel hover. Base
|
|
6230
6706
|
shadow (2px / 6px blur) signals card elevation
|
|
@@ -6276,7 +6752,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6276
6752
|
title (line ~6556) — both panels share the same
|
|
6277
6753
|
editorial-text-spacing convention. data-recent-panel-
|
|
6278
6754
|
title handle unchanged so R266 test still resolves. */}
|
|
6279
|
-
|
|
6755
|
+
{/* Round 345 / Loop: recent-signal panel title gains
|
|
6756
|
+
letter-spacing tween 0.3 → 0.4 on panel hover.
|
|
6757
|
+
hoveredPanel === 'recent' is set by the panel <g>
|
|
6758
|
+
wrapper's onMouseEnter (line ~6263 area). Sibling to
|
|
6759
|
+
R344 hover-letter-spacing applied to the +N more
|
|
6760
|
+
flows footer — same gesture vocabulary at a panel-
|
|
6761
|
+
title scope: hovering the panel chrome spreads the
|
|
6762
|
+
title 0.1 px, signalling "this is a coherent unit
|
|
6763
|
+
you're entering". transition list extends letter-
|
|
6764
|
+
spacing 200ms ease-out alongside existing fill 200ms. */}
|
|
6765
|
+
<text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight="700" letterSpacing={hoveredPanel === 'recent' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out' }} data-recent-panel-title>recent signal</text>
|
|
6280
6766
|
{/* R96: header count now matches what the rows show. Pre-R96
|
|
6281
6767
|
this read "X msgs" off the raw messages array, but the
|
|
6282
6768
|
rows below render DEDUPED flowLinks — so a fleet with 10
|
|
@@ -6337,8 +6823,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6337
6823
|
const alpha = ageSec <= 30
|
|
6338
6824
|
? 1
|
|
6339
6825
|
: ageSec <= 300
|
|
6340
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6341
|
-
: 0.25
|
|
6826
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
6827
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6342
6828
|
// Dark cyan-400 / light teal-600 with alpha — same
|
|
6343
6829
|
// palette as R161's chip bullet so the two scopes
|
|
6344
6830
|
// visually align even side-by-side.
|
|
@@ -6351,6 +6837,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6351
6837
|
textAnchor="end"
|
|
6352
6838
|
fontSize="10"
|
|
6353
6839
|
fontFamily="monospace"
|
|
6840
|
+
// Round 349 / Loop: editorial letter-spacing 0.2 on the
|
|
6841
|
+
// recent-signal panel header count. Sits one tier below
|
|
6842
|
+
// the R301 panel title letterSpacing="0.3" so the panel
|
|
6843
|
+
// header reads as a 2-step hierarchy (title 0.3 / count
|
|
6844
|
+
// 0.2). Sibling change on the legend panel count below
|
|
6845
|
+
// closes the panel-pair editorial symmetry. Joins the
|
|
6846
|
+
// R285 / R289 / R301 / R302 / R304 / R325 editorial-
|
|
6847
|
+
// letterspacing tier at the panel-summary scope. The
|
|
6848
|
+
// R162 freshness fill, R225 tabular-nums, R311 fw=600,
|
|
6849
|
+
// R336 unit-tspan opacity-0.7 split all preserved —
|
|
6850
|
+
// the tier propagates to all descendant tspans via
|
|
6851
|
+
// SVG inheritance. data-recent-panel-count-letter-
|
|
6852
|
+
// spacing exposes the value for tests.
|
|
6853
|
+
letterSpacing="0.2"
|
|
6854
|
+
data-recent-panel-count-letter-spacing="0.2"
|
|
6354
6855
|
>
|
|
6355
6856
|
{/* Round 225 / Loop: tabular-nums on the panel-header
|
|
6356
6857
|
flow-count tspan. The "{N} flows" string lives in
|
|
@@ -6819,17 +7320,38 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6819
7320
|
const alpha = ageSec <= 30
|
|
6820
7321
|
? 1
|
|
6821
7322
|
: ageSec <= 300
|
|
6822
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6823
|
-
: 0.25
|
|
7323
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
7324
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6824
7325
|
return (
|
|
6825
7326
|
<circle
|
|
6826
7327
|
cx={10}
|
|
6827
7328
|
cy={38 + index * 16 - 3}
|
|
6828
|
-
|
|
7329
|
+
/* Round 359 / Loop: recency pip base radius
|
|
7330
|
+
1.6 → 1.8. Sibling lift to R358's freshness-
|
|
7331
|
+
floor bump (alpha 0.25 → 0.30) — pre-R358/
|
|
7332
|
+
R359 the stale pip painted at r=1.6 + α=0.25
|
|
7333
|
+
which read as near-invisible chrome. R358
|
|
7334
|
+
gave it more alpha; R359 gives it more area
|
|
7335
|
+
(1.8² / 1.6² ≈ 1.27, so ~27 % more glyph)
|
|
7336
|
+
so the pip stays distinguishable across the
|
|
7337
|
+
freshness ramp. Geometry: 1.8-radius dot
|
|
7338
|
+
centred at (10, row_y - 3) is bbox 3.6×3.6,
|
|
7339
|
+
still well inside the 7-px left margin
|
|
7340
|
+
(x=6 rect-start → x=13 text-start) the R160
|
|
7341
|
+
pip was placed in. Overlap-test reads the
|
|
7342
|
+
parent row rect's bbox, not this pip's, so
|
|
7343
|
+
grid+ring invariants hold. Matches the same
|
|
7344
|
+
1.6 → 1.8 visual-weight bump R295 applied
|
|
7345
|
+
to the legend swatch (5.5 → 6 base radius)
|
|
7346
|
+
and R287 to the minimap viewport stroke
|
|
7347
|
+
(1 → 1.5). data-recent-row-freshness-radius
|
|
7348
|
+
attr exposes the value for tests. */
|
|
7349
|
+
r={1.8}
|
|
6829
7350
|
fill={pal.legendAccent}
|
|
6830
7351
|
opacity={alpha}
|
|
6831
7352
|
data-recent-row-freshness={link.key}
|
|
6832
7353
|
data-recent-row-freshness-alpha={alpha.toFixed(2)}
|
|
7354
|
+
data-recent-row-freshness-radius="1.8"
|
|
6833
7355
|
style={{ pointerEvents: 'none', transition: 'opacity 200ms ease-out' }}
|
|
6834
7356
|
/>
|
|
6835
7357
|
);
|
|
@@ -6859,8 +7381,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6859
7381
|
fill={isRowActive ? pal.legendHeadline : pal.legendText}
|
|
6860
7382
|
fontSize="9"
|
|
6861
7383
|
fontFamily="monospace"
|
|
7384
|
+
/* Round 363 / Loop: recent-row text fontWeight 400
|
|
7385
|
+
→ 500 (font-medium tier). At fontSize=9 the
|
|
7386
|
+
default-weight 400 glyphs read thin against the
|
|
7387
|
+
panel chrome (pal.legendBox.fill with 0.92/0.97
|
|
7388
|
+
opacity); the 100-weight bump lifts the alias→
|
|
7389
|
+
alias text into the legibility band without
|
|
7390
|
+
changing geometry. The R320 count tspan fw=600
|
|
7391
|
+
(cold) / fw=700 (hot) override still wins
|
|
7392
|
+
locally via inline fontWeight on the inner
|
|
7393
|
+
tspan, so the count-vs-alias hierarchy stays
|
|
7394
|
+
intact:
|
|
7395
|
+
alias fw 500 (R363, this round)
|
|
7396
|
+
count fw 600/700 (R320)
|
|
7397
|
+
Sibling typography lift to R362 chip-row digit
|
|
7398
|
+
500 → 600 — both nudge a within-element data
|
|
7399
|
+
tier without disturbing the surrounding family
|
|
7400
|
+
baseline. data-recent-row-text-font-weight attr
|
|
7401
|
+
exposes the value for tests. */
|
|
7402
|
+
fontWeight="500"
|
|
6862
7403
|
data-recent-row-text={link.key}
|
|
6863
7404
|
data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
|
|
7405
|
+
data-recent-row-text-font-weight="500"
|
|
6864
7406
|
style={{
|
|
6865
7407
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
6866
7408
|
letterSpacing: isRowPinned ? '0.5px' : '0px',
|
|
@@ -7111,6 +7653,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7111
7653
|
preserved for the <title> tooltip — only the SVG
|
|
7112
7654
|
render splits. data-recent-panel-more-unit exposes
|
|
7113
7655
|
the unit tspan for tests. */}
|
|
7656
|
+
{/* Round 344 / Loop: footer hover gains letter-spacing
|
|
7657
|
+
tween 0.2 → 0.3. R325 set rest letter-spacing
|
|
7658
|
+
0.2 to join the editorial-spacing family; R344
|
|
7659
|
+
adds a 0.1px hover spread that layers on top of
|
|
7660
|
+
R195 cyan fill + R325 spacing + R133 underline
|
|
7661
|
+
so the footer reads "lit up and spaced" on
|
|
7662
|
+
hover — sibling to R218/R219/R220 pin-signature
|
|
7663
|
+
letter-spacing family applied to a hover-only
|
|
7664
|
+
surface. transition list extends letter-spacing
|
|
7665
|
+
200ms ease-out alongside the existing opacity/
|
|
7666
|
+
fill easings. */}
|
|
7667
|
+
{/* Round 368 / Loop: `+N more flows` footer text gains
|
|
7668
|
+
fontWeight=500 (font-medium tier). Sibling small-
|
|
7669
|
+
text fw lift family with R363 recent-row alias
|
|
7670
|
+
+ R364 legend-row label + R366 group-label count
|
|
7671
|
+
— all four lifts share the same theory: at small
|
|
7672
|
+
fontSize (9-11 px) against panel chrome, SVG-
|
|
7673
|
+
default fw 400 sits at the legibility floor;
|
|
7674
|
+
fw 500 brings the glyph into the deliberate-data
|
|
7675
|
+
band. fontStyle=italic + opacity 0.55 rest + R325
|
|
7676
|
+
letterSpacing 0.2 baseline + R344 hover-spread
|
|
7677
|
+
0.2 → 0.3 + R195 cyan fill on hover all preserved
|
|
7678
|
+
— the fw bump just thickens the italic stroke.
|
|
7679
|
+
Hover-state punch (R195 fill + R325 opacity 0.55
|
|
7680
|
+
→ 0.85 + R344 letter-spacing + R133 underline)
|
|
7681
|
+
stays as is, so the rest-vs-hover delta still
|
|
7682
|
+
reads clearly. data-recent-panel-more-font-weight
|
|
7683
|
+
attr exposes the value for tests. */}
|
|
7114
7684
|
<text
|
|
7115
7685
|
x="115" y="82"
|
|
7116
7686
|
textAnchor="middle"
|
|
@@ -7118,12 +7688,14 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7118
7688
|
fontSize="9"
|
|
7119
7689
|
fontFamily="monospace"
|
|
7120
7690
|
fontStyle="italic"
|
|
7121
|
-
|
|
7691
|
+
fontWeight="500"
|
|
7692
|
+
letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
|
|
7122
7693
|
opacity={hoveredRecentMore ? 0.85 : 0.55}
|
|
7123
7694
|
textDecoration={hoveredRecentMore ? 'underline' : 'none'}
|
|
7124
7695
|
data-recent-panel-more={moreCount}
|
|
7125
7696
|
data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
|
|
7126
|
-
|
|
7697
|
+
data-recent-panel-more-font-weight="500"
|
|
7698
|
+
style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
7127
7699
|
>
|
|
7128
7700
|
{`+ ${moreCount}`}
|
|
7129
7701
|
<tspan opacity="0.7" data-recent-panel-more-unit>{` more flow${moreCount === 1 ? '' : 's'}`}</tspan>
|
|
@@ -7175,7 +7747,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7175
7747
|
x="0" y="0" width="224" height="88" rx="10"
|
|
7176
7748
|
fill={pal.legendBox.fill}
|
|
7177
7749
|
stroke={pal.legendBox.stroke}
|
|
7178
|
-
|
|
7750
|
+
// R348 sibling — legend panel rect opacity hover-state
|
|
7751
|
+
// bump 0.92 → 0.97 (cyber) / 0.97 → 1 (light) on
|
|
7752
|
+
// hoveredPanel === 'legend'. Pairs with the recent-signal
|
|
7753
|
+
// panel rect above so the two corner panels' hover cues
|
|
7754
|
+
// stay symmetric. Geometry-safe (paint-only).
|
|
7755
|
+
opacity={hoveredPanel === 'legend' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
|
|
7179
7756
|
style={{
|
|
7180
7757
|
filter: hoveredPanel === 'legend'
|
|
7181
7758
|
? (isLight ? 'drop-shadow(0 4px 12px rgba(15,23,42,0.14))'
|
|
@@ -7198,7 +7775,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7198
7775
|
surrounding chrome eased; R266 closes both at once. */}
|
|
7199
7776
|
{/* R301: sibling to recent-signal panel title above —
|
|
7200
7777
|
same letterSpacing 0.3 for editorial parity. */}
|
|
7201
|
-
|
|
7778
|
+
{/* R345 sibling — legend panel title same hover letter-
|
|
7779
|
+
spacing tween 0.3 → 0.4 on panel hover. */}
|
|
7780
|
+
<text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight="700" letterSpacing={hoveredPanel === 'legend' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out' }} data-legend-panel-title>legend</text>
|
|
7202
7781
|
{/* Round 257 / Loop: legend panel header count picks up the
|
|
7203
7782
|
symmetric 13L/13R inner-padding pattern from the recent-
|
|
7204
7783
|
signal panel. Pre-R257 the legend header was 13px from
|
|
@@ -7262,7 +7841,14 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7262
7841
|
<text
|
|
7263
7842
|
x="211" y="21" textAnchor="end"
|
|
7264
7843
|
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight="600"
|
|
7844
|
+
// R349 sibling — legend panel header count picks up
|
|
7845
|
+
// letterSpacing="0.2", one tier below the R301 panel
|
|
7846
|
+
// title 0.3. Pairs with the recent-signal panel count
|
|
7847
|
+
// letter-spacing above so the two corner panels' header
|
|
7848
|
+
// typography stays editorially symmetric.
|
|
7849
|
+
letterSpacing="0.2"
|
|
7265
7850
|
data-legend-panel-count
|
|
7851
|
+
data-legend-panel-count-letter-spacing="0.2"
|
|
7266
7852
|
style={{
|
|
7267
7853
|
transition: 'fill 200ms ease-out',
|
|
7268
7854
|
fontVariantNumeric: 'tabular-nums',
|
|
@@ -7517,8 +8103,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7517
8103
|
fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
|
|
7518
8104
|
fontSize="11"
|
|
7519
8105
|
fontFamily="monospace"
|
|
8106
|
+
/* Round 364 / Loop: legend-row label fontWeight 400
|
|
8107
|
+
→ 500. Sibling typography lift to R363 recent-row
|
|
8108
|
+
text fw 400 → 500. Both surfaces render small
|
|
8109
|
+
monospace text against panel chrome at fontSize
|
|
8110
|
+
9-11 where SVG-default fw 400 sits at the
|
|
8111
|
+
legibility floor. font-medium tier (500) gives
|
|
8112
|
+
the label a more deliberate-data register.
|
|
8113
|
+
The R309 per-row count text (separate element
|
|
8114
|
+
below at x=215 textAnchor=end) keeps its own
|
|
8115
|
+
fontWeight 600 inline override, so the count >
|
|
8116
|
+
label hierarchy stays intact at the legend
|
|
8117
|
+
scope same as R363 holds it at the recent-row
|
|
8118
|
+
scope:
|
|
8119
|
+
legend label fw 500 (R364, this round)
|
|
8120
|
+
legend count fw 600 (R309)
|
|
8121
|
+
recent alias fw 500 (R363)
|
|
8122
|
+
recent count fw 600/700 (R320)
|
|
8123
|
+
data-legend-row-label-font-weight attr exposes
|
|
8124
|
+
the value for tests. R219 letter-spacing pin
|
|
8125
|
+
tween + R55 fill transition + R181 always-mount
|
|
8126
|
+
pin ring all preserved. */
|
|
8127
|
+
fontWeight="500"
|
|
7520
8128
|
data-legend-row-label={row.key}
|
|
7521
8129
|
data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
|
|
8130
|
+
data-legend-row-label-font-weight="500"
|
|
7522
8131
|
style={{
|
|
7523
8132
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
7524
8133
|
letterSpacing: isPinned ? '0.5px' : '0px',
|
|
@@ -7804,7 +8413,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7804
8413
|
resetView();
|
|
7805
8414
|
}
|
|
7806
8415
|
}}
|
|
8416
|
+
// R346: viewport rect hover affordance driven by parent.
|
|
8417
|
+
onMouseEnter={() => setHoveredMinimap(true)}
|
|
8418
|
+
onMouseLeave={() => setHoveredMinimap(false)}
|
|
8419
|
+
onFocus={() => setHoveredMinimap(true)}
|
|
8420
|
+
onBlur={() => setHoveredMinimap(false)}
|
|
7807
8421
|
data-topo-minimap
|
|
8422
|
+
data-topo-minimap-hovered={hoveredMinimap ? 'true' : 'false'}
|
|
7808
8423
|
>
|
|
7809
8424
|
<svg width={MW} height={MH} viewBox={`0 0 ${MW} ${MH}`} style={{ display: 'block' }}>
|
|
7810
8425
|
{/* Round 198 / Loop: minimap dots gain smooth status
|
|
@@ -7831,14 +8446,32 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7831
8446
|
const isOn = s.status !== 'offline' || !!sseN;
|
|
7832
8447
|
const st = nodeStatus(s, isOn, isLight);
|
|
7833
8448
|
return (
|
|
8449
|
+
/* Round 372 / Loop: minimap offline-dot opacity
|
|
8450
|
+
0.5 → 0.6. Sibling stale-state legibility lift
|
|
8451
|
+
to R358 freshness ramp floor 0.25 → 0.30 + R317
|
|
8452
|
+
subordinate-text-lift family. Pre-R372 R198
|
|
8453
|
+
drew offline dots at α=0.5 (44 % below online
|
|
8454
|
+
0.9). The minimap is a small overlay against
|
|
8455
|
+
the canvas backdrop — at α=0.5 offline dots
|
|
8456
|
+
sat at the legibility floor when the minimap
|
|
8457
|
+
mounted (only on non-default view). R372 lifts
|
|
8458
|
+
offline 0.5 → 0.6 for +20 % relative presence;
|
|
8459
|
+
online stays at 0.9 so the offline/online
|
|
8460
|
+
contrast ratio is now 0.6/0.9 ≈ 0.67 (vs prior
|
|
8461
|
+
0.5/0.9 ≈ 0.56) — still a clear two-tier
|
|
8462
|
+
distinction. R198 opacity + fill + r transition
|
|
8463
|
+
list preserved so status flips still ease
|
|
8464
|
+
smoothly. data-topo-minimap-dot-opacity attr
|
|
8465
|
+
exposes the resolved value for tests. */
|
|
7834
8466
|
<circle
|
|
7835
8467
|
key={s.alias}
|
|
7836
8468
|
cx={p.x * sx} cy={p.y * sy}
|
|
7837
8469
|
r={isOn ? 1.7 : 1.2}
|
|
7838
8470
|
fill={st.primary}
|
|
7839
|
-
opacity={isOn ? 0.9 : 0.
|
|
8471
|
+
opacity={isOn ? 0.9 : 0.6}
|
|
7840
8472
|
data-topo-minimap-dot={s.alias}
|
|
7841
8473
|
data-topo-minimap-dot-online={isOn ? 'true' : 'false'}
|
|
8474
|
+
data-topo-minimap-dot-opacity={isOn ? 0.9 : 0.6}
|
|
7842
8475
|
style={{
|
|
7843
8476
|
transition: 'opacity 200ms ease-out, fill 200ms ease-out, r 200ms ease-out',
|
|
7844
8477
|
} as React.CSSProperties}
|
|
@@ -7879,17 +8512,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7879
8512
|
information element to lift it above ambient
|
|
7880
8513
|
chrome. opacity 0.9 stays — strokeWidth alone
|
|
7881
8514
|
does the lifting. */}
|
|
8515
|
+
{/* Round 379 / Loop: minimap viewport rect picks up
|
|
8516
|
+
strokeLinejoin='round'. Pre-R379 the rect's 4
|
|
8517
|
+
corners painted with default 'miter' joins —
|
|
8518
|
+
sharp 90° corners with a small miter overshoot
|
|
8519
|
+
(≈ strokeWidth × 1.4 = 2.1 px at sw=1.5). R379
|
|
8520
|
+
rounds the joins so corners arc smoothly through
|
|
8521
|
+
a quarter-circle of radius ≈ strokeWidth/2. At
|
|
8522
|
+
sw=1.5 that's a 0.75-px radius — subtle but
|
|
8523
|
+
matches the same stroke-softening vocabulary R288
|
|
8524
|
+
chrome icons (zoom/reset/fullscreen) and R378
|
|
8525
|
+
flow-rail already speak. Geometry-safe: stroke-
|
|
8526
|
+
linejoin only affects the corner overshoot, the
|
|
8527
|
+
rect's bbox is unchanged. R287 strokeWidth=1.5 +
|
|
8528
|
+
R346 hover-state strokeWidth/opacity bump + R199
|
|
8529
|
+
smoothView x/y/w/h transition all preserved.
|
|
8530
|
+
data-topo-minimap-viewport-linejoin attr exposes
|
|
8531
|
+
the value for tests. */}
|
|
7882
8532
|
<rect
|
|
7883
8533
|
x={Math.max(0, rectX)} y={Math.max(0, rectY)}
|
|
7884
8534
|
width={Math.max(0, Math.min(MW - Math.max(0, rectX), rectW))}
|
|
7885
8535
|
height={Math.max(0, Math.min(MH - Math.max(0, rectY), rectH))}
|
|
7886
|
-
fill="none" stroke={pal.legendAccent}
|
|
8536
|
+
fill="none" stroke={pal.legendAccent}
|
|
8537
|
+
// R346: strokeWidth + opacity tween on container hover.
|
|
8538
|
+
strokeWidth={hoveredMinimap ? '1.75' : '1.5'}
|
|
8539
|
+
strokeLinejoin="round"
|
|
8540
|
+
opacity={hoveredMinimap ? '1' : '0.9'}
|
|
7887
8541
|
data-topo-minimap-viewport
|
|
7888
8542
|
data-topo-minimap-viewport-smooth={smoothView ? 'true' : 'false'}
|
|
8543
|
+
data-topo-minimap-viewport-hover={hoveredMinimap ? 'true' : 'false'}
|
|
8544
|
+
data-topo-minimap-viewport-linejoin="round"
|
|
7889
8545
|
style={{
|
|
7890
8546
|
transition: smoothView
|
|
7891
|
-
? 'x 280ms ease-out, y 280ms ease-out, width 280ms ease-out, height 280ms ease-out'
|
|
7892
|
-
: '
|
|
8547
|
+
? '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'
|
|
8548
|
+
: 'stroke-width 200ms ease-out, opacity 200ms ease-out',
|
|
7893
8549
|
} as React.CSSProperties}
|
|
7894
8550
|
/>
|
|
7895
8551
|
</svg>
|
|
@@ -7944,8 +8600,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7944
8600
|
own transition-colors. Same R254 holdover pattern that
|
|
7945
8601
|
R263 just closed at the canvas wrapper scope, now at the
|
|
7946
8602
|
chrome strip's nodeSize sub-wrapper scope. */}
|
|
8603
|
+
{/* Round 376 / Loop: nodeSize wrapper rounded-md → rounded-lg.
|
|
8604
|
+
Sibling polish to R375 Layout-toggle wrapper. Three
|
|
8605
|
+
chrome-strip segmented controls now all share rounded-lg
|
|
8606
|
+
at the wrapper tier:
|
|
8607
|
+
R375 Layout-toggle wrapper rounded-lg 8 px
|
|
8608
|
+
R376 nodeSize wrapper rounded-lg 8 px (this round)
|
|
8609
|
+
R376 zoom wrapper rounded-lg 8 px (this round)
|
|
8610
|
+
Individual atomic chrome buttons (reset, fullscreen) keep
|
|
8611
|
+
rounded-md (6 px) as their own atomic-button tier — the
|
|
8612
|
+
chrome strip's typography now expresses a clear two-tier
|
|
8613
|
+
hierarchy: 'segmented control container' (rounded-lg)
|
|
8614
|
+
vs 'standalone button' (rounded-md). Pure paint change,
|
|
8615
|
+
no layout shift. */}
|
|
7947
8616
|
<div
|
|
7948
|
-
className="flex items-center rounded-
|
|
8617
|
+
className="flex items-center rounded-lg border overflow-hidden"
|
|
8618
|
+
data-topo-chrome-nodesize-radius="rounded-lg"
|
|
7949
8619
|
style={{
|
|
7950
8620
|
background: pal.legendBox.fill,
|
|
7951
8621
|
borderColor: pal.containerBorder,
|
|
@@ -8025,8 +8695,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8025
8695
|
data-topo-chrome-view-group-leader marks the boundary surface
|
|
8026
8696
|
for the test probe; data-topo-chrome-fleet-group-trailer marks
|
|
8027
8697
|
the nodeSize wrapper's right edge for the gap measurement. */}
|
|
8698
|
+
{/* R376 sibling — zoom wrapper rounded-md → rounded-lg.
|
|
8699
|
+
Closes the chrome-strip segmented-control corner radius
|
|
8700
|
+
cascade (Layout R375 + nodeSize R376 + zoom R376). */}
|
|
8028
8701
|
<div
|
|
8029
|
-
className="ml-1.5 flex items-center rounded-
|
|
8702
|
+
className="ml-1.5 flex items-center rounded-lg border overflow-hidden"
|
|
8703
|
+
data-topo-chrome-zoom-wrapper-radius="rounded-lg"
|
|
8030
8704
|
style={{
|
|
8031
8705
|
background: pal.legendBox.fill,
|
|
8032
8706
|
borderColor: pal.containerBorder,
|
|
@@ -8042,7 +8716,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8042
8716
|
// R196: press-state deepens bg one tier above hover (white/5
|
|
8043
8717
|
// → white/10) so mouse-down has a tactile dim before the
|
|
8044
8718
|
// R186 icon pop fires on release.
|
|
8045
|
-
|
|
8719
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
8720
|
+
className="group px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
|
|
8046
8721
|
style={{ color: pal.legendText }}
|
|
8047
8722
|
aria-label="Zoom out"
|
|
8048
8723
|
title="Zoom out (−)"
|
|
@@ -8050,11 +8725,25 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8050
8725
|
{/* R186: icon pop on click. CSS animation runs once;
|
|
8051
8726
|
React removes the class after 240ms so a quick
|
|
8052
8727
|
re-click can replay. */}
|
|
8728
|
+
{/* Round 352 / Loop: zoom-out icon picks up group-hover:
|
|
8729
|
+
scale-110 — sibling to R350 reset hover-rotate. Pre-
|
|
8730
|
+
R352 hovering the zoom button only changed the bg
|
|
8731
|
+
(white/5); the icon inside stayed perfectly still.
|
|
8732
|
+
R352 lifts the icon 10% on hover for a tactile "this
|
|
8733
|
+
button does something" cue. The R186 anet-chrome-pop
|
|
8734
|
+
keyframe (220ms scale 1→1.06→1) still owns transform
|
|
8735
|
+
during click via CSS-animation precedence over
|
|
8736
|
+
transition-transform; after the pop ends + className
|
|
8737
|
+
is removed, the group-hover scale-110 picks up
|
|
8738
|
+
smoothly. `transform-gpu` hint promotes the svg to
|
|
8739
|
+
its own compositor layer for crisper edges during
|
|
8740
|
+
the scale tween. Sibling change on zoom-in icon
|
|
8741
|
+
below. */}
|
|
8053
8742
|
<svg
|
|
8054
8743
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8055
8744
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8056
8745
|
aria-hidden
|
|
8057
|
-
className={chromePopping === 'zoom-out' ? 'anet-chrome-pop' :
|
|
8746
|
+
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-out' ? ' anet-chrome-pop' : ''}`}
|
|
8058
8747
|
data-topo-chrome-zoom-out-icon
|
|
8059
8748
|
><path d="M5 12h14" /></svg>
|
|
8060
8749
|
</button>
|
|
@@ -8100,11 +8789,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8100
8789
|
chromePopping === 'zoom-in' || chromePopping === 'zoom-out'
|
|
8101
8790
|
? 'true' : 'false'
|
|
8102
8791
|
}
|
|
8792
|
+
data-topo-chrome-zoom-level-hover={hoveredZoomLevel ? 'true' : 'false'}
|
|
8793
|
+
onMouseEnter={() => setHoveredZoomLevel(true)}
|
|
8794
|
+
onMouseLeave={() => setHoveredZoomLevel(false)}
|
|
8103
8795
|
style={{
|
|
8104
8796
|
color: pal.legendText,
|
|
8105
8797
|
borderColor: pal.containerBorder,
|
|
8106
8798
|
minWidth: 46,
|
|
8107
8799
|
display: 'inline-block',
|
|
8800
|
+
// R347: letter-spacing hover tween — extends R344/R345
|
|
8801
|
+
// hover-letter-spacing family into the chrome strip.
|
|
8802
|
+
letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
|
|
8108
8803
|
/* Round 264 / Loop: zoom level readout gains theme-toggle
|
|
8109
8804
|
transition. The span has theme-driven color (pal.
|
|
8110
8805
|
legendText) + border-x (pal.containerBorder via the
|
|
@@ -8113,7 +8808,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8113
8808
|
on theme flip while siblings eased. Sibling treatment
|
|
8114
8809
|
to the nodeSize + zoom wrapper transitions added this
|
|
8115
8810
|
round. */
|
|
8116
|
-
transition: 'color 200ms ease-out, border-color 200ms ease-out',
|
|
8811
|
+
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out',
|
|
8117
8812
|
}}
|
|
8118
8813
|
title="Current zoom level"
|
|
8119
8814
|
>
|
|
@@ -8124,18 +8819,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8124
8819
|
data-topo-chrome-zoom-in
|
|
8125
8820
|
data-topo-chrome-zoom-in-popping={chromePopping === 'zoom-in' ? 'true' : 'false'}
|
|
8126
8821
|
// R196: press-state (mirror of zoom-out above).
|
|
8127
|
-
|
|
8822
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
8823
|
+
className="group px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
|
|
8128
8824
|
style={{ color: pal.legendText }}
|
|
8129
8825
|
aria-label="Zoom in"
|
|
8130
8826
|
title="Zoom in (+)"
|
|
8131
8827
|
>
|
|
8132
8828
|
{/* R186: icon pop on click. Same one-shot CSS animation
|
|
8133
8829
|
as zoom-out; React removes the class after 240ms. */}
|
|
8830
|
+
{/* R352 sibling — zoom-in icon picks up the same
|
|
8831
|
+
group-hover:scale-110 family. Mirror change at
|
|
8832
|
+
the zoom-out icon above. */}
|
|
8134
8833
|
<svg
|
|
8135
8834
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8136
8835
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8137
8836
|
aria-hidden
|
|
8138
|
-
className={chromePopping === 'zoom-in' ? 'anet-chrome-pop' :
|
|
8837
|
+
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-in' ? ' anet-chrome-pop' : ''}`}
|
|
8139
8838
|
data-topo-chrome-zoom-in-icon
|
|
8140
8839
|
><path d="M12 5v14M5 12h14" /></svg>
|
|
8141
8840
|
</button>
|
|
@@ -8144,6 +8843,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8144
8843
|
onClick={() => { armResetSpin(); resetView(); }}
|
|
8145
8844
|
data-topo-chrome-reset
|
|
8146
8845
|
data-topo-chrome-reset-spinning={resetSpinning ? 'true' : 'false'}
|
|
8846
|
+
data-topo-chrome-reset-hover={hoveredReset ? 'true' : 'false'}
|
|
8847
|
+
// R350: hover state drives the icon transform below.
|
|
8848
|
+
onMouseEnter={() => setHoveredReset(true)}
|
|
8849
|
+
onMouseLeave={() => setHoveredReset(false)}
|
|
8850
|
+
onFocus={() => setHoveredReset(true)}
|
|
8851
|
+
onBlur={() => setHoveredReset(false)}
|
|
8147
8852
|
// R196: press-state deepens before R184 reset-spin fires on
|
|
8148
8853
|
// release — mouse-down dim then 450ms spin = full handshake.
|
|
8149
8854
|
className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60"
|
|
@@ -8173,6 +8878,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8173
8878
|
aria-hidden
|
|
8174
8879
|
className={resetSpinning ? 'anet-reset-spin' : undefined}
|
|
8175
8880
|
data-topo-chrome-reset-icon
|
|
8881
|
+
// R350: hover-rotate preview of the R184 click-spin.
|
|
8882
|
+
// Gated on !resetSpinning so the anet-reset-spin keyframe
|
|
8883
|
+
// owns transform during its 450ms run. transformOrigin
|
|
8884
|
+
// 'center' so rotation pivots around the icon's centre
|
|
8885
|
+
// (default would be top-left and the icon would arc).
|
|
8886
|
+
style={{
|
|
8887
|
+
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
|
|
8888
|
+
transformOrigin: 'center',
|
|
8889
|
+
transition: 'transform 200ms ease-out',
|
|
8890
|
+
}}
|
|
8891
|
+
data-topo-chrome-reset-icon-hover={hoveredReset && !resetSpinning ? 'true' : 'false'}
|
|
8176
8892
|
>
|
|
8177
8893
|
<path d="M3 12a9 9 0 1 0 9-9 9 9 0 0 0-6.4 2.6L3 8" />
|
|
8178
8894
|
<path d="M3 3v5h5" />
|
|
@@ -8206,7 +8922,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8206
8922
|
its inactive state benefits from the same "hover previews
|
|
8207
8923
|
active state" idiom R163 designed. Sibling treatment to
|
|
8208
8924
|
the nodeSize buttons at line ~6711. */
|
|
8209
|
-
|
|
8925
|
+
// R353: `group` lets the inner svg respond via group-hover —
|
|
8926
|
+
// sibling to R352 zoom buttons. Closes the chrome-strip per-
|
|
8927
|
+
// icon hover-affordance arc (zoom-out / zoom-in / reset /
|
|
8928
|
+
// fullscreen now all carry an icon-level hover gesture in
|
|
8929
|
+
// addition to the bg hover).
|
|
8930
|
+
className={`group p-1.5 rounded-md border transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
|
|
8210
8931
|
isFullscreen
|
|
8211
8932
|
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
|
|
8212
8933
|
: 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
|
|
@@ -8225,12 +8946,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8225
8946
|
at the reset icon above. data-topo-chrome-fullscreen-
|
|
8226
8947
|
icon attribute exposes BOTH variants (entered / exited)
|
|
8227
8948
|
for the round's stroke-width regression probe. */}
|
|
8949
|
+
{/* Round 353 / Loop: fullscreen icon (both enter + exit
|
|
8950
|
+
variants) picks up the R352 family group-hover:scale-110.
|
|
8951
|
+
Pre-R353 hovering the button only changed the bg; the
|
|
8952
|
+
icon stayed still. R353 lifts the icon 10 % on hover —
|
|
8953
|
+
same gesture vocabulary as the zoom buttons. transform-
|
|
8954
|
+
gpu hint promotes the svg to its own compositor layer
|
|
8955
|
+
for crisper edges during the scale tween. Closes the
|
|
8956
|
+
chrome-strip per-icon hover-affordance arc. */}
|
|
8228
8957
|
{isFullscreen ? (
|
|
8229
|
-
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden data-topo-chrome-fullscreen-icon="exit">
|
|
8958
|
+
<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 duration-200 ease-out group-hover:scale-110 transform-gpu" data-topo-chrome-fullscreen-icon="exit">
|
|
8230
8959
|
<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" />
|
|
8231
8960
|
</svg>
|
|
8232
8961
|
) : (
|
|
8233
|
-
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden data-topo-chrome-fullscreen-icon="enter">
|
|
8962
|
+
<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 duration-200 ease-out group-hover:scale-110 transform-gpu" data-topo-chrome-fullscreen-icon="enter">
|
|
8234
8963
|
<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" />
|
|
8235
8964
|
</svg>
|
|
8236
8965
|
)}
|