@sleep2agi/agent-network-dashboard 0.5.1-preview.9 → 0.5.1-preview.90
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/017hq2-5l~_98.css +2 -0
- package/.next/static/chunks/09el212cmtr70.js +1 -0
- package/.next/static/chunks/0apaxz3c96keo.js +4 -0
- package/.next/static/chunks/188mrp1elgpea.js +1 -0
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +1745 -111
- package/package.json +1 -1
- package/scripts/topo-active-links-chip-hover-lift-test.mjs +93 -0
- package/scripts/topo-chip-digit-fontweight-test.mjs +105 -0
- package/scripts/topo-chip-digit-hover-bold-test.mjs +94 -0
- package/scripts/topo-chip-row-group-hover-brighten-test.mjs +107 -0
- package/scripts/topo-chip-row-hover-lift-test.mjs +95 -0
- package/scripts/topo-chrome-button-hover-lift-test.mjs +94 -0
- package/scripts/topo-chrome-segmented-radius-test.mjs +100 -0
- package/scripts/topo-click-ripple-opacity-test.mjs +99 -0
- package/scripts/topo-edge-badge-digit-fw-test.mjs +103 -0
- package/scripts/topo-edge-badge-fontsize-test.mjs +90 -0
- package/scripts/topo-edge-badge-hover-opacity-test.mjs +94 -0
- package/scripts/topo-edge-badge-hover-stroke-test.mjs +92 -0
- package/scripts/topo-edge-badge-opacity-test.mjs +80 -0
- package/scripts/topo-edge-badge-pin-opacity-test.mjs +86 -0
- package/scripts/topo-edge-badge-stroke-test.mjs +92 -0
- package/scripts/topo-edge-freshness-floor-test.mjs +99 -0
- package/scripts/topo-edge-particle-radius-test.mjs +76 -0
- package/scripts/topo-edge-visible-linecap-test.mjs +89 -0
- package/scripts/topo-filter-pill-hover-lift-test.mjs +101 -0
- package/scripts/topo-filter-pill-hover-opacity-test.mjs +110 -0
- package/scripts/topo-filter-pill-value-fw-test.mjs +88 -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-hierarchy-test.mjs +93 -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-hover-detail-body-fw-test.mjs +101 -0
- package/scripts/topo-hover-detail-model-fw-test.mjs +98 -0
- package/scripts/topo-hover-detail-opacity-test.mjs +98 -0
- package/scripts/topo-hover-detail-rx-test.mjs +81 -0
- package/scripts/topo-hub-digit-fontsize-test.mjs +86 -0
- package/scripts/topo-hub-digit-fw-hover-test.mjs +102 -0
- package/scripts/topo-hub-halo-light-trough-test.mjs +88 -0
- package/scripts/topo-hub-halo-radius-test.mjs +86 -0
- package/scripts/topo-hub-halo-trough-test.mjs +83 -0
- package/scripts/topo-hub-highlight-opacity-test.mjs +88 -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-hub-hover-ring-stroke-test.mjs +86 -0
- package/scripts/topo-hub-spoke-linecap-test.mjs +80 -0
- package/scripts/topo-label-card-opacity-hover-test.mjs +99 -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-legend-pin-ring-stroke-test.mjs +101 -0
- package/scripts/topo-minimap-offline-opacity-test.mjs +90 -0
- package/scripts/topo-minimap-online-hover-opacity-test.mjs +92 -0
- package/scripts/topo-minimap-online-opacity-test.mjs +93 -0
- package/scripts/topo-minimap-online-radius-test.mjs +85 -0
- package/scripts/topo-minimap-viewport-linejoin-test.mjs +75 -0
- package/scripts/topo-minimap-viewport-rx-test.mjs +85 -0
- package/scripts/topo-more-flows-fontweight-test.mjs +103 -0
- package/scripts/topo-node-alias-letter-spacing-test.mjs +112 -0
- package/scripts/topo-node-halo-offline-opacity-test.mjs +87 -0
- package/scripts/topo-node-label-card-rx-test.mjs +85 -0
- package/scripts/topo-node-pulse-peak-test.mjs +89 -0
- package/scripts/topo-node-pulse-trough-test.mjs +91 -0
- package/scripts/topo-node-sub-text-letter-spacing-test.mjs +115 -0
- package/scripts/topo-panel-count-fw-hover-test.mjs +105 -0
- package/scripts/topo-panel-count-letterspacing-test.mjs +89 -0
- package/scripts/topo-panel-stroke-hover-test.mjs +110 -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-2-test.mjs +72 -0
- package/scripts/topo-recent-pip-radius-test.mjs +76 -0
- package/scripts/topo-recent-row-content-opacity-test.mjs +81 -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-spoke-active-opacity-test.mjs +104 -0
- package/scripts/topo-spoke-active-stroke-test.mjs +95 -0
- package/scripts/topo-spoke-idle-opacity-test.mjs +91 -0
- package/scripts/topo-vendor-chip-hover-lift-test.mjs +87 -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-vendor-suffix-hover-brighten-test.mjs +87 -0
- package/scripts/topo-zoom-icon-hover-scale-test.mjs +114 -0
- package/scripts/topo-zoom-level-hover-fw-test.mjs +95 -0
- package/.next/static/chunks/08fc_cz1nk7b9.js +0 -1
- package/.next/static/chunks/0aauz~36q5n2a.css +0 -2
- package/.next/static/chunks/0e0okm.affulg.js +0 -1
- package/.next/static/chunks/0s3vtwfo26_t6.js +0 -4
- /package/.next/static/{egukPz1ctU--4WnT2FpEU → mQHthzMGmjydHu598yl-Z}/_buildManifest.js +0 -0
- /package/.next/static/{egukPz1ctU--4WnT2FpEU → mQHthzMGmjydHu598yl-Z}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{egukPz1ctU--4WnT2FpEU → mQHthzMGmjydHu598yl-Z}/_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";
|
|
@@ -237,7 +257,21 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
|
|
|
237
257
|
duration-300 still eases the bg/color flip. Title (hover
|
|
238
258
|
tooltip) still spells out the full meaning in either
|
|
239
259
|
state. */}
|
|
240
|
-
{
|
|
260
|
+
{/* Round 410 / Loop: FreshnessChip body picks up the chip-
|
|
261
|
+
internal-hierarchy arc. Pre-R410 the body rendered as a
|
|
262
|
+
single text node `lag · {sec}s` with the parent's font-
|
|
263
|
+
medium (fw=500) applied uniformly. R410 splits the digit
|
|
264
|
+
and unit into separate spans so the chip's internal
|
|
265
|
+
typography mirrors the family pattern R333-R341/R362/R369/
|
|
266
|
+
R389 established for the chip row:
|
|
267
|
+
digit (fw=600) data tier
|
|
268
|
+
unit (fw=500 + opacity=0.7) label tier
|
|
269
|
+
The `lag` prefix stays at the chip's baseline (fw=500
|
|
270
|
+
from parent font-medium) — it labels the state, not a
|
|
271
|
+
data value. data-freshness-chip-digit / -unit attrs
|
|
272
|
+
surface the spans for tests. tabular-nums + transition-
|
|
273
|
+
colors + R275 stale-only gate all preserved. */}
|
|
274
|
+
{stale ? 'lag' : 'live'} · <span className="font-semibold" data-freshness-chip-digit>{sec}</span><span className="opacity-70" data-freshness-chip-unit>s</span>
|
|
241
275
|
</span>
|
|
242
276
|
);
|
|
243
277
|
}
|
|
@@ -1050,6 +1084,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1050
1084
|
// 200ms ease-out joins the existing R264 color/border transition
|
|
1051
1085
|
// list on the same span.
|
|
1052
1086
|
const [hoveredZoomLevel, setHoveredZoomLevel] = useState(false);
|
|
1087
|
+
// Round 350 / Loop: reset-button icon hover-rotate preview of the
|
|
1088
|
+
// R184 click-spin. Pre-R350 hovering the reset button only changed
|
|
1089
|
+
// the button bg (white/5); the icon inside stayed perfectly still.
|
|
1090
|
+
// R350 nudges the icon -8° on hover — a tactile hint that this
|
|
1091
|
+
// button rotates the icon on click. When the click fires, the
|
|
1092
|
+
// R184 anet-reset-spin keyframe animation overrides the hover
|
|
1093
|
+
// transform for its 450 ms run (CSS animations win over transitions
|
|
1094
|
+
// on the same property); when the animation ends + React removes
|
|
1095
|
+
// the className, the inline transform eases back to whatever the
|
|
1096
|
+
// hover state says — either -8° (still hovering) or 0 (mouse left).
|
|
1097
|
+
// 350th-round milestone polish.
|
|
1098
|
+
const [hoveredReset, setHoveredReset] = useState(false);
|
|
1053
1099
|
// R135: panel-wide hover-elevation. The recent-signal + legend
|
|
1054
1100
|
// panels both already host clickable rows (R56/R116 recent rows,
|
|
1055
1101
|
// R55/R61 legend rows) and a clickable footer (R133), so the
|
|
@@ -1811,12 +1857,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1811
1857
|
while honoring R328's wider baseline rhythm. data-topo-
|
|
1812
1858
|
chrome-layout-trailer attr unchanged — it still marks
|
|
1813
1859
|
the boundary surface for the gap probe. */}
|
|
1860
|
+
{/* Round 375 / Loop: Layout-toggle wrapper rounded-md → rounded-
|
|
1861
|
+
lg (6 → 8 px). Extends the corner-radius cascade family
|
|
1862
|
+
to the chrome-strip layout-toggle wrapper:
|
|
1863
|
+
R330 canvas wrapper rounded-xl 12 px
|
|
1864
|
+
R331 SVG panels rx=10 10 px
|
|
1865
|
+
R332 minimap container rounded-lg 8 px
|
|
1866
|
+
R375 Layout-toggle wrapper rounded-lg 8 px (this round)
|
|
1867
|
+
Pre-R375 the wrapper at rounded-md (6 px) was the only
|
|
1868
|
+
chrome-strip container still using the smaller corner
|
|
1869
|
+
radius — both R330 outer wrapper and R332 minimap sit at
|
|
1870
|
+
≥ 8 px, so the Layout toggle's 6 px stood out as a
|
|
1871
|
+
tighter corner against the family. R375 brings it into
|
|
1872
|
+
the rounded-lg tier where the minimap already lives.
|
|
1873
|
+
Pure paint change — overflow-hidden still clips the
|
|
1874
|
+
inner buttons' bg-cyan-500/15 tints; no layout shift.
|
|
1875
|
+
R268 border-color + 200ms transition + R329 mr-0.5 +
|
|
1876
|
+
data-topo-chrome-layout-trailer all preserved. */}
|
|
1814
1877
|
<div
|
|
1815
|
-
className="mr-0.5 inline-flex rounded-
|
|
1878
|
+
className="mr-0.5 inline-flex rounded-lg border overflow-hidden"
|
|
1816
1879
|
style={{ borderColor: pal.containerBorder, transition: 'border-color 200ms ease-out' }}
|
|
1817
1880
|
role="group"
|
|
1818
1881
|
aria-label="Topology layout"
|
|
1819
1882
|
data-topo-chrome-layout-trailer
|
|
1883
|
+
data-topo-chrome-layout-radius="rounded-lg"
|
|
1820
1884
|
>
|
|
1821
1885
|
<button
|
|
1822
1886
|
onClick={() => { popChrome('layout-ring'); if (layout !== 'ring') toggleLayout(); }}
|
|
@@ -1850,7 +1914,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1850
1914
|
weight; cyan-400/60 + ring-inset retained. The
|
|
1851
1915
|
R163/R196 hover/active deeps + R249 chrome-pop
|
|
1852
1916
|
click feedback continue unchanged. */
|
|
1853
|
-
|
|
1917
|
+
// R351: hover:tracking-wide extends the R344/R345/R347
|
|
1918
|
+
// hover-letter-spacing family to a 4th surface (chrome-
|
|
1919
|
+
// strip Ring/Grid pair). transition-colors className
|
|
1920
|
+
// dropped in favour of an inline transition spec that
|
|
1921
|
+
// bundles bg/color (150ms ease) + letter-spacing
|
|
1922
|
+
// (200ms ease-out) — Tailwind's transition-colors
|
|
1923
|
+
// doesn't list letter-spacing, so without this the
|
|
1924
|
+
// hover:tracking-wide would snap. Sibling change on
|
|
1925
|
+
// the Grid button below.
|
|
1926
|
+
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' : ''}`}
|
|
1927
|
+
style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out' }}
|
|
1854
1928
|
>
|
|
1855
1929
|
Ring
|
|
1856
1930
|
</button>
|
|
@@ -1867,14 +1941,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1867
1941
|
// Round 306 / Loop: focus-visible:ring-2 → ring-1 sibling
|
|
1868
1942
|
// change to Ring above — unifies focus-ring width across
|
|
1869
1943
|
// all chrome buttons.
|
|
1870
|
-
|
|
1944
|
+
// R351 sibling — Grid button picks up hover:tracking-wide
|
|
1945
|
+
// + inline transition spec. Same vocabulary as Ring.
|
|
1946
|
+
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' : ''}`}
|
|
1871
1947
|
/* Round 268 / Loop: Grid button's left border (the
|
|
1872
1948
|
internal divider between Ring and Grid) picks up
|
|
1873
1949
|
pal.containerBorder, matching the wrapper change at
|
|
1874
1950
|
line ~1460 and the chrome strip's segmented borders
|
|
1875
|
-
(nodeSize, zoom). transition-colors className
|
|
1876
|
-
the border-color
|
|
1877
|
-
|
|
1951
|
+
(nodeSize, zoom). The R268 transition-colors className
|
|
1952
|
+
used to carry the border-color ease; R351 unfolds the
|
|
1953
|
+
transition list into the inline spec below so the
|
|
1954
|
+
letter-spacing tween rides alongside without snapping
|
|
1955
|
+
the border-color flip — border-color 200ms ease-out
|
|
1956
|
+
keeps R268's theme-toggle smoothness intact. */
|
|
1957
|
+
style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
1878
1958
|
>
|
|
1879
1959
|
Grid
|
|
1880
1960
|
</button>
|
|
@@ -1961,11 +2041,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1961
2041
|
7th surface in the info-density tabular-nums
|
|
1962
2042
|
sweep — and the first on the HTML side
|
|
1963
2043
|
(previous 6 were SVG <text>/<tspan>). */
|
|
1964
|
-
|
|
2044
|
+
/* Round 398 / Loop: chip-row chips gain hover translateY
|
|
2045
|
+
(-1px) lift on the CLICKABLE variant only (workingCount
|
|
2046
|
+
> 0 here / onlineNodes.length > 0 below / activeLinks
|
|
2047
|
+
> 0 deeper). Pre-R398 the chips brightened bg + border
|
|
2048
|
+
on hover (R201) but didn't lift — only their clickable
|
|
2049
|
+
siblings (filter pin pills R397, recent rows R143,
|
|
2050
|
+
legend rows R144) acknowledged cursor entry with a
|
|
2051
|
+
translate-y. R398 closes the chip-row by extending
|
|
2052
|
+
the same gesture to the static header chips, gated
|
|
2053
|
+
on the clickable role so empty chips (which have
|
|
2054
|
+
no role="button") stay planted at their R205
|
|
2055
|
+
opacity-50 receded paint. transition-transform
|
|
2056
|
+
+ duration-200 + ease-out + transform-gpu added
|
|
2057
|
+
alongside existing transition-colors so the lift
|
|
2058
|
+
and the color tween share rhythm.
|
|
2059
|
+
Gesture-vocabulary table (post-R398):
|
|
2060
|
+
recent-signal row -1 px (R143)
|
|
2061
|
+
legend row -1 px (R144)
|
|
2062
|
+
group cluster box fill+sw lift (R142)
|
|
2063
|
+
filter pin pills -1 px (R397)
|
|
2064
|
+
chip-row chips -1 px (R398, this round)
|
|
2065
|
+
Empty chips: no lift. Pin-mirror chips: no
|
|
2066
|
+
conflict (R180 inset double-ring is a box-shadow
|
|
2067
|
+
not a transform). new data-chip-hover-lift attr
|
|
2068
|
+
surfaces the lift surface for tests. */
|
|
2069
|
+
// R414: chip-row chips gain `group` so inner unit
|
|
2070
|
+
// span brightens via group-hover:opacity-100 — sibling
|
|
2071
|
+
// to R355 filter pin pill inner-span hover-brighten.
|
|
2072
|
+
// Hover-brighten family extends from filter pills to
|
|
2073
|
+
// chip-row chips at the inner-span scope.
|
|
2074
|
+
className={`group tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
|
|
1965
2075
|
workingCount > 0
|
|
1966
|
-
? 'bg-green-500/10 text-green-300 border-green-500/20 hover:bg-green-500/15 hover:border-green-500/30'
|
|
2076
|
+
? 'bg-green-500/10 text-green-300 border-green-500/20 hover:bg-green-500/15 hover:border-green-500/30 hover:-translate-y-px'
|
|
1967
2077
|
: 'bg-green-500/10 text-green-300 border-green-500/20'
|
|
1968
2078
|
}`}
|
|
2079
|
+
data-chip-hover-lift={workingCount > 0 ? 'true' : 'false'}
|
|
2080
|
+
data-chip-group-hover-brighten="true"
|
|
1969
2081
|
data-working-chip
|
|
1970
2082
|
data-working-chip-aliases={workingAliases.join(',')}
|
|
1971
2083
|
data-pin-mirror={pinnedStatus === 'working' ? 'true' : 'false'}
|
|
@@ -2035,7 +2147,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2035
2147
|
pattern: small label spans demote, value stays
|
|
2036
2148
|
prominent. data-working-chip-unit exposes the
|
|
2037
2149
|
span for tests. */}
|
|
2038
|
-
{
|
|
2150
|
+
{/* Round 362 / Loop: digit picks up font-semibold
|
|
2151
|
+
(fw 500 → 600) for within-chip weight tier. The
|
|
2152
|
+
chip's outer className stays at font-medium (R313
|
|
2153
|
+
data-weight baseline); the digit overrides to
|
|
2154
|
+
semibold so it reads heavier than its " working"
|
|
2155
|
+
unit (which keeps fw 500 + R338 opacity-70).
|
|
2156
|
+
Joins the R333-R341 chip-internal-hierarchy arc
|
|
2157
|
+
at the chip-count scope. Sibling edits on the
|
|
2158
|
+
online + active-links chip digits below. data-
|
|
2159
|
+
working-chip-digit attr exposes the digit span. */}
|
|
2160
|
+
<span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-working-chip-digit>{workingCount}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-working-chip-unit> working</span>
|
|
2039
2161
|
</span>
|
|
2040
2162
|
<span
|
|
2041
2163
|
// Round 201 / Loop: online chip — mirror of the working
|
|
@@ -2049,11 +2171,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2049
2171
|
/* Round 232 / Loop: tabular-nums on online chip
|
|
2050
2172
|
(sibling treatment to working chip — same row,
|
|
2051
2173
|
same digit-jitter physics on count crossings). */
|
|
2052
|
-
|
|
2174
|
+
// R398: hover translate-y lift on clickable variant — see working chip above.
|
|
2175
|
+
// R414: `group` parent + inner unit span group-hover-brighten — see working chip above.
|
|
2176
|
+
className={`group tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
|
|
2053
2177
|
onlineNodes.length > 0
|
|
2054
|
-
? 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20 hover:bg-cyan-500/15 hover:border-cyan-500/30'
|
|
2178
|
+
? 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20 hover:bg-cyan-500/15 hover:border-cyan-500/30 hover:-translate-y-px'
|
|
2055
2179
|
: 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'
|
|
2056
2180
|
}`}
|
|
2181
|
+
data-chip-hover-lift={onlineNodes.length > 0 ? 'true' : 'false'}
|
|
2182
|
+
data-chip-group-hover-brighten="true"
|
|
2057
2183
|
data-online-chip
|
|
2058
2184
|
data-online-chip-aliases={onlineAliases.join(',')}
|
|
2059
2185
|
data-pin-mirror={pinnedStatus === 'idle' ? 'true' : 'false'}
|
|
@@ -2098,7 +2224,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2098
2224
|
}}
|
|
2099
2225
|
>
|
|
2100
2226
|
{/* R337 sibling — online chip unit demotion. */}
|
|
2101
|
-
{
|
|
2227
|
+
{/* R362 sibling — online-chip digit gains font-semibold. */}
|
|
2228
|
+
<span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-online-chip-unit> online</span>
|
|
2102
2229
|
</span>
|
|
2103
2230
|
</>
|
|
2104
2231
|
);
|
|
@@ -2225,8 +2352,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2225
2352
|
title={`${w} working · ${i} idle · ${o} offline`}
|
|
2226
2353
|
data-fleet-pressure
|
|
2227
2354
|
>
|
|
2228
|
-
|
|
2229
|
-
|
|
2355
|
+
{/* Round 373 / Loop: pressure-bar kicker label gains
|
|
2356
|
+
font-medium (fw 400 → 500). Sibling small-text fw
|
|
2357
|
+
lift family with R363 recent-row alias + R364
|
|
2358
|
+
legend-row label + R366 group-label count + R368
|
|
2359
|
+
+N more flows footer — extends to a 5th surface
|
|
2360
|
+
(the chip-row's 'pressure' label). At fontSize
|
|
2361
|
+
10 px tracking-wide against the chip's gray bg,
|
|
2362
|
+
the default fw 400 sat below the deliberate-data
|
|
2363
|
+
band; fw 500 brings it into parity with the
|
|
2364
|
+
chip-row 'working / online / active links' unit
|
|
2365
|
+
spans (chip-level font-medium R313). data-fleet-
|
|
2366
|
+
pressure-kicker attr exposes the kicker for tests. */}
|
|
2367
|
+
<span className="text-[10px] tracking-wide font-medium" data-fleet-pressure-kicker>pressure</span>
|
|
2368
|
+
{/* Round 374 / Loop: pressure-bar height h-1.5 → h-2
|
|
2369
|
+
(6 → 8 px) — sibling visual-weight bump (8th anchor
|
|
2370
|
+
in the family):
|
|
2371
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
2372
|
+
R295 legend swatch base radius 5.5 → 6
|
|
2373
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
2374
|
+
R360 hub digit fontSize 11 → 12
|
|
2375
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
2376
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
2377
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
2378
|
+
R374 pressure-bar height 1.5 → 2 (this round)
|
|
2379
|
+
+33 % bar height gives the working/idle/offline
|
|
2380
|
+
segments more visibility — at h-1.5 the 3-segment
|
|
2381
|
+
proportion bar was readable but slim; at h-2 the
|
|
2382
|
+
segments parse cleanly even when one tier is
|
|
2383
|
+
< 10 % share. Geometry-safe: items-center flex
|
|
2384
|
+
centers the bar inside the chip's py-1 (4 px top +
|
|
2385
|
+
4 px bottom) — bar at 8 px stays comfortably
|
|
2386
|
+
inside the 10-px text-row height. R165 segment
|
|
2387
|
+
width transitions + R210 brightness hover + R83
|
|
2388
|
+
pin-mirror box-shadow on segments all preserved
|
|
2389
|
+
(segments inherit width from parent so the height
|
|
2390
|
+
bump propagates without segment-side edits).
|
|
2391
|
+
data-fleet-pressure-bar-height attr exposes the
|
|
2392
|
+
height token for tests. */}
|
|
2393
|
+
<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">
|
|
2230
2394
|
{seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
|
|
2231
2395
|
{seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
|
|
2232
2396
|
{seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
|
|
@@ -2283,7 +2447,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2283
2447
|
data-active-filter="status"
|
|
2284
2448
|
data-filter-match-count={matchCount}
|
|
2285
2449
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2286
|
-
|
|
2450
|
+
// R355: `group` lets the inner opacity-70 spans (prefix
|
|
2451
|
+
// `filter:` + count `· N`) brighten to 100 % on pill hover.
|
|
2452
|
+
// Sibling treatment on group + vendor pills below.
|
|
2453
|
+
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2287
2454
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2288
2455
|
onClick={() => setPinnedStatus(null)}
|
|
2289
2456
|
style={{
|
|
@@ -2297,12 +2464,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2297
2464
|
cursor: 'pointer',
|
|
2298
2465
|
}}
|
|
2299
2466
|
>
|
|
2300
|
-
|
|
2467
|
+
{/* Round 412 / Loop: filter pin pill VALUE picks up the
|
|
2468
|
+
chip-internal-hierarchy arc. Pre-R412 the value span
|
|
2469
|
+
(pinnedStatus / pinnedGroup / pinnedVendor) inherited
|
|
2470
|
+
the parent's font-medium (fw=500); prefix and suffix
|
|
2471
|
+
were opacity-70 label-tier but the VALUE itself sat
|
|
2472
|
+
at the same baseline weight. R412 wraps the value in
|
|
2473
|
+
a font-semibold span (fw=600) so the pill now reads
|
|
2474
|
+
with proper data-tier emphasis — sibling treatment
|
|
2475
|
+
to R333/R335-R341/R362/R369/R389/R410. data-filter-
|
|
2476
|
+
value attr surfaces the value span for tests.
|
|
2477
|
+
4-pill replace family — status / group / vendor / edge. */}
|
|
2478
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedStatus}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2301
2479
|
<button
|
|
2302
2480
|
type="button"
|
|
2303
2481
|
aria-label={`Clear ${pinnedStatus} filter`}
|
|
2304
2482
|
onClick={(e) => { e.stopPropagation(); setPinnedStatus(null); }}
|
|
2305
|
-
|
|
2483
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2484
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2485
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2486
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2487
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2488
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2489
|
+
scale on hover so the click-target reads as "press me"
|
|
2490
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2491
|
+
button to its own compositor layer for crisper edges
|
|
2492
|
+
during the scale tween. transition-transform duration-
|
|
2493
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2494
|
+
inline-block is default for <button> so no display
|
|
2495
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2496
|
+
pills (status / group / vendor / edge) at once. */
|
|
2497
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2306
2498
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2307
2499
|
>×</button>
|
|
2308
2500
|
</span>
|
|
@@ -2321,7 +2513,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2321
2513
|
data-active-filter="group"
|
|
2322
2514
|
data-filter-match-count={matchCount}
|
|
2323
2515
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2324
|
-
|
|
2516
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2517
|
+
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2325
2518
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2326
2519
|
onClick={() => setPinnedGroup(null)}
|
|
2327
2520
|
style={{
|
|
@@ -2331,12 +2524,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2331
2524
|
cursor: 'pointer',
|
|
2332
2525
|
}}
|
|
2333
2526
|
>
|
|
2334
|
-
|
|
2527
|
+
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2528
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedGroup}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2335
2529
|
<button
|
|
2336
2530
|
type="button"
|
|
2337
2531
|
aria-label={`Clear group filter ${pinnedGroup}`}
|
|
2338
2532
|
onClick={(e) => { e.stopPropagation(); setPinnedGroup(null); }}
|
|
2339
|
-
|
|
2533
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2534
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2535
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2536
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2537
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2538
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2539
|
+
scale on hover so the click-target reads as "press me"
|
|
2540
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2541
|
+
button to its own compositor layer for crisper edges
|
|
2542
|
+
during the scale tween. transition-transform duration-
|
|
2543
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2544
|
+
inline-block is default for <button> so no display
|
|
2545
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2546
|
+
pills (status / group / vendor / edge) at once. */
|
|
2547
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2340
2548
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2341
2549
|
>×</button>
|
|
2342
2550
|
</span>
|
|
@@ -2371,7 +2579,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2371
2579
|
data-active-filter="vendor"
|
|
2372
2580
|
data-filter-match-count={matchCount}
|
|
2373
2581
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2374
|
-
|
|
2582
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2583
|
+
className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2375
2584
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
|
|
2376
2585
|
onClick={() => setPinnedVendor(null)}
|
|
2377
2586
|
style={{
|
|
@@ -2381,12 +2590,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2381
2590
|
cursor: 'pointer',
|
|
2382
2591
|
}}
|
|
2383
2592
|
>
|
|
2384
|
-
|
|
2593
|
+
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2594
|
+
<span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span><span className="font-semibold" data-filter-value>{pinnedVendor}</span><span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
|
|
2385
2595
|
<button
|
|
2386
2596
|
type="button"
|
|
2387
2597
|
aria-label={`Clear vendor filter ${pinnedVendor}`}
|
|
2388
2598
|
onClick={(e) => { e.stopPropagation(); setPinnedVendor(null); }}
|
|
2389
|
-
|
|
2599
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2600
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2601
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2602
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2603
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2604
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2605
|
+
scale on hover so the click-target reads as "press me"
|
|
2606
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2607
|
+
button to its own compositor layer for crisper edges
|
|
2608
|
+
during the scale tween. transition-transform duration-
|
|
2609
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2610
|
+
inline-block is default for <button> so no display
|
|
2611
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2612
|
+
pills (status / group / vendor / edge) at once. */
|
|
2613
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2390
2614
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2391
2615
|
>×</button>
|
|
2392
2616
|
</span>
|
|
@@ -2419,7 +2643,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2419
2643
|
data-filter-match-count={link.count}
|
|
2420
2644
|
data-filter-match-aliases={`${link.from},${link.to}`}
|
|
2421
2645
|
data-active-filter-edge-hot={isHot ? 'true' : 'false'}
|
|
2422
|
-
className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus"
|
|
2646
|
+
className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
|
|
2423
2647
|
title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
|
|
2424
2648
|
onClick={() => setPinnedEdgeKey(null)}
|
|
2425
2649
|
style={{
|
|
@@ -2429,9 +2653,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2429
2653
|
cursor: 'pointer',
|
|
2430
2654
|
}}
|
|
2431
2655
|
>
|
|
2656
|
+
{/* R412: filter pin pill value (edge variant) picks up fw=600.
|
|
2657
|
+
Sibling treatment to the status/group/vendor pills above. */}
|
|
2432
2658
|
<span>
|
|
2433
2659
|
<span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>
|
|
2434
|
-
{link.from}→{link.to}
|
|
2660
|
+
<span className="font-semibold" data-filter-value>{link.from}→{link.to}</span>
|
|
2435
2661
|
{/* Round 323 / Loop: edge filter pill count digit picks
|
|
2436
2662
|
up tabular-nums (Tailwind class on both cold +
|
|
2437
2663
|
hot branches). Sibling treatment to the status /
|
|
@@ -2463,7 +2689,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2463
2689
|
type="button"
|
|
2464
2690
|
aria-label={`Clear edge filter ${link.from} → ${link.to}`}
|
|
2465
2691
|
onClick={(e) => { e.stopPropagation(); setPinnedEdgeKey(null); }}
|
|
2466
|
-
|
|
2692
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2693
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2694
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2695
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2696
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2697
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2698
|
+
scale on hover so the click-target reads as "press me"
|
|
2699
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2700
|
+
button to its own compositor layer for crisper edges
|
|
2701
|
+
during the scale tween. transition-transform duration-
|
|
2702
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2703
|
+
inline-block is default for <button> so no display
|
|
2704
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2705
|
+
pills (status / group / vendor / edge) at once. */
|
|
2706
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2467
2707
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2468
2708
|
>×</button>
|
|
2469
2709
|
</span>
|
|
@@ -2728,9 +2968,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2728
2968
|
vendor letter chips ('A:N', 'O:N', '书:N',
|
|
2729
2969
|
'?:N'). They display vendor-distribution
|
|
2730
2970
|
data; same tier as the sibling data chips. */
|
|
2731
|
-
|
|
2971
|
+
/* Round 401 / Loop: vendor letter chip closes the
|
|
2972
|
+
hover-lift gesture family at its last unaddressed
|
|
2973
|
+
interactive HTML surface. R397/R398/R399 lifted
|
|
2974
|
+
filter pin pills + chip-row chips (working /
|
|
2975
|
+
online / active-links); R400 lifted standalone
|
|
2976
|
+
chrome buttons (reset / fullscreen). The vendor
|
|
2977
|
+
letter chips (A:N / O:N / 书:N / ?:N) are
|
|
2978
|
+
sibling interactive chips in the same chip-row
|
|
2979
|
+
— clickable to toggle the vendor filter pin —
|
|
2980
|
+
but were not yet on the hover-lift family.
|
|
2981
|
+
R401 closes the gap with hover:-translate-y-px
|
|
2982
|
+
+ transition-transform + transform-gpu added
|
|
2983
|
+
to the className. The inline transition list
|
|
2984
|
+
(box-shadow + background-color) keeps eaching
|
|
2985
|
+
independently — different property axes compose
|
|
2986
|
+
cleanly. Existing R354 glyph scale-1.1 (inner
|
|
2987
|
+
span) + R202 chip bg color-mix + R180 pin-mirror
|
|
2988
|
+
box-shadow + R354 glyph hover transform all
|
|
2989
|
+
preserved. data-vendor-letter-hover-lift attr
|
|
2990
|
+
surfaces the lift for tests. */
|
|
2991
|
+
// R417: `group` parent enables the count suffix to
|
|
2992
|
+
// brighten on chip hover via group-hover:opacity-100
|
|
2993
|
+
// — sibling to R355 filter-pill prefix/suffix + R414
|
|
2994
|
+
// chip-row unit brighten. Closes the inner-span
|
|
2995
|
+
// hover-brighten family at the vendor chip surface.
|
|
2996
|
+
className="group tabular-nums font-medium inline-flex items-baseline gap-0.5 px-1 rounded anet-topo-chip-focus transition-transform duration-200 ease-out transform-gpu hover:-translate-y-px"
|
|
2732
2997
|
data-vendor-letter={v.initial}
|
|
2733
2998
|
data-vendor-letter-count={v.count}
|
|
2999
|
+
data-vendor-letter-hover-lift="true"
|
|
2734
3000
|
data-vendor-pinned={isPinned ? 'true' : 'false'}
|
|
2735
3001
|
data-vendor-hovered={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
2736
3002
|
data-vendor-aliases={aliases.join(',')}
|
|
@@ -2774,7 +3040,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2774
3040
|
}
|
|
2775
3041
|
}}
|
|
2776
3042
|
>
|
|
2777
|
-
|
|
3043
|
+
{/* Round 354 / Loop: vendor letter glyph scales
|
|
3044
|
+
1.0 → 1.1 on hover. R88 already dims OTHER
|
|
3045
|
+
vendors on hover via canvas-wide opacity
|
|
3046
|
+
masking; R202 added a chip-level bg tint
|
|
3047
|
+
(color-mix 12 % alpha) so the chip itself
|
|
3048
|
+
responds. R354 closes the trio with a glyph-
|
|
3049
|
+
level lift: the focused vendor LETTER actively
|
|
3050
|
+
rises (transform scale) rather than the chip
|
|
3051
|
+
merely changing colour. Three layers of positive
|
|
3052
|
+
feedback on the hovered vendor + canvas-wide
|
|
3053
|
+
negative feedback on the others — a clean
|
|
3054
|
+
figure/ground separation.
|
|
3055
|
+
|
|
3056
|
+
display: inline-block is required for transform
|
|
3057
|
+
to apply (inline elements ignore transform).
|
|
3058
|
+
transformOrigin: 'center' so the glyph pivots
|
|
3059
|
+
around its centre instead of arcing from the
|
|
3060
|
+
baseline anchor. transition rides the existing
|
|
3061
|
+
Tailwind 4 transform/scale list (no new
|
|
3062
|
+
property — Tailwind already lists transform in
|
|
3063
|
+
the default transition-property set). 200ms
|
|
3064
|
+
matches the R202 chip bg-tint timing so the
|
|
3065
|
+
glyph lift and chip background ease in concert. */}
|
|
3066
|
+
{/* Round 369 / Loop: vendor letter glyph picks up
|
|
3067
|
+
fontWeight 600 (font-semibold). The glyph is the
|
|
3068
|
+
vendor identifier — the DATA the operator scans
|
|
3069
|
+
in this chip (A / O / 书 / C / G / ?). R333 set
|
|
3070
|
+
the count suffix `:N` to text-gray-400 + tabular-
|
|
3071
|
+
nums and (via parent inheritance) fw 500. Pre-
|
|
3072
|
+
R369 the LETTER also inherited fw 500 from the
|
|
3073
|
+
chip's font-medium — letter and count read at
|
|
3074
|
+
the same weight, contradicting the data-vs-label
|
|
3075
|
+
hierarchy the rest of the chip-row already speaks.
|
|
3076
|
+
R369 lifts the letter to fw 600 so the chip now
|
|
3077
|
+
reads as the same two-tier pattern R362 closed
|
|
3078
|
+
on the working / online / active-links chips:
|
|
3079
|
+
chip digit/letter fw 600 (data)
|
|
3080
|
+
chip unit/count fw 500 (label)
|
|
3081
|
+
Sibling treatment to R362 — extends the R333-R341
|
|
3082
|
+
chip-internal-hierarchy arc to the vendor-letter
|
|
3083
|
+
chip surface (9th surface family). R354 transform-
|
|
3084
|
+
scale-on-hover + R88 canvas-dim-others + R202
|
|
3085
|
+
chip bg color-mix all preserved on the same span.
|
|
3086
|
+
data-vendor-letter-glyph-font-weight attr exposes
|
|
3087
|
+
the value for tests. */}
|
|
3088
|
+
<span
|
|
3089
|
+
data-vendor-letter-glyph={v.initial}
|
|
3090
|
+
data-vendor-letter-glyph-hover={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
3091
|
+
data-vendor-letter-glyph-font-weight="600"
|
|
3092
|
+
style={{
|
|
3093
|
+
color: v.color,
|
|
3094
|
+
display: 'inline-block',
|
|
3095
|
+
fontWeight: 600,
|
|
3096
|
+
transform: hoveredVendor === v.initial ? 'scale(1.1)' : 'scale(1)',
|
|
3097
|
+
transformOrigin: 'center',
|
|
3098
|
+
transition: 'transform 200ms ease-out',
|
|
3099
|
+
}}
|
|
3100
|
+
>{v.initial}</span>
|
|
2778
3101
|
{/* Round 333 / Loop: vendor count suffix `:{N}` joins
|
|
2779
3102
|
the R317 subordinate-text-lift family (gray-500 →
|
|
2780
3103
|
gray-400) plus picks up tabular-nums for digit
|
|
@@ -2787,8 +3110,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2787
3110
|
reads it as "deliberate subordinate metadata"
|
|
2788
3111
|
rather than near-invisible chrome. data-vendor-
|
|
2789
3112
|
letter-count exposes the span for tests. */}
|
|
3113
|
+
{/* R417: count suffix opacity-70 + group-hover:
|
|
3114
|
+
opacity-100 brightens on chip hover. Inner-span
|
|
3115
|
+
hover-brighten family (3rd anchor) — sibling to
|
|
3116
|
+
R355 filter pill prefix/suffix and R414 chip-row
|
|
3117
|
+
unit. Effective shade at rest: text-gray-400 ×
|
|
3118
|
+
70 % alpha; on hover: full gray-400. The label-
|
|
3119
|
+
tier-vs-glyph differentiation persists on hover
|
|
3120
|
+
since the glyph (R369 fw=600) stays at full
|
|
3121
|
+
opacity. R333 :{count} format preserved. */}
|
|
2790
3122
|
<span
|
|
2791
|
-
className="text-gray-400 tabular-nums"
|
|
3123
|
+
className="text-gray-400 tabular-nums opacity-70 transition-opacity duration-200 group-hover:opacity-100"
|
|
2792
3124
|
data-vendor-letter-count-suffix
|
|
2793
3125
|
>:{v.count}</span>
|
|
2794
3126
|
</span>
|
|
@@ -2876,11 +3208,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2876
3208
|
(third chip in the row — matches working + online
|
|
2877
3209
|
chip treatment so all three digits in the chip row
|
|
2878
3210
|
stay width-stable across counter crossings). */
|
|
2879
|
-
|
|
3211
|
+
/* Round 399 / Loop: active-links chip closes the 3-chip
|
|
3212
|
+
chip-row by extending R398's hover translateY(-1px)
|
|
3213
|
+
lift onto the third (rightmost) chip. The R398 family
|
|
3214
|
+
already covered working + online chips on the
|
|
3215
|
+
clickable variant; R399 adds the same gate (isInter-
|
|
3216
|
+
active = flowLinks.length > 0) so empty active-links
|
|
3217
|
+
stays planted at R206's opacity-50 receded paint.
|
|
3218
|
+
transition-transform + ease-out + transform-gpu join
|
|
3219
|
+
the inline transition list (different property axes
|
|
3220
|
+
compose cleanly: inline handles color/bg/border/
|
|
3221
|
+
opacity, className handles transform).
|
|
3222
|
+
Gesture-vocabulary table (post-R399 — now complete
|
|
3223
|
+
across the chip-row):
|
|
3224
|
+
working chip -1 px (R398)
|
|
3225
|
+
online chip -1 px (R398)
|
|
3226
|
+
active-links chip -1 px (R399, this round)
|
|
3227
|
+
filter pin pills -1 px (R397)
|
|
3228
|
+
recent-signal row -1 px (R143)
|
|
3229
|
+
legend row -1 px (R144)
|
|
3230
|
+
Every interactive chip in TopoGraph lifts on hover.
|
|
3231
|
+
data-chip-hover-lift attr exposes the lift surface
|
|
3232
|
+
state ('true' clickable, 'false' empty) for tests. */
|
|
3233
|
+
// R414: `group` parent + inner unit span group-hover-brighten — see working chip above.
|
|
3234
|
+
className={`group tabular-nums font-medium hidden sm:inline px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-transform duration-200 ease-out transform-gpu ${
|
|
2880
3235
|
isInteractive
|
|
2881
|
-
? 'bg-gray-500/10 text-gray-400 border-gray-500/20 hover:bg-cyan-500/10 hover:text-cyan-200 hover:border-cyan-500/30'
|
|
3236
|
+
? 'bg-gray-500/10 text-gray-400 border-gray-500/20 hover:bg-cyan-500/10 hover:text-cyan-200 hover:border-cyan-500/30 hover:-translate-y-px'
|
|
2882
3237
|
: 'bg-gray-500/10 text-gray-400 border-gray-500/20'
|
|
2883
3238
|
}`}
|
|
3239
|
+
data-chip-hover-lift={isInteractive ? 'true' : 'false'}
|
|
3240
|
+
data-chip-group-hover-brighten="true"
|
|
2884
3241
|
data-active-links-chip
|
|
2885
3242
|
data-active-links-flow-count={flowLinks.length}
|
|
2886
3243
|
data-active-links-clickable={isInteractive ? 'true' : 'false'}
|
|
@@ -2908,7 +3265,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2908
3265
|
the 5th chip surface in the R333/R335/R336/R337
|
|
2909
3266
|
chip-internal-hierarchy arc. data-active-links-
|
|
2910
3267
|
chip-unit exposes the unit span for tests. */}
|
|
2911
|
-
{
|
|
3268
|
+
{/* R362 sibling — active-links chip digit gains font-semibold. */}
|
|
3269
|
+
<span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
|
|
2912
3270
|
{rel ? (() => {
|
|
2913
3271
|
// Round 161 / Loop: extend R160's recency-pip
|
|
2914
3272
|
// vocabulary up one scope — from per-flow row to
|
|
@@ -2933,8 +3291,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2933
3291
|
const alpha = ageSec <= 30
|
|
2934
3292
|
? 1
|
|
2935
3293
|
: ageSec <= 300
|
|
2936
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
2937
|
-
: 0.25
|
|
3294
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
3295
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
2938
3296
|
// Cyan dark / teal light to match palette legendAccent.
|
|
2939
3297
|
const dotColor = isLight
|
|
2940
3298
|
? `rgba(13, 148, 136, ${alpha.toFixed(2)})`
|
|
@@ -2951,7 +3309,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2951
3309
|
// color: dotColor — the lift only affects the trailing
|
|
2952
3310
|
// literal "last {rel}" text.
|
|
2953
3311
|
return (
|
|
2954
|
-
|
|
3312
|
+
// Round 357 / Loop: active-links chip freshness
|
|
3313
|
+
// suffix wrapper picks up `tabular-nums` for digit
|
|
3314
|
+
// width-lock. Pre-R357 the literal "last {rel}"
|
|
3315
|
+
// text (e.g. "last 5s ago", "last 10s ago",
|
|
3316
|
+
// "last 1m ago") had natural-figure digits — the
|
|
3317
|
+
// freshness ticker updates every second, so the
|
|
3318
|
+
// 9→10 boundary on the seconds counter and the
|
|
3319
|
+
// 59→60s → 1m flip both jittered ~1-2 px of glyph
|
|
3320
|
+
// width which propagated through the chip-row's
|
|
3321
|
+
// inline-flex layout, nudging the freshness DOT
|
|
3322
|
+
// and the chip's left edge. Tabular-nums on the
|
|
3323
|
+
// wrapper applies to all descendant digits only
|
|
3324
|
+
// (letters render at natural widths) so the
|
|
3325
|
+
// ticker stays planted across every count cross.
|
|
3326
|
+
// Joins the R224-R232 info-density tabular-nums
|
|
3327
|
+
// sweep at the chip-row freshness scope. Pure
|
|
3328
|
+
// paint-level change, no geometry shift on rest.
|
|
3329
|
+
// The R342 text-gray-400 lift + R161 dot freshness
|
|
3330
|
+
// alpha ramp + R317 subordinate-text-lift family
|
|
3331
|
+
// all preserved. data-active-links-freshness-
|
|
3332
|
+
// wrapper attr exposes the wrapper for tests.
|
|
3333
|
+
<span className="text-gray-400 tabular-nums" data-active-links-freshness-wrapper>
|
|
2955
3334
|
<span
|
|
2956
3335
|
data-active-links-freshness-dot
|
|
2957
3336
|
data-active-links-freshness-alpha={alpha.toFixed(2)}
|
|
@@ -3615,19 +3994,121 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3615
3994
|
active surfaces the activity state for test probes
|
|
3616
3995
|
(active spokes don't carry the bucket/dur attrs so
|
|
3617
3996
|
they need their own data anchor). */
|
|
3997
|
+
// Round 382 / Loop: hub-spoke path picks up
|
|
3998
|
+
// strokeLinecap='round'. Sibling polish to R378 flow-
|
|
3999
|
+
// rail dashes + R380 group box dashes — three dashed-
|
|
4000
|
+
// stroke surfaces now share 'round' linecap:
|
|
4001
|
+
// R378 flow-rail '2 12' -> soft 3-px pills
|
|
4002
|
+
// R380 group box '6 6' -> soft 7.5-px pills
|
|
4003
|
+
// R382 hub spoke '6 14' -> soft 7-px pills (this round)
|
|
4004
|
+
// For idle spokes (dashed at sw=1), each 6-px dash gains
|
|
4005
|
+
// 0.5-px round caps and reads as a soft pill instead of
|
|
4006
|
+
// a sharp 6 x 1 rectangle. Active spokes (solid, no
|
|
4007
|
+
// dasharray) have caps mostly hidden by the hub center +
|
|
4008
|
+
// node radius. Geometry-safe; paint-only. R51 sentinel
|
|
4009
|
+
// strokeWidth 1.5/3 untouched (idle=1, active=2). data-
|
|
4010
|
+
// topo-hub-spoke-linecap attr exposes the value for tests.
|
|
4011
|
+
// Round 419 / Loop: hub-spoke idle opacity 0.45 → 0.50.
|
|
4012
|
+
// Stale-state legibility lift family 9th anchor — pairs
|
|
4013
|
+
// with R391 (active 0.7 → 0.8) and R415 (active sw 2 →
|
|
4014
|
+
// 2.25) so the same spoke path is now polished on BOTH
|
|
4015
|
+
// active AND idle tiers. Pre-R419 idle spokes painted
|
|
4016
|
+
// at α=0.45 with R46 anet-topo-spoke-flow dashed
|
|
4017
|
+
// animation; the dashed pulses sat at the "background
|
|
4018
|
+
// chatter" floor — visible but understated. R419
|
|
4019
|
+
// lifts to 0.50 so idle spokes read more confidently
|
|
4020
|
+
// while the active/idle contrast ratio stays clear
|
|
4021
|
+
// (0.8/0.50 = 1.6× vs prior 0.8/0.45 = 1.78×; still
|
|
4022
|
+
// a sharp two-tier distinction).
|
|
4023
|
+
// Stale-state legibility lift family (9 anchors now):
|
|
4024
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
4025
|
+
// R358 freshness floor 0.25 → 0.30
|
|
4026
|
+
// R372 minimap offline-dot 0.5 → 0.6
|
|
4027
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
4028
|
+
// R405 hub-halo light trough 0.32 → 0.34
|
|
4029
|
+
// R406 edge freshness floor 0.35 → 0.40
|
|
4030
|
+
// R407 node halo offline opacity (cyber + light)
|
|
4031
|
+
// R413 active-node pulse trough (cyber + light)
|
|
4032
|
+
// R419 hub-spoke idle opacity 0.45 → 0.50 (this round)
|
|
4033
|
+
// data-topo-hub-spoke-opacity attr (R391) updates to
|
|
4034
|
+
// surface the resolved per-state value.
|
|
4035
|
+
//
|
|
4036
|
+
// Round 415 / Loop: hub-spoke active strokeWidth 2 → 2.25.
|
|
4037
|
+
// Pairs with R391 (active opacity 0.7 → 0.8) so the same
|
|
4038
|
+
// active-state path lifts BOTH stroke weight AND opacity
|
|
4039
|
+
// in concert. Pre-R415 active strokes sat at sw=2 — clear
|
|
4040
|
+
// step over idle sw=1, but a touch lighter than the
|
|
4041
|
+
// weight family's other "active" indicators (R385 hub
|
|
4042
|
+
// hover-ring sw=1.75 / R402 legend pin-ring sw=1.75 /
|
|
4043
|
+
// R367 edge-badge rest sw=1.25). R415 bumps to 2.25 so
|
|
4044
|
+
// the active spoke reads with proportional weight to its
|
|
4045
|
+
// role — the line connecting the focal point to the
|
|
4046
|
+
// active node deserves the heaviest active stroke in the
|
|
4047
|
+
// family (after pin/hot edge-badge sw=2). Stays clear of
|
|
4048
|
+
// R51 sentinels (1.5 / 3) at 2.25.
|
|
4049
|
+
// Visual-weight bump family (14 anchors now):
|
|
4050
|
+
// R287 minimap viewport stroke 1 → 1.5
|
|
4051
|
+
// R295 legend swatch radius 5.5 → 6
|
|
4052
|
+
// R359 recent-row pip radius 1.6 → 1.8
|
|
4053
|
+
// R360 hub digit fontSize 11 → 12
|
|
4054
|
+
// R361 edge-badge digit fontSize 10 → 11
|
|
4055
|
+
// R365 hub-highlight radius 5 → 5.5
|
|
4056
|
+
// R367 edge-badge rest stroke 1 → 1.25
|
|
4057
|
+
// R374 pressure-bar height 1.5 → 2
|
|
4058
|
+
// R383 recent-row pip radius 1.8 → 2.0
|
|
4059
|
+
// R384 minimap online dot 1.7 → 1.9
|
|
4060
|
+
// R385 hub hover-ring stroke 1.5 → 1.75
|
|
4061
|
+
// R402 legend pin-ring stroke 1.5 → 1.75
|
|
4062
|
+
// R408 hub-halo radius 18 → 20
|
|
4063
|
+
// R415 hub-spoke active stroke 2 → 2.25 (this round)
|
|
4064
|
+
// R382 strokeLinecap='round' + R391 opacity 0.45/0.8 +
|
|
4065
|
+
// R51-safe idle sw=1 all preserved. 250ms transition
|
|
4066
|
+
// list already covers stroke-width — the new tier eases
|
|
4067
|
+
// naturally. data-topo-hub-spoke-stroke-width-active
|
|
4068
|
+
// attr surfaces the active value for tests.
|
|
4069
|
+
//
|
|
4070
|
+
// Round 391 / Loop: hub-spoke active opacity 0.7 → 0.8.
|
|
4071
|
+
// Pre-R391 active spokes (the spoke connecting the hub
|
|
4072
|
+
// to the currently-active alias — hovered or pinned)
|
|
4073
|
+
// lifted opacity from rest 0.45 to active 0.7 — a clear
|
|
4074
|
+
// step but slightly understated against the canvas
|
|
4075
|
+
// chrome. R391 lifts active to 0.8 so the "this spoke
|
|
4076
|
+
// connects to your active node" signal reads with
|
|
4077
|
+
// matching weight to the R370 hub hover-ring opacity
|
|
4078
|
+
// (0.7 → 0.8 cyber) — paired canvas signals now share
|
|
4079
|
+
// the same active-state alpha (0.8) so when a user
|
|
4080
|
+
// hovers a node, both the spoke and the hub-ring lift
|
|
4081
|
+
// to identical opacity. Rest 0.45 invariant preserved.
|
|
4082
|
+
// Theme-consistency / canvas-presence polish family
|
|
4083
|
+
// (6th anchor):
|
|
4084
|
+
// R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
4085
|
+
// R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
4086
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
4087
|
+
// R386 hub-highlight idle opacity 0.9 → 0.95
|
|
4088
|
+
// R387 hover-detail panel opacity 0.94 → 0.97 cyber
|
|
4089
|
+
// R391 hub-spoke active opacity 0.7 → 0.8 (this round)
|
|
4090
|
+
// Idle path (45% alpha + dashed flow animation) entirely
|
|
4091
|
+
// untouched — R391 is an active-state-only lift.
|
|
4092
|
+
// data-topo-hub-spoke-opacity attr exposes the resolved
|
|
4093
|
+
// value for tests. R382 strokeLinecap='round' + R51
|
|
4094
|
+
// sentinel-safe sw (1 idle / 2 active) preserved.
|
|
3618
4095
|
return (
|
|
3619
4096
|
<path
|
|
3620
4097
|
key={`hub-${session.alias}`}
|
|
3621
4098
|
d={path}
|
|
3622
4099
|
fill="none"
|
|
3623
4100
|
stroke={isActiveSpoke ? pal.spokeStroke.active : pal.spokeStroke.idle}
|
|
3624
|
-
strokeWidth={isActiveSpoke ? 2 : 1}
|
|
4101
|
+
strokeWidth={isActiveSpoke ? 2.25 : 1}
|
|
3625
4102
|
strokeDasharray={isActiveSpoke ? 'none' : '6 14'}
|
|
3626
|
-
|
|
4103
|
+
strokeLinecap="round"
|
|
4104
|
+
opacity={isActiveSpoke ? 0.8 : 0.50}
|
|
3627
4105
|
className={isActiveSpoke ? undefined : 'anet-topo-spoke-flow'}
|
|
3628
4106
|
data-topo-spoke-bucket={isActiveSpoke ? undefined : busy}
|
|
3629
4107
|
data-topo-spoke-dur={isActiveSpoke ? undefined : spokeDur}
|
|
3630
4108
|
data-topo-hub-spoke-active={isActiveSpoke ? 'true' : 'false'}
|
|
4109
|
+
data-topo-hub-spoke-opacity={isActiveSpoke ? 0.8 : 0.50}
|
|
4110
|
+
data-topo-hub-spoke-stroke-width-active="2.25"
|
|
4111
|
+
data-topo-hub-spoke-linecap="round"
|
|
3631
4112
|
style={{
|
|
3632
4113
|
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
|
|
3633
4114
|
...(isActiveSpoke ? {} : {
|
|
@@ -3719,7 +4200,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3719
4200
|
stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
|
|
3720
4201
|
strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
|
|
3721
4202
|
strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
|
|
4203
|
+
/* Round 380 / Loop: cluster box stroke gets round
|
|
4204
|
+
linecap + round linejoin. Sibling SVG stroke-
|
|
4205
|
+
softening polish to R378 flow-rail linecap + R379
|
|
4206
|
+
minimap viewport linejoin — extends the family to
|
|
4207
|
+
the group cluster boundary box (grid layout only):
|
|
4208
|
+
R288 chrome icons strokeLinecap='round'
|
|
4209
|
+
R378 flow-rail dashes strokeLinecap='round'
|
|
4210
|
+
R380 group box dashes strokeLinecap='round' (this round)
|
|
4211
|
+
R379 viewport rect strokeLinejoin='round'
|
|
4212
|
+
R380 group box corners strokeLinejoin='round' (this round)
|
|
4213
|
+
Linecap rounds the R85 '6 6' marching-ants dash
|
|
4214
|
+
pills at rest — each 6 px dash gains a ~0.75 px
|
|
4215
|
+
round cap (sw=1.5 idle), reading as soft pills
|
|
4216
|
+
instead of sharp 6 × 1.5 px rectangles. Linejoin
|
|
4217
|
+
rounds the 4 sharp 90° corners (any state — solid
|
|
4218
|
+
or dashed); at sw=1.5 the join arc is ~0.75 px,
|
|
4219
|
+
matching R379 viewport vocabulary. Geometry-safe:
|
|
4220
|
+
stroke-* properties only affect paint, not bbox.
|
|
4221
|
+
The R51 sentinel 1.5/3 strokeWidth values stay
|
|
4222
|
+
intact (the overlap probe is gated to g[data-
|
|
4223
|
+
node], so this cluster-internal rect is invisible
|
|
4224
|
+
to it anyway). data-group-box-linecap + -linejoin
|
|
4225
|
+
attrs expose the values for tests. */
|
|
4226
|
+
strokeLinecap="round"
|
|
4227
|
+
strokeLinejoin="round"
|
|
3722
4228
|
data-group-box-pinned={isPinned ? 'true' : 'false'}
|
|
4229
|
+
data-group-box-linecap="round"
|
|
4230
|
+
data-group-box-linejoin="round"
|
|
3723
4231
|
// R85: ambient "marching ants" drift on the perimeter
|
|
3724
4232
|
// when this group has at least one working member, and
|
|
3725
4233
|
// neither pin nor hover is active (those treatments
|
|
@@ -3919,12 +4427,33 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3919
4427
|
lives at a fixed dx=6 offset from the name, so a
|
|
3920
4428
|
digit-width jitter at 9→10 used to shift the
|
|
3921
4429
|
whole count visibly. Tabular locks it. */}
|
|
4430
|
+
{/* Round 366 / Loop: group label member-count tspan
|
|
4431
|
+
fontWeight 400 → 500. Sibling polish to R363
|
|
4432
|
+
recent-row alias text fw 400 → 500 + R364 legend-
|
|
4433
|
+
row label fw 400 → 500 — closes the per-row 'count
|
|
4434
|
+
is fw 500 against label-tier fw 700' pattern at
|
|
4435
|
+
the group-label scope (grid layout cluster mark).
|
|
4436
|
+
Hierarchy snapshot post-R366 across all 3 row
|
|
4437
|
+
surfaces:
|
|
4438
|
+
recent count(hot/cold) fw 700/600 (R320)
|
|
4439
|
+
recent alias fw 500 (R363)
|
|
4440
|
+
legend count fw 600 (R309)
|
|
4441
|
+
legend label fw 500 (R364)
|
|
4442
|
+
group name fw 700 (legacy)
|
|
4443
|
+
group count fw 500 (R366, this round)
|
|
4444
|
+
Monospace family + R225 tabular-nums lock digit
|
|
4445
|
+
width, so the fw bump is paint-only — bbox
|
|
4446
|
+
unchanged + overlap-test invariants hold. R229
|
|
4447
|
+
fill-inherit from parent label (hover-deepen-own-
|
|
4448
|
+
hue family) preserved. data-group-label-count-
|
|
4449
|
+
font-weight attr exposes the value for tests. */}
|
|
3922
4450
|
<tspan
|
|
3923
4451
|
dx="6"
|
|
3924
4452
|
fontSize="11"
|
|
3925
|
-
fontWeight="
|
|
4453
|
+
fontWeight="500"
|
|
3926
4454
|
data-group-label-count={box.key}
|
|
3927
4455
|
data-group-label-count-value={box.count}
|
|
4456
|
+
data-group-label-count-font-weight="500"
|
|
3928
4457
|
style={{ fontVariantNumeric: 'tabular-nums' }}
|
|
3929
4458
|
>· {box.count}</tspan>
|
|
3930
4459
|
{/* Round 58 / Loop: status mix pip strip. Compact text-
|
|
@@ -4055,13 +4584,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4055
4584
|
// synchronised per-edge animation set.
|
|
4056
4585
|
const stagger = (index * 0.37) % duration;
|
|
4057
4586
|
// Round 10 / Loop: freshness fade. An edge that fired ≤30s ago
|
|
4058
|
-
// stays at full intensity; over 5 minutes it decays to
|
|
4059
|
-
// Surfaces "what's happening now" vs background
|
|
4060
|
-
// hiding old flow entirely (some context
|
|
4061
|
-
// captured at useMemo-recompute time
|
|
4062
|
-
// — accuracy is within the poll
|
|
4587
|
+
// stays at full intensity; over 5 minutes it decays to a
|
|
4588
|
+
// floor. Surfaces "what's happening now" vs background
|
|
4589
|
+
// chatter without hiding old flow entirely (some context
|
|
4590
|
+
// still useful). `now` captured at useMemo-recompute time
|
|
4591
|
+
// (every 5s message refresh) — accuracy is within the poll
|
|
4592
|
+
// interval, plenty.
|
|
4593
|
+
//
|
|
4594
|
+
// Round 406 / Loop: edge freshness fade floor 0.35 → 0.40.
|
|
4595
|
+
// Stale-state legibility lift family (6th anchor) — pre-
|
|
4596
|
+
// R406 edges older than 5 minutes faded to α=0.35 (a 65 %
|
|
4597
|
+
// dim against full intensity). The decay rate is the same
|
|
4598
|
+
// 1 - ageMs/300s curve; only the FLOOR shifts. Sibling
|
|
4599
|
+
// treatment to:
|
|
4600
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
4601
|
+
// R358 freshness ramp floor 0.25 → 0.30
|
|
4602
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
4603
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
4604
|
+
// R405 hub-halo light trough 0.32 → 0.34
|
|
4605
|
+
// R406 edge freshness floor 0.35 → 0.40 (this round)
|
|
4606
|
+
// Edges past 5min now sit at 40% intensity instead of 35%
|
|
4607
|
+
// — they still recede against fresh edges but read
|
|
4608
|
+
// legibly enough to convey "this conversation existed".
|
|
4609
|
+
// ageMs threshold for the 5-minute decay unchanged; the
|
|
4610
|
+
// decay curve shape (linear) unchanged. The visual delta
|
|
4611
|
+
// is most pronounced on edges between 5-60 minutes old —
|
|
4612
|
+
// where the floor was binding pre-R406.
|
|
4063
4613
|
const ageMs = link.last_at ? Math.max(0, Date.now() - Date.parse(link.last_at)) : 0;
|
|
4064
|
-
const fresh = Math.max(0.
|
|
4614
|
+
const fresh = Math.max(0.40, 1 - ageMs / (5 * 60 * 1000));
|
|
4065
4615
|
// Round 16 arrow-tier binning — keep `topo-arrow` as the
|
|
4066
4616
|
// medium tier id so the legend swatch picks it up unchanged.
|
|
4067
4617
|
const arrowId = link.count <= 2 ? 'topo-arrow-s'
|
|
@@ -4213,20 +4763,56 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4213
4763
|
online chips to splice in additional properties
|
|
4214
4764
|
beside Tailwind's). data-edge-flow-rail attr
|
|
4215
4765
|
surfaces the path for test introspection. */}
|
|
4766
|
+
{/* Round 381 / Loop: edge visible flow path picks up
|
|
4767
|
+
strokeLinecap='round'. Sibling polish to R378
|
|
4768
|
+
flow-rail dashed linecap — both flow-element paths
|
|
4769
|
+
(visible primary + dashed secondary rail) now share
|
|
4770
|
+
'round' linecap vocabulary. The visible path runs
|
|
4771
|
+
source-node → dest-node as one continuous line, so
|
|
4772
|
+
the dest-end is covered by the markerEnd arrow and
|
|
4773
|
+
the source-end usually sits inside the source-node
|
|
4774
|
+
circle. At certain alignments (post-zoom, post-
|
|
4775
|
+
layout-switch transitions), the source-end may peek
|
|
4776
|
+
out by a fraction of a px past the node edge —
|
|
4777
|
+
round caps render that overshoot as a smooth half-
|
|
4778
|
+
disc instead of a sharp rectangle. Pure paint
|
|
4779
|
+
refinement, geometry-safe (bbox of the stroke
|
|
4780
|
+
unchanged at the join with the arrow marker).
|
|
4781
|
+
data-edge-visible-linecap attr exposes the value
|
|
4782
|
+
for tests. */}
|
|
4216
4783
|
<path
|
|
4217
4784
|
d={path}
|
|
4218
4785
|
fill="none"
|
|
4219
4786
|
stroke={pal.flowEdge}
|
|
4220
4787
|
strokeWidth={renderWidth}
|
|
4788
|
+
strokeLinecap="round"
|
|
4221
4789
|
opacity={Math.min(1, (isLight ? 0.22 : 0.28) * fresh * edgeOpacityMul)}
|
|
4222
4790
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4223
4791
|
markerEnd={`url(#${arrowId})`}
|
|
4224
4792
|
data-edge-visible={link.key}
|
|
4793
|
+
data-edge-visible-linecap="round"
|
|
4225
4794
|
style={{
|
|
4226
4795
|
pointerEvents: 'none',
|
|
4227
4796
|
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
|
|
4228
4797
|
}}
|
|
4229
4798
|
/>
|
|
4799
|
+
{/* Round 378 / Loop: edge flow-path dashed-rail picks
|
|
4800
|
+
up strokeLinecap='round'. Pre-R378 the rail
|
|
4801
|
+
rendered '2 12' dashes as sharp 1×2 rectangles
|
|
4802
|
+
against the canvas backdrop; default 'butt' caps
|
|
4803
|
+
leave dash ends square. R378 rounds each cap so
|
|
4804
|
+
the dashes read as soft 3-px pills (1 px stroke +
|
|
4805
|
+
0.5 px round cap each end). The flow-rail is the
|
|
4806
|
+
secondary 'invisible-spine' line that gives the
|
|
4807
|
+
R57 spoke flow a directional rail to slide along
|
|
4808
|
+
— rounding the dashes softens its presence
|
|
4809
|
+
against the primary visible flow path (R245 has
|
|
4810
|
+
no strokeLinecap so it inherits 'butt' on a
|
|
4811
|
+
continuous line, irrelevant). Geometry-safe:
|
|
4812
|
+
round caps only widen the visible dash; the
|
|
4813
|
+
bbox of the path is unchanged so overlap-test
|
|
4814
|
+
invariants hold. data-edge-flow-rail-linecap
|
|
4815
|
+
attr exposes the value for tests. */}
|
|
4230
4816
|
<path
|
|
4231
4817
|
id={`flow-path-${index}`}
|
|
4232
4818
|
d={path}
|
|
@@ -4234,8 +4820,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4234
4820
|
stroke={pal.flowPath}
|
|
4235
4821
|
strokeWidth="1"
|
|
4236
4822
|
strokeDasharray="2 12"
|
|
4823
|
+
strokeLinecap="round"
|
|
4237
4824
|
opacity={Math.min(1, (isLight ? 0.4 : 0.75) * fresh * edgeOpacityMul)}
|
|
4238
4825
|
data-edge-flow-rail={link.key}
|
|
4826
|
+
data-edge-flow-rail-linecap="round"
|
|
4239
4827
|
style={{ transition: 'opacity 300ms ease-out, stroke 300ms ease-out' }}
|
|
4240
4828
|
/>
|
|
4241
4829
|
{!reducedMotion && (
|
|
@@ -4251,12 +4839,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4251
4839
|
multiple). Edge order is stable (sorted by recent
|
|
4252
4840
|
activity), so the offsets feel calm rather than
|
|
4253
4841
|
reshuffling each refresh. */
|
|
4842
|
+
/* Round 422 / Loop: edge flow particle radius 4 → 4.5.
|
|
4843
|
+
Visual-weight bump family (15th anchor) — particles
|
|
4844
|
+
riding along the edge animateMotion path get +0.5px
|
|
4845
|
+
radius lift, increasing visual area by ~27%
|
|
4846
|
+
(π·4.5² / π·4² = 1.27). Sibling magnitude to R383
|
|
4847
|
+
recent-row pip 1.8 → 2.0 (+25% area), R384 minimap
|
|
4848
|
+
online dot 1.7 → 1.9 (+25% area). R251 fill +
|
|
4849
|
+
R252 transitions + R103 phase-stagger animateMotion
|
|
4850
|
+
all preserved. data-edge-particle-radius attr
|
|
4851
|
+
exposes the value for tests. */
|
|
4254
4852
|
<circle
|
|
4255
|
-
r="4"
|
|
4853
|
+
r="4.5"
|
|
4256
4854
|
fill={pal.flowParticle}
|
|
4257
4855
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4258
4856
|
opacity={Math.min(1, fresh * edgeOpacityMul)}
|
|
4259
4857
|
data-edge-particle={link.key}
|
|
4858
|
+
data-edge-particle-radius="4.5"
|
|
4260
4859
|
/* Round 252 / Loop: particle picks up fill +
|
|
4261
4860
|
opacity transition for theme-toggle smoothing.
|
|
4262
4861
|
Pre-R252 pal.flowParticle (cyber #fef08a yellow
|
|
@@ -4600,14 +5199,137 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4600
5199
|
R251 closes the per-edge surface theme-toggle
|
|
4601
5200
|
smoothness — every theme-driven property on
|
|
4602
5201
|
every edge element now eases under cyber↔light. */}
|
|
5202
|
+
{/* Round 367 / Loop: edge midpoint badge rest
|
|
5203
|
+
stroke-width 1 → 1.25. Sibling visual-weight
|
|
5204
|
+
bump family (7th canvas anchor now):
|
|
5205
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5206
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5207
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5208
|
+
R360 hub digit fontSize 11 → 12
|
|
5209
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
5210
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
5211
|
+
R367 edge-badge rest stroke 1 → 1.25 (this round)
|
|
5212
|
+
Cold edge badges gain ~25 % stroke presence
|
|
5213
|
+
(1.25/1.0 = 1.25). Stays clear of the R51
|
|
5214
|
+
overlap-test sentinel values (1.5 / 3 reserved
|
|
5215
|
+
for node strokes — the test selector is gated
|
|
5216
|
+
to g[data-node] ancestors so this edge-internal
|
|
5217
|
+
circle is invisible to that probe anyway, but
|
|
5218
|
+
1.25 is a safe non-sentinel value regardless).
|
|
5219
|
+
R188 transition list 'stroke-width 300ms ease-
|
|
5220
|
+
out' still smoothes the hot/pin flip — now
|
|
5221
|
+
1.25 → 2 instead of 1 → 2, same ease pace.
|
|
5222
|
+
data-edge-badge-stroke-width-rest exposes the
|
|
5223
|
+
new baseline for tests. */}
|
|
5224
|
+
{/* Round 371 / Loop: edge-badge cyber opacity 0.82
|
|
5225
|
+
→ 0.85. Sibling theme-consistency polish to R370
|
|
5226
|
+
hub hover-ring 0.7 → 0.8. R251 designed this
|
|
5227
|
+
badge with opacity 0.82 (cyber) / 0.95 (light)
|
|
5228
|
+
— 13 % delta. Cyber-theme dark bg needs more
|
|
5229
|
+
alpha to read as 'present'; R371 narrows the
|
|
5230
|
+
gap to 10 %, bringing the badge closer to light
|
|
5231
|
+
theme's 0.95 floor. Light stays at 0.95
|
|
5232
|
+
(already in the legibility band). data-edge-
|
|
5233
|
+
badge-opacity attr exposes the resolved value.
|
|
5234
|
+
Theme-consistency polish family:
|
|
5235
|
+
R246/R247 panel transition family
|
|
5236
|
+
R251 edge badge fill/opacity baseline
|
|
5237
|
+
R370 hub hover-ring cyber 0.7 → 0.8
|
|
5238
|
+
R371 edge badge cyber 0.82 → 0.85 (this round)
|
|
5239
|
+
R164 r=9/10.5 hover-lift + R188/R251 transition
|
|
5240
|
+
list + R367 strokeWidth=1.25 cold rest preserved. */}
|
|
5241
|
+
{/* Round 394 / Loop: edge-badge gains a hover
|
|
5242
|
+
strokeWidth tier (1.5) between cold rest
|
|
5243
|
+
(R367 1.25) and pin/hot (2). Pre-R394 the
|
|
5244
|
+
badge lifted only its radius on hover (R164
|
|
5245
|
+
9 → 10.5); the stroke stayed at cold rest
|
|
5246
|
+
1.25 unless pin/hot kicked in, so a plain
|
|
5247
|
+
hover felt half-lifted — geometry expanded
|
|
5248
|
+
while the contour stayed thin. R394 adds
|
|
5249
|
+
strokeWidth=1.5 on isHoveredEdge so hover
|
|
5250
|
+
now lifts both r AND stroke in concert —
|
|
5251
|
+
same pattern R385 used for the hub hover-
|
|
5252
|
+
ring (1.5 → 1.75) where the ring's three
|
|
5253
|
+
hover axes (r grow / opacity fade-in /
|
|
5254
|
+
stroke thicken) all rise together.
|
|
5255
|
+
Three-tier stroke hierarchy now:
|
|
5256
|
+
cold rest 1.25 (R367)
|
|
5257
|
+
hovered 1.5 (R394 — this round)
|
|
5258
|
+
pinned / hot 2.0 (R188)
|
|
5259
|
+
R51 sentinel concern: strokeWidth=1.5 is
|
|
5260
|
+
one of the two sentinels reserved for node
|
|
5261
|
+
detection, but the R51 selector is gated
|
|
5262
|
+
to `g[data-node]` ancestors so this edge-
|
|
5263
|
+
internal circle is invisible to the probe
|
|
5264
|
+
(same lesson R177 hub hover-ring + R367
|
|
5265
|
+
cold rest documented). 300ms strokeWidth
|
|
5266
|
+
transition already in the style list eases
|
|
5267
|
+
the new tier naturally. data-edge-badge-
|
|
5268
|
+
stroke-width-hover attr exposes the hover
|
|
5269
|
+
value for tests. */}
|
|
5270
|
+
{/* Round 395 / Loop: edge-badge gains a third
|
|
5271
|
+
hover axis — opacity 0.85 (cyber) / 0.95
|
|
5272
|
+
(light) → 1.0 on isHoveredEdge. Pre-R395
|
|
5273
|
+
hovering thickened the stroke (R394 1.25 →
|
|
5274
|
+
1.5) and grew the radius (R164 9 → 10.5)
|
|
5275
|
+
but the badge's translucency stayed put at
|
|
5276
|
+
R371's rest alpha (cyber 0.85 / light 0.95).
|
|
5277
|
+
R395 lifts hover to a clean 1.0 — fully
|
|
5278
|
+
opaque — so the hovered badge reads as
|
|
5279
|
+
"in focus" against the dim siblings.
|
|
5280
|
+
Three-axis hover-lift parity now complete:
|
|
5281
|
+
hub hover-ring (R177/R370/R385):
|
|
5282
|
+
r 14 → 17, opacity 0 → 0.8 cyber, sw 1.5 → 1.75
|
|
5283
|
+
edge badge (R164/R394/R395):
|
|
5284
|
+
r 9 → 10.5, sw 1.25 → 1.5, opacity → 1.0
|
|
5285
|
+
200ms opacity transition (already in the
|
|
5286
|
+
style list) eases the new axis naturally.
|
|
5287
|
+
R371 rest opacity (0.85 cyber / 0.95 light)
|
|
5288
|
+
preserved as the resting alpha — R395
|
|
5289
|
+
adds an isHoveredEdge override on top.
|
|
5290
|
+
data-edge-badge-opacity-hover attr exposes
|
|
5291
|
+
the hover value for tests. */}
|
|
5292
|
+
{/* Round 396 / Loop: extend the R395 opacity → 1.0
|
|
5293
|
+
lift to the pinned state. Pre-R396 the badge
|
|
5294
|
+
shared `r=10.5` on both hover AND pin (R164
|
|
5295
|
+
unified-lift) but R395's opacity lift fired
|
|
5296
|
+
ONLY on isHoveredEdge — pinned badges stayed
|
|
5297
|
+
at R371 rest alpha (cyber 0.85 / light 0.95).
|
|
5298
|
+
That left pin (sticky selection) reading
|
|
5299
|
+
softer than hover (transient preview), even
|
|
5300
|
+
though pin is the stronger commitment.
|
|
5301
|
+
R396 unifies hover + pin at opacity=1.0
|
|
5302
|
+
so the same data-edge-badge-lifted='true'
|
|
5303
|
+
surface uniformly carries full alpha. Pin
|
|
5304
|
+
stroke (R188 sw=2 + pal.legendHeadline color)
|
|
5305
|
+
continues to differentiate pin from hover —
|
|
5306
|
+
the opacity track now closes the lift parity.
|
|
5307
|
+
The new gate (isHoveredEdge || isPinned)
|
|
5308
|
+
mirrors the existing R164 r-lift gate, so
|
|
5309
|
+
the badge has a single "active state"
|
|
5310
|
+
signature across r + opacity.
|
|
5311
|
+
200ms opacity transition (already in style
|
|
5312
|
+
list) eases pin/unpin naturally. R371 rest
|
|
5313
|
+
opacity preserved as the resting alpha.
|
|
5314
|
+
data-edge-badge-opacity-hover renamed
|
|
5315
|
+
semantically to -active (covers hover+pin)
|
|
5316
|
+
via the new -opacity-active attr; the
|
|
5317
|
+
legacy -opacity-hover attr kept for R395
|
|
5318
|
+
test compatibility. */}
|
|
4603
5319
|
<circle
|
|
4604
5320
|
cx={badgeX} cy={badgeY}
|
|
4605
5321
|
r={isHoveredEdge || isPinned ? 10.5 : 9}
|
|
4606
5322
|
fill={pal.legendBox.fill}
|
|
4607
5323
|
stroke={isPinned ? pal.legendHeadline : isHot ? hotStroke : pal.flowEdge}
|
|
4608
|
-
strokeWidth={isPinned ? 2 : isHot ? 2 : 1}
|
|
4609
|
-
opacity={isLight ? 0.95 : 0.
|
|
5324
|
+
strokeWidth={isPinned ? 2 : isHot ? 2 : isHoveredEdge ? 1.5 : 1.25}
|
|
5325
|
+
opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
4610
5326
|
data-edge-badge-lifted={(isHoveredEdge || isPinned) ? 'true' : 'false'}
|
|
5327
|
+
data-edge-badge-stroke-width-rest="1.25"
|
|
5328
|
+
data-edge-badge-stroke-width-hover="1.5"
|
|
5329
|
+
data-edge-badge-opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
5330
|
+
data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
|
|
5331
|
+
data-edge-badge-opacity-hover="1"
|
|
5332
|
+
data-edge-badge-opacity-active="1"
|
|
4611
5333
|
style={{ transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out' }}
|
|
4612
5334
|
/>
|
|
4613
5335
|
{/* Round 224 / Loop: edge badge text gains the 4th
|
|
@@ -4646,16 +5368,61 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4646
5368
|
x={badgeX} y={badgeY + 3}
|
|
4647
5369
|
textAnchor="middle"
|
|
4648
5370
|
fill={pal.legendHeadline}
|
|
4649
|
-
|
|
5371
|
+
/* Round 361 / Loop: edge midpoint badge text
|
|
5372
|
+
fontSize 10 → 11. Sibling visual-weight bump
|
|
5373
|
+
to R360 hub digit 11 → 12. The badge digit
|
|
5374
|
+
is the per-edge equivalent of the hub digit
|
|
5375
|
+
— a high-information scalar (link.count) at
|
|
5376
|
+
a stable canvas position. Pre-R361 fontSize=
|
|
5377
|
+
10 + R220 letter-spacing 0.4 + R224 tabular-
|
|
5378
|
+
nums made the digit READABLE but small
|
|
5379
|
+
against the r=9 / 18-px badge envelope;
|
|
5380
|
+
fontSize=11 nudges the glyph ~10 % bigger
|
|
5381
|
+
(bbox ~7×10 px from ~6×9 px) so the count
|
|
5382
|
+
reads more cleanly at glance — still well
|
|
5383
|
+
inside the r=9 idle circle and the r=10.5
|
|
5384
|
+
hover/pin lift (R164). y=badgeY+3 empirical
|
|
5385
|
+
vertical centring kept (1px drift at the
|
|
5386
|
+
bumped size is below the noise floor in
|
|
5387
|
+
the on-curve flow path).
|
|
5388
|
+
Visual-weight bump family:
|
|
5389
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5390
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5391
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5392
|
+
R360 hub digit fontSize 11 → 12
|
|
5393
|
+
R361 edge-badge digit fontSize 10 → 11 (this round)
|
|
5394
|
+
data-edge-badge-text-font-size attr exposes
|
|
5395
|
+
the value for tests. R220 pin/hot letter-
|
|
5396
|
+
spacing tween + R224 tabular-nums + R188
|
|
5397
|
+
stroke-width pin/hot transitions all preserved. */
|
|
5398
|
+
fontSize="11"
|
|
4650
5399
|
fontFamily="monospace"
|
|
4651
|
-
fontWeight
|
|
5400
|
+
/* R426 — edge-badge digit fontWeight 700 → 800 on
|
|
5401
|
+
(isPinned || isHot). 4th anchor on the "data
|
|
5402
|
+
tightens under attention" typographic-weight
|
|
5403
|
+
pattern:
|
|
5404
|
+
R416 chip-digit (chip-row hover trigger)
|
|
5405
|
+
R424 panel-digit (panel hover trigger)
|
|
5406
|
+
R425 hub-digit (hub hover trigger)
|
|
5407
|
+
R426 edge-badge-digit (pin/hot trigger) ← this
|
|
5408
|
+
The badge digit is the per-edge equivalent of
|
|
5409
|
+
the hub digit (R361 sibling fontSize bump
|
|
5410
|
+
reasoning). Stacks with R188 stroke-width pin/
|
|
5411
|
+
hot lift (1.25 → 1.5) + R220 letter-spacing pin/
|
|
5412
|
+
hot tween (0 → 0.4) for a 3-axis pin/hot signa-
|
|
5413
|
+
ture (edge structure + text spacing + text
|
|
5414
|
+
weight). The R408 transition is letter-spacing
|
|
5415
|
+
300ms; R426 appends font-weight 300ms so the
|
|
5416
|
+
weight bump co-eases under the same cadence. */
|
|
5417
|
+
fontWeight={(isPinned || isHot) ? '800' : '700'}
|
|
4652
5418
|
data-edge-badge-text={link.key}
|
|
4653
5419
|
data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
|
|
5420
|
+
data-edge-badge-text-font-size="11"
|
|
4654
5421
|
style={{
|
|
4655
5422
|
pointerEvents: 'none',
|
|
4656
5423
|
fontVariantNumeric: 'tabular-nums',
|
|
4657
5424
|
letterSpacing: (isPinned || isHot) ? '0.4px' : '0px',
|
|
4658
|
-
transition: 'letter-spacing 300ms ease-out',
|
|
5425
|
+
transition: 'letter-spacing 300ms ease-out, font-weight 300ms ease-out',
|
|
4659
5426
|
}}
|
|
4660
5427
|
>{link.count}</text>
|
|
4661
5428
|
</g>
|
|
@@ -4766,19 +5533,68 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4766
5533
|
: workingCount <= 2 ? 1
|
|
4767
5534
|
: workingCount <= 5 ? 2
|
|
4768
5535
|
: 3;
|
|
5536
|
+
// Round 404 / Loop: hub-halo cyber trough opacity 0.08 →
|
|
5537
|
+
// 0.10. Pre-R404 the breath's low-point sat at α=0.08
|
|
5538
|
+
// cyber (per R84 family tuning) — the halo nearly faded
|
|
5539
|
+
// out at trough on the dark canvas. R404 lifts cyber
|
|
5540
|
+
// trough to 0.10. Per-bucket peak amplitudes [0.16/0.20/
|
|
5541
|
+
// 0.26/0.32] stay exactly tuned.
|
|
5542
|
+
//
|
|
5543
|
+
// Round 405 / Loop: hub-halo LIGHT trough 0.32 → 0.34 —
|
|
5544
|
+
// symmetric +0.02 lift to mirror R404's cyber treatment
|
|
5545
|
+
// across both themes. Pre-R405 only cyber got the lift
|
|
5546
|
+
// (R404 docstring noted "light already at the strong
|
|
5547
|
+
// end" as deliberate); but the cyber/light delta in
|
|
5548
|
+
// R404 was an inconsistency in the family pattern.
|
|
5549
|
+
// R405 closes the symmetry — both themes get +0.02
|
|
5550
|
+
// baseline lift, so the breath low-point reads with
|
|
5551
|
+
// matching confidence regardless of theme. Light peak
|
|
5552
|
+
// array [0.52/0.58/0.65/0.72] stays tuned.
|
|
5553
|
+
//
|
|
5554
|
+
// Stale-state legibility lift family (5 anchors now):
|
|
5555
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
5556
|
+
// R358 freshness floor 0.25 → 0.30
|
|
5557
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
5558
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
5559
|
+
// R405 hub-halo light trough 0.32 → 0.34 (this round)
|
|
5560
|
+
//
|
|
5561
|
+
// R84 per-bucket peak/dur + R245 ease-in-out spline
|
|
5562
|
+
// keySplines all preserved. Test fixture probes the
|
|
5563
|
+
// SMIL <animate> values via data-topo-hub-halo-trough
|
|
5564
|
+
// attr (now exposes both light + cyber resolved values).
|
|
4769
5565
|
const peakLight = [0.52, 0.58, 0.65, 0.72][busy];
|
|
4770
5566
|
const peakDark = [0.16, 0.20, 0.26, 0.32][busy];
|
|
4771
|
-
const troughLight = 0.
|
|
4772
|
-
const troughDark = 0.
|
|
5567
|
+
const troughLight = 0.34;
|
|
5568
|
+
const troughDark = 0.10;
|
|
4773
5569
|
const dur = [4.0, 3.2, 2.7, 2.4][busy];
|
|
4774
5570
|
const valuesLight = `${troughLight};${peakLight};${troughLight}`;
|
|
4775
5571
|
const valuesDark = `${troughDark};${peakDark};${troughDark}`;
|
|
5572
|
+
// Round 408 / Loop: hub-halo radius 18 → 20. The
|
|
5573
|
+
// grounding halo (the breathing outer circle around
|
|
5574
|
+
// the hub center) is the canvas's signature breath
|
|
5575
|
+
// element — R84 family. R408 bumps r=18 → 20 so the
|
|
5576
|
+
// breath extends slightly further while keeping 4px
|
|
5577
|
+
// clearance before the spoke origin (still room for
|
|
5578
|
+
// spoke start anchors). Visual presence on the
|
|
5579
|
+
// canvas focal point lifts ~23% area (π·20²/π·18²
|
|
5580
|
+
// = 1.23) without changing the per-bucket opacity
|
|
5581
|
+
// envelope or breath rhythm. Visual-weight bump
|
|
5582
|
+
// family 13th anchor — pairs with R404/R405 trough
|
|
5583
|
+
// lifts so the halo now breathes both with more
|
|
5584
|
+
// visible amplitude AND more visual footprint.
|
|
5585
|
+
// R84 per-bucket peak/dur invariants + R244 calc-
|
|
5586
|
+
// Mode='spline' + R245 ease-in-out keySplines all
|
|
5587
|
+
// preserved. data-topo-hub-halo-radius attr exposes
|
|
5588
|
+
// value for tests.
|
|
4776
5589
|
return (
|
|
4777
5590
|
<circle
|
|
4778
|
-
cx={cx} cy={cy} r="
|
|
5591
|
+
cx={cx} cy={cy} r="20"
|
|
4779
5592
|
fill={isLight ? '#d1fae5' : '#10b981'}
|
|
4780
5593
|
opacity={isLight ? 0.42 : 0.12}
|
|
4781
5594
|
data-hub-busyness={busy}
|
|
5595
|
+
data-topo-hub-halo-radius="20"
|
|
5596
|
+
data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
|
|
5597
|
+
data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
|
|
4782
5598
|
/* Round 253 / Loop: hub grounding halo fill transition
|
|
4783
5599
|
for theme toggle. Pre-R253 the base fill (cyber
|
|
4784
5600
|
#10b981 ↔ light #d1fae5) snapped while R244's SMIL
|
|
@@ -4877,11 +5693,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4877
5693
|
textAnchor="middle"
|
|
4878
5694
|
dy="0.36em"
|
|
4879
5695
|
fill={isLight ? '#d1fae5' : '#ecfdf5'}
|
|
4880
|
-
fontSize
|
|
5696
|
+
/* Round 360 / Loop: hub working-count digit fontSize 11
|
|
5697
|
+
→ 12. The hub is the canvas's focal point — its digit
|
|
5698
|
+
is the most-read scalar on the whole topology. R130
|
|
5699
|
+
sized it at 11 (well inside the r=10 / 20-px core);
|
|
5700
|
+
R360 nudges it to 12 (~13 px wide × 12 px tall, still
|
|
5701
|
+
well inside the 20-px diameter) for ~9 % more presence.
|
|
5702
|
+
Sibling visual-weight bump family:
|
|
5703
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5704
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5705
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
5706
|
+
R360 hub digit fontSize 11 → 12 (this round)
|
|
5707
|
+
The R209 scale-1.08-on-hub-hover, R225 tabular-nums,
|
|
5708
|
+
R253 fill transition, R213 always-mount opacity gate
|
|
5709
|
+
all preserved. data-topo-hub-working-count-font-size
|
|
5710
|
+
attr exposes the value for tests. */
|
|
5711
|
+
fontSize="12"
|
|
4881
5712
|
fontFamily="monospace"
|
|
4882
|
-
fontWeight
|
|
5713
|
+
/* R425 — hub digit fontWeight 700 → 800 on hoveredHub.
|
|
5714
|
+
Closes the "data tightens under attention" pattern
|
|
5715
|
+
across three focal scopes: chip-digit (R416, chip
|
|
5716
|
+
scope) → panel-digit (R424, panel-header scope) →
|
|
5717
|
+
hub-digit (R425, hub focal scope). The hub digit is
|
|
5718
|
+
the most-read scalar on the topology; adding a weight
|
|
5719
|
+
axis on hover stacks with the R209 scale-1.08 + R177
|
|
5720
|
+
ring grow + R370 halo opacity + R386 highlight
|
|
5721
|
+
opacity hub-hover gestures, giving the focal point
|
|
5722
|
+
a typographic axis alongside its scale/structure cues.
|
|
5723
|
+
R360 fontSize=12 + R225 tabular-nums + R209 scale +
|
|
5724
|
+
R253 fill transition all preserved. Transition list
|
|
5725
|
+
extends to include font-weight 200ms ease-out. */
|
|
5726
|
+
fontWeight={hoveredHub ? '800' : '700'}
|
|
4883
5727
|
opacity={workingCount > 0 ? 1 : 0}
|
|
4884
5728
|
data-topo-hub-working-count={workingCount}
|
|
5729
|
+
data-topo-hub-working-count-font-size="12"
|
|
4885
5730
|
data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
|
|
4886
5731
|
data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
|
|
4887
5732
|
// Round 209 / Loop: hub workingCount digit scales 1.0 →
|
|
@@ -4915,19 +5760,63 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4915
5760
|
transform: !reducedMotion && hoveredHub ? 'scale(1.08)' : 'scale(1)',
|
|
4916
5761
|
transformBox: 'fill-box',
|
|
4917
5762
|
transformOrigin: 'center',
|
|
4918
|
-
|
|
5763
|
+
/* R425: font-weight 200ms appended so the hover fw
|
|
5764
|
+
bump 700 → 800 eases under the same cadence as
|
|
5765
|
+
R209 scale + R253 fill + R213 opacity. */
|
|
5766
|
+
transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out',
|
|
4919
5767
|
fontVariantNumeric: 'tabular-nums',
|
|
4920
5768
|
}}
|
|
4921
5769
|
>
|
|
4922
5770
|
{workingCount}
|
|
4923
5771
|
</text>
|
|
4924
5772
|
{/* decorative highlight (visible when workingCount === 0) */}
|
|
5773
|
+
{/* Round 365 / Loop: hub-center 'lit-lamp' decorative highlight
|
|
5774
|
+
circle r 5 → 5.5. Sibling visual-weight bump family —
|
|
5775
|
+
each round lifts one canvas anchor's geometric presence
|
|
5776
|
+
without disturbing its bbox envelope:
|
|
5777
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5778
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5779
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5780
|
+
R360 hub digit fontSize 11 → 12
|
|
5781
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
5782
|
+
R365 hub-highlight base radius 5 → 5.5 (this round)
|
|
5783
|
+
The highlight only renders when workingCount === 0
|
|
5784
|
+
(decorative 'lamp lit but idle' state per R130 + R213
|
|
5785
|
+
always-mount opacity-gate). At idle, the 0.5-px radius
|
|
5786
|
+
bump (21 % area, π*5.5² / π*5² = 1.21) lifts the lamp's
|
|
5787
|
+
presence — still well inside the r=10 hub-core (R130).
|
|
5788
|
+
opacity=0 when working preserved so the hub-digit's R130
|
|
5789
|
+
takeover stays seamless. R213 always-mount opacity-gate
|
|
5790
|
+
+ 300ms opacity transition + pointerEvents:none all
|
|
5791
|
+
preserved. data-topo-hub-highlight-radius attr exposes
|
|
5792
|
+
the value for tests. */}
|
|
5793
|
+
{/* Round 386 / Loop: hub-highlight idle opacity 0.9 → 0.95.
|
|
5794
|
+
When workingCount===0 the highlight paints as the visible
|
|
5795
|
+
idle "lamp lit but no work" core (R130 takeover gate).
|
|
5796
|
+
Pre-R386 idle opacity was 0.9 — a ~6 % fade against full
|
|
5797
|
+
paint that read as slightly-dimmed-ghost on the focal
|
|
5798
|
+
point. R386 lifts to 0.95 (idle alpha gap halved 0.10
|
|
5799
|
+
→ 0.05) so the canvas anchor reads more confidently
|
|
5800
|
+
as a present-but-idle state rather than a faded ghost.
|
|
5801
|
+
Theme-consistency / canvas-presence polish family (4th
|
|
5802
|
+
anchor):
|
|
5803
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
5804
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
5805
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
5806
|
+
R386 hub-highlight idle opacity 0.9 → 0.95 (this round)
|
|
5807
|
+
opacity=0 when working preserved so the hub-digit's
|
|
5808
|
+
R130 takeover stays seamless. 300ms opacity transition
|
|
5809
|
+
+ R213 always-mount opacity-gate + pointerEvents:none
|
|
5810
|
+
+ R365 r=5.5 all preserved. data-topo-hub-highlight-
|
|
5811
|
+
opacity attr exposes the resolved value for tests. */}
|
|
4925
5812
|
<circle
|
|
4926
|
-
cx={cx} cy={cy} r="5"
|
|
5813
|
+
cx={cx} cy={cy} r="5.5"
|
|
4927
5814
|
fill="#d1fae5"
|
|
4928
|
-
opacity={workingCount > 0 ? 0 : 0.
|
|
5815
|
+
opacity={workingCount > 0 ? 0 : 0.95}
|
|
4929
5816
|
data-topo-hub-highlight
|
|
4930
5817
|
data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
|
|
5818
|
+
data-topo-hub-highlight-radius="5.5"
|
|
5819
|
+
data-topo-hub-highlight-opacity={workingCount > 0 ? 0 : 0.95}
|
|
4931
5820
|
style={{
|
|
4932
5821
|
pointerEvents: 'none',
|
|
4933
5822
|
transition: 'opacity 300ms ease-out',
|
|
@@ -4958,15 +5847,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4958
5847
|
R142 group boxes, R143/R144 rows, R164 edge badges,
|
|
4959
5848
|
R177 hub ring). prefers-reduced-motion respected via
|
|
4960
5849
|
R29 globals.css blanket. */}
|
|
5850
|
+
{/* Round 385 / Loop: hub hover-ring strokeWidth 1.5 → 1.75.
|
|
5851
|
+
Sibling visual-weight bump (11th anchor) to R367 edge-
|
|
5852
|
+
badge rest stroke 1 → 1.25. The ring is only visible
|
|
5853
|
+
during hub hover (opacity=0 rest, R177 + R370 control
|
|
5854
|
+
the hover-state alpha) so the change manifests purely
|
|
5855
|
+
as a thicker hover-state ring on the canvas focal
|
|
5856
|
+
point. R177 r 14 → 17 grow + R370 opacity 0 → 0.8
|
|
5857
|
+
already lift the hover cue; R385 adds stroke weight
|
|
5858
|
+
as the third lift axis. Stays clear of R51 overlap-
|
|
5859
|
+
test sentinel value 3 (1.75 is non-sentinel); the
|
|
5860
|
+
R51 selector is gated to g[data-node] ancestors so
|
|
5861
|
+
this hub-internal circle is invisible to the probe
|
|
5862
|
+
regardless. R253 stroke transition + pointerEvents:
|
|
5863
|
+
none preserved. data-topo-hub-hover-ring-stroke-width
|
|
5864
|
+
attr exposes the value for tests. */}
|
|
4961
5865
|
<circle
|
|
4962
5866
|
cx={cx} cy={cy}
|
|
4963
5867
|
r={hoveredHub ? 17 : 14}
|
|
4964
5868
|
fill="none"
|
|
4965
5869
|
stroke={isLight ? '#059669' : '#10b981'}
|
|
4966
|
-
strokeWidth="1.
|
|
4967
|
-
|
|
5870
|
+
strokeWidth="1.75"
|
|
5871
|
+
/* Round 370 / Loop: hub hover-ring cyber opacity 0.7 →
|
|
5872
|
+
0.8. R177 designed the hub hover-ring at opacity-0 →
|
|
5873
|
+
0.85 (light) / 0 → 0.7 (cyber). The 15 % gap between
|
|
5874
|
+
the two themes meant cyber-theme operators got a
|
|
5875
|
+
noticeably softer hover cue than light-theme users
|
|
5876
|
+
against backgrounds that should equalise (dark bg
|
|
5877
|
+
needs more luminance to read as 'on'). R370 bumps
|
|
5878
|
+
cyber 0.7 → 0.8, narrowing the theme gap to 5 % —
|
|
5879
|
+
sibling theme-consistency polish to R251 edge badge
|
|
5880
|
+
fill/opacity (cyber 0.82 / light 0.95) and R246/R247
|
|
5881
|
+
panel transition families. Light theme 0.85 stays
|
|
5882
|
+
as is (already in the legibility band). data-topo-
|
|
5883
|
+
hub-hover-ring-opacity attr exposes the value for
|
|
5884
|
+
tests. */
|
|
5885
|
+
opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4968
5886
|
data-topo-hub-hover-ring
|
|
4969
5887
|
data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
|
|
5888
|
+
data-topo-hub-hover-ring-stroke-width="1.75"
|
|
5889
|
+
data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4970
5890
|
/* Round 253 / Loop: hub hover ring also gets stroke
|
|
4971
5891
|
transition for theme toggle (cyber #10b981 ↔ light
|
|
4972
5892
|
#059669). The opacity + r transitions stay for hover
|
|
@@ -5395,14 +6315,51 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5395
6315
|
keyTimes="0;0.5;1"
|
|
5396
6316
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
5397
6317
|
/>
|
|
6318
|
+
{/* Round 409 / Loop: active-node pulse peak
|
|
6319
|
+
opacity lift — cyber 0.18 → 0.20 / light
|
|
6320
|
+
0.12 → 0.14. Theme-consistency / canvas-
|
|
6321
|
+
presence family 9th anchor. R243 family
|
|
6322
|
+
rhythm preserved.
|
|
6323
|
+
Round 413 / Loop: trough lift mirrors R409
|
|
6324
|
+
peak — cyber 0.04 → 0.05 / light 0.02 →
|
|
6325
|
+
0.03. Stale-state legibility lift family
|
|
6326
|
+
8th anchor — pairs with R404 (hub-halo
|
|
6327
|
+
cyber trough 0.08 → 0.10) and R405 (light
|
|
6328
|
+
trough 0.32 → 0.34). The per-node breath's
|
|
6329
|
+
low-point now reads slightly above the
|
|
6330
|
+
"nearly gone" zone while preserving the
|
|
6331
|
+
breath amplitude (cyber Δ 0.16 vs Δ pre-
|
|
6332
|
+
R409+R413 of 0.14; light Δ 0.11 vs 0.10).
|
|
6333
|
+
Both peak (R409) AND trough (R413) lift
|
|
6334
|
+
together so the active-pulse signal stays
|
|
6335
|
+
confidently present at both ends of its
|
|
6336
|
+
2.4s cycle.
|
|
6337
|
+
Stale-state legibility lift family (8):
|
|
6338
|
+
R317 subordinate-text gray-500→400
|
|
6339
|
+
R358 freshness floor 0.25→0.30
|
|
6340
|
+
R372 minimap offline-dot 0.5→0.6
|
|
6341
|
+
R404 hub-halo cyber trough 0.08→0.10
|
|
6342
|
+
R405 hub-halo light trough 0.32→0.34
|
|
6343
|
+
R406 edge freshness floor 0.35→0.40
|
|
6344
|
+
R407 node halo offline opacity (cyber+light)
|
|
6345
|
+
R413 active-node pulse trough (this round)
|
|
6346
|
+
cyber 0.04 → 0.05
|
|
6347
|
+
light 0.02 → 0.03
|
|
6348
|
+
R243 always-mount opacity-gate + R243
|
|
6349
|
+
ease-in-out keySplines + r animation
|
|
6350
|
+
(radius+8 ↔ radius+22) preserved.
|
|
6351
|
+
data-node-pulse-peak + new -pulse-trough
|
|
6352
|
+
attrs expose resolved per-theme values. */}
|
|
5398
6353
|
<animate
|
|
5399
6354
|
attributeName="opacity"
|
|
5400
|
-
values={isLight ? '0.
|
|
6355
|
+
values={isLight ? '0.14;0.03;0.14' : '0.20;0.05;0.20'}
|
|
5401
6356
|
dur="2.4s"
|
|
5402
6357
|
repeatCount="indefinite"
|
|
5403
6358
|
calcMode="spline"
|
|
5404
6359
|
keyTimes="0;0.5;1"
|
|
5405
6360
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
6361
|
+
data-node-pulse-peak={isLight ? '0.14' : '0.20'}
|
|
6362
|
+
data-node-pulse-trough={isLight ? '0.03' : '0.05'}
|
|
5406
6363
|
/>
|
|
5407
6364
|
</circle>
|
|
5408
6365
|
</g>
|
|
@@ -5447,12 +6404,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5447
6404
|
parent stays for status flips. data-node-halo-
|
|
5448
6405
|
breath-offset surfaces the chosen offset for
|
|
5449
6406
|
test introspection. */}
|
|
6407
|
+
{/* Round 407 / Loop: offline node halo opacity lift —
|
|
6408
|
+
cyber 0.25 → 0.30 and light 0.4 → 0.45. Pre-R407
|
|
6409
|
+
offline node halos faded to α=0.25 cyber (75 %
|
|
6410
|
+
dim) / α=0.4 light. On the dark canvas the 0.25
|
|
6411
|
+
halo read as "nearly gone" — exactly the
|
|
6412
|
+
legibility floor R404/R405 just lifted on the
|
|
6413
|
+
hub-halo and R372 lifted on minimap offline dots.
|
|
6414
|
+
R407 closes the same family at the per-node halo
|
|
6415
|
+
surface: +0.05 lift on both themes so offline
|
|
6416
|
+
anchors stay legibly present without crossing into
|
|
6417
|
+
"could be online" territory (online cyber 0.65 /
|
|
6418
|
+
light 0.85 unchanged — the 0.30/0.65 cyber ratio
|
|
6419
|
+
still gives 2.17× contrast for online/offline).
|
|
6420
|
+
Stale-state legibility lift family (7 anchors now):
|
|
6421
|
+
R317 subordinate-text gray-500 → gray-400
|
|
6422
|
+
R358 freshness floor 0.25 → 0.30
|
|
6423
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
6424
|
+
R404 hub-halo cyber trough 0.08 → 0.10
|
|
6425
|
+
R405 hub-halo light trough 0.32 → 0.34
|
|
6426
|
+
R406 edge freshness floor 0.35 → 0.40
|
|
6427
|
+
R407 node halo offline opacity (this round)
|
|
6428
|
+
cyber 0.25 → 0.30
|
|
6429
|
+
light 0.4 → 0.45
|
|
6430
|
+
R278 retired-breath gate + R12 status.halo color
|
|
6431
|
+
+ R226 phase stagger code-path preserved (the
|
|
6432
|
+
breath stays disabled per Vincent's R278 ask;
|
|
6433
|
+
only the BASE opacity floor shifts here). transi-
|
|
6434
|
+
tion list ('fill,opacity' 300ms ease-out) unchanged.
|
|
6435
|
+
data-node-halo-offline-opacity attr exposes the
|
|
6436
|
+
resolved value for tests. */}
|
|
5450
6437
|
<circle
|
|
5451
6438
|
cx={pos.x}
|
|
5452
6439
|
cy={pos.y}
|
|
5453
6440
|
r={radius + 8}
|
|
5454
6441
|
fill={status.halo}
|
|
5455
|
-
opacity={isOnline ? (isLight ? 0.85 : 0.65) : (isLight ? 0.
|
|
6442
|
+
opacity={isOnline ? (isLight ? 0.85 : 0.65) : (isLight ? 0.45 : 0.30)}
|
|
6443
|
+
data-node-halo-offline-opacity={isOnline ? undefined : (isLight ? 0.45 : 0.30)}
|
|
5456
6444
|
className="transition-[fill,opacity] duration-300 ease-out"
|
|
5457
6445
|
data-node-halo-breath={!reducedMotion && session.status === 'working' ? 'on' : 'off'}
|
|
5458
6446
|
data-node-halo-breath-offset={
|
|
@@ -5941,14 +6929,69 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5941
6929
|
220ms cadence the existing filter/stroke
|
|
5942
6930
|
pair uses — coordinated 4-property easing
|
|
5943
6931
|
across the card. */}
|
|
6932
|
+
{/* Round 411 / Loop: node label card rx 6 → 8.
|
|
6933
|
+
Pre-R411 the per-node label card painted at
|
|
6934
|
+
rx=6, sitting one tier BELOW the R332/R375/
|
|
6935
|
+
R376 compact-chrome tier (rx=8). Inside the
|
|
6936
|
+
corner-radius cascade family the cards used
|
|
6937
|
+
to be the only "smaller" tier — but the
|
|
6938
|
+
label card is a content-bearing surface
|
|
6939
|
+
(alias + sub text + ring), not a sub-
|
|
6940
|
+
element decoration. R411 lifts rx=6 → 8
|
|
6941
|
+
to align with the compact-chrome / segmented-
|
|
6942
|
+
control tier so all "compact card" surfaces
|
|
6943
|
+
read with the same corner radius.
|
|
6944
|
+
Corner-radius cascade (8 anchors now):
|
|
6945
|
+
R330 canvas rx 12 (root)
|
|
6946
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
6947
|
+
R332 minimap container rx 8 (compact chrome)
|
|
6948
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
6949
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
6950
|
+
R390 hover-detail rx 10 (panel)
|
|
6951
|
+
R393 minimap viewport rx 2 (sub-element)
|
|
6952
|
+
R411 node label card rx 6 → 8 (compact card, this round)
|
|
6953
|
+
Pure paint — rx grows the corner curve
|
|
6954
|
+
inward without changing the card's outer
|
|
6955
|
+
cardW × cardH bbox (cardW=92/cardH=22 for
|
|
6956
|
+
standard nodes per R23 / R187 sizing). R217
|
|
6957
|
+
hover-stroke cyan tint + R142 drop-shadow
|
|
6958
|
+
+ R246 fill+opacity 220ms transition list
|
|
6959
|
+
+ R211 alias/sub text-fill ease all
|
|
6960
|
+
preserved. data-node-label-card-rx attr
|
|
6961
|
+
exposes the value for tests. */}
|
|
6962
|
+
{/* Round 429 / Loop: node label-card body opacity
|
|
6963
|
+
0.94 → 1.0 on hover (cyber theme). Sibling
|
|
6964
|
+
treatment to R348 panel rect opacity lift —
|
|
6965
|
+
0.92 → 0.97 cyber / 0.97 → 1.0 light at the
|
|
6966
|
+
panel scope. Pre-R429 the cyber theme card
|
|
6967
|
+
sat at 0.94 always; on hover R217 tinted the
|
|
6968
|
+
stroke + R142 grew the drop-shadow + R26
|
|
6969
|
+
lifted the group + R427/R428 spaced the text
|
|
6970
|
+
but the rect itself never solidified —
|
|
6971
|
+
the card glowed brighter through the
|
|
6972
|
+
shadow but the body alpha gap (6 pct) stayed
|
|
6973
|
+
fixed. R429 lifts the body to full alpha on
|
|
6974
|
+
hover so the card reads as a confidently
|
|
6975
|
+
present surface under the cursor (matching
|
|
6976
|
+
the panel-pair pattern). Light theme stays
|
|
6977
|
+
at 1.0 in both states (already maxed). R246
|
|
6978
|
+
transition list already covers opacity 220ms
|
|
6979
|
+
so the lift eases for free. R217 stroke tint
|
|
6980
|
+
+ R142 drop-shadow + R211 fill ease all
|
|
6981
|
+
preserved (additive opacity branch only). */}
|
|
5944
6982
|
<rect
|
|
5945
|
-
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="
|
|
6983
|
+
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="8"
|
|
5946
6984
|
fill={pal.labelBox.fill}
|
|
5947
6985
|
stroke={!reducedMotion && hoveredAlias === session.alias
|
|
5948
6986
|
? pal.legendAccent
|
|
5949
6987
|
: pal.labelBox.stroke}
|
|
5950
|
-
opacity={
|
|
6988
|
+
opacity={
|
|
6989
|
+
!reducedMotion && hoveredAlias === session.alias
|
|
6990
|
+
? 1
|
|
6991
|
+
: (isLight ? 1 : 0.94)
|
|
6992
|
+
}
|
|
5951
6993
|
data-node-label-card={session.alias}
|
|
6994
|
+
data-node-label-card-rx="8"
|
|
5952
6995
|
data-node-label-card-elevation={
|
|
5953
6996
|
!reducedMotion && hoveredAlias === session.alias ? 'hover' : 'idle'
|
|
5954
6997
|
}
|
|
@@ -5992,25 +7035,72 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5992
7035
|
transition list extends 'letter-spacing
|
|
5993
7036
|
200ms ease-out' so it eases alongside the
|
|
5994
7037
|
existing 300ms fill transition. */}
|
|
7038
|
+
{/* Round 427 / Loop: extend the node alias label
|
|
7039
|
+
letter-spacing family to a 3-tier scale —
|
|
7040
|
+
rest 0px → hover 0.3px → chat-target 0.5px.
|
|
7041
|
+
Pre-R427 the alias text shifted only when
|
|
7042
|
+
chat was actively pinned (R305); pure node-
|
|
7043
|
+
hover left the text dead-typographic while
|
|
7044
|
+
the surrounding card lifted (R26 translateY
|
|
7045
|
+
+ R242 stroke + filter cues). R427 adds the
|
|
7046
|
+
missing typographic axis to the hover gesture
|
|
7047
|
+
so the alias text rises with the card.
|
|
7048
|
+
The chat-target tier still wins (0.5 > 0.3)
|
|
7049
|
+
so the pin signature stays at the top of the
|
|
7050
|
+
scale — hover is the mid tier between rest
|
|
7051
|
+
and chat-target.
|
|
7052
|
+
Hover-letter-spacing family extension:
|
|
7053
|
+
R344 chip count digit
|
|
7054
|
+
R345 panel title (R423 sibling)
|
|
7055
|
+
R347 active-links chip
|
|
7056
|
+
R351 vendor chip
|
|
7057
|
+
R420 zoom-level chip
|
|
7058
|
+
R427 node alias text (this round)
|
|
7059
|
+
R211 fill 300ms + R305 letter-spacing 200ms
|
|
7060
|
+
transition list preserved; only the
|
|
7061
|
+
conditional gets a middle case. */}
|
|
5995
7062
|
<text
|
|
5996
7063
|
x="0" y="1" textAnchor="middle"
|
|
5997
7064
|
fill={status.text}
|
|
5998
7065
|
fontSize={aliasFs} fontFamily="monospace" fontWeight="700"
|
|
5999
7066
|
data-node-alias-text={session.alias}
|
|
6000
7067
|
data-node-alias-chat-target={chatAlias === session.alias ? 'true' : 'false'}
|
|
7068
|
+
data-node-alias-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
6001
7069
|
style={{
|
|
6002
7070
|
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
6003
|
-
letterSpacing:
|
|
7071
|
+
letterSpacing:
|
|
7072
|
+
chatAlias === session.alias ? '0.5px' :
|
|
7073
|
+
hoveredAlias === session.alias ? '0.3px' : '0px',
|
|
6004
7074
|
}}
|
|
6005
7075
|
>
|
|
6006
7076
|
{truncate(session.alias, fullMax)}
|
|
6007
7077
|
</text>
|
|
7078
|
+
{/* Round 428 / Loop: node sub-text (status label
|
|
7079
|
+
line beneath the alias) adopts hover letter-
|
|
7080
|
+
spacing tween 0 → 0.2px on hoveredAlias.
|
|
7081
|
+
Sibling treatment to R427 alias-text hover
|
|
7082
|
+
tween (0 → 0.3) — the alias is the primary
|
|
7083
|
+
identity (top-tier kerning 0.3), the sub-text
|
|
7084
|
+
is the secondary status line (one tier lower
|
|
7085
|
+
at 0.2). Now both lines of the label card
|
|
7086
|
+
telegraph hover typographically as one unit,
|
|
7087
|
+
matching the R26 card lift + R242 stroke
|
|
7088
|
+
tint + R975 filter cues. Subtler delta on
|
|
7089
|
+
the sub-text (0.2 vs alias 0.3) preserves
|
|
7090
|
+
the alias > status visual hierarchy at the
|
|
7091
|
+
hover scope. R211 fill 300ms transition
|
|
7092
|
+
preserved (additive letter-spacing branch
|
|
7093
|
+
+ appended 'letter-spacing 200ms ease-out'). */}
|
|
6008
7094
|
<text
|
|
6009
7095
|
x="0" y={subY} textAnchor="middle"
|
|
6010
7096
|
fill={status.primary}
|
|
6011
7097
|
fontSize={subFs} fontFamily="monospace"
|
|
6012
7098
|
data-node-sub-text={session.alias}
|
|
6013
|
-
|
|
7099
|
+
data-node-sub-text-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
7100
|
+
style={{
|
|
7101
|
+
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
7102
|
+
letterSpacing: hoveredAlias === session.alias ? '0.2px' : '0px',
|
|
7103
|
+
}}
|
|
6014
7104
|
>
|
|
6015
7105
|
{status.label}{isOnline && sseCountFor != null ? ` sse:${sseCountFor}` : ''}
|
|
6016
7106
|
</text>
|
|
@@ -6083,26 +7173,122 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6083
7173
|
const detailY = pos.y - detailH / 2;
|
|
6084
7174
|
return (
|
|
6085
7175
|
<g transform={`translate(${detailX}, ${detailY})`} data-topo-hover-detail={session.alias} style={{ pointerEvents: 'none' }}>
|
|
7176
|
+
{/* Round 387 / Loop: hover-detail panel cyber backdrop
|
|
7177
|
+
opacity 0.94 → 0.97. The hover-detail card is
|
|
7178
|
+
ALWAYS rendered in active-hover context (it IS
|
|
7179
|
+
the hover product), so it should carry the
|
|
7180
|
+
same backdrop weight as the R348 recent-signal /
|
|
7181
|
+
legend panel HOVER state (which lifts 0.92 →
|
|
7182
|
+
0.97 cyber). Pre-R387 the card sat at 0.94
|
|
7183
|
+
cyber, leaving a 0.03 alpha gap against the
|
|
7184
|
+
R348 panel-hover state — small but visible
|
|
7185
|
+
when the hover-detail floats next to a hovered
|
|
7186
|
+
recent-signal panel. R387 unifies them at 0.97
|
|
7187
|
+
so all active-hover panels paint with the same
|
|
7188
|
+
confident backdrop opacity in cyber. Light
|
|
7189
|
+
stays at 0.98 (already at the strong end —
|
|
7190
|
+
R348 light also stays at 0.97/0.98 max).
|
|
7191
|
+
Theme-consistency / canvas-presence polish
|
|
7192
|
+
family (5th anchor):
|
|
7193
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
7194
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
7195
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
7196
|
+
R386 hub-highlight idle opacity 0.9 → 0.95
|
|
7197
|
+
R387 hover-detail panel opacity 0.94 → 0.97 cyber (this round)
|
|
7198
|
+
data-topo-hover-detail-opacity attr exposes
|
|
7199
|
+
the resolved value for tests. R348 drop-shadow
|
|
7200
|
+
+ rx=8 + stroke=pal.legendAccent + fill=pal.
|
|
7201
|
+
labelBox.fill all preserved. */}
|
|
7202
|
+
{/* Round 390 / Loop: hover-detail card rx 8 → 10.
|
|
7203
|
+
Corner-radius cascade family — the hover-detail
|
|
7204
|
+
card is a panel-tier surface (192×88 floating
|
|
7205
|
+
info card with drop-shadow + stroke), so its
|
|
7206
|
+
corner radius should match the R331 panel tier
|
|
7207
|
+
(rx=10) used by the recent-signal and legend
|
|
7208
|
+
panels. Pre-R390 it shared rx=8 with the R332
|
|
7209
|
+
minimap and R375/R376 segmented-control tier
|
|
7210
|
+
(Layout-toggle, nodeSize, zoom wrappers),
|
|
7211
|
+
which is the "compact chrome control" tier —
|
|
7212
|
+
a tier mismatch for a content-bearing panel.
|
|
7213
|
+
Corner-radius cascade (6 anchors now):
|
|
7214
|
+
R330 canvas rx 12 (root)
|
|
7215
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
7216
|
+
R332 minimap rx 8 (compact chrome)
|
|
7217
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
7218
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
7219
|
+
R390 hover-detail rx 10 (panel — this round)
|
|
7220
|
+
Pure paint change; no layout shift (rx grows
|
|
7221
|
+
the corner curve INWARD without changing the
|
|
7222
|
+
card's outer bbox). data-topo-hover-detail-
|
|
7223
|
+
rx attr exposes the resolved value for tests.
|
|
7224
|
+
R348 drop-shadow + stroke + R387 opacity all
|
|
7225
|
+
preserved. */}
|
|
6086
7226
|
<rect
|
|
6087
|
-
x="0" y="0" width={detailW} height={detailH} rx="
|
|
7227
|
+
x="0" y="0" width={detailW} height={detailH} rx="10"
|
|
6088
7228
|
fill={pal.labelBox.fill}
|
|
6089
7229
|
stroke={pal.legendAccent}
|
|
6090
|
-
opacity={isLight ? 0.98 : 0.
|
|
7230
|
+
opacity={isLight ? 0.98 : 0.97}
|
|
7231
|
+
data-topo-hover-detail-opacity={isLight ? 0.98 : 0.97}
|
|
7232
|
+
data-topo-hover-detail-rx="10"
|
|
6091
7233
|
style={{ filter: isLight ? 'drop-shadow(0 4px 12px rgba(15,23,42,0.16))' : 'drop-shadow(0 4px 12px rgba(0,0,0,0.6))' }}
|
|
6092
7234
|
/>
|
|
6093
7235
|
<text x="10" y="16" fontSize="9" fontFamily="monospace" fill={pal.legendAccent} fontWeight="700">
|
|
6094
7236
|
{v.id !== 'unknown' ? v.label : '—'}
|
|
6095
7237
|
</text>
|
|
6096
|
-
|
|
7238
|
+
{/* Round 389 / Loop: hover-detail model line (y=32)
|
|
7239
|
+
fontWeight 400 → 600. R388 lifted body lines
|
|
7240
|
+
(runtime/host/task at fontSize=9) to fw=500;
|
|
7241
|
+
R389 closes the typography hierarchy by giving
|
|
7242
|
+
the model name (the dominant subhead text in
|
|
7243
|
+
the card) its own weight tier. Three-tier
|
|
7244
|
+
ladder now reads cleanly:
|
|
7245
|
+
vendor fontSize=9 fw=700 (label badge)
|
|
7246
|
+
model fontSize=10 fw=600 (subhead — this round)
|
|
7247
|
+
body 3× fontSize=9 fw=500 (R388)
|
|
7248
|
+
One tier step per dimension (size + weight)
|
|
7249
|
+
between adjacent levels — classic editorial
|
|
7250
|
+
hierarchy idiom adapted to a 192×88 SVG card.
|
|
7251
|
+
Sibling to the chip-internal-hierarchy arc
|
|
7252
|
+
(R333-R341/R362/R369) which uses fw=600/500
|
|
7253
|
+
for digit/unit pairs; R389 applies the same
|
|
7254
|
+
fw=600 to a content-bearing identity line.
|
|
7255
|
+
data-topo-hover-detail-model-fw attr exposes
|
|
7256
|
+
the resolved value for tests. pal.legendHeadline
|
|
7257
|
+
fill preserved (R389 doesn't touch color). */}
|
|
7258
|
+
<text x="10" y="32" fontSize="10" fontFamily="monospace" fontWeight="600" fill={pal.legendHeadline} data-topo-hover-detail-model-fw="600">
|
|
6097
7259
|
{session.model || 'model · pending'}
|
|
6098
7260
|
</text>
|
|
6099
|
-
|
|
7261
|
+
{/* Round 388 / Loop: hover-detail body lines (the
|
|
7262
|
+
three fontSize=9 lines: runtime, host, task)
|
|
7263
|
+
gain fontWeight=500. Small-text fw lift family
|
|
7264
|
+
(6th anchor) — fontSize 9-10 px text reads
|
|
7265
|
+
consistently bolder at fw=500 than at the
|
|
7266
|
+
default 400 weight at small sizes, especially
|
|
7267
|
+
on the cyber-theme backdrop where stroke-
|
|
7268
|
+
rendering is the limiting factor.
|
|
7269
|
+
Sibling lifts in this family:
|
|
7270
|
+
R363 recent-row alias text 400 → 500
|
|
7271
|
+
R364 legend-row label 400 → 500
|
|
7272
|
+
R366 group-label count tspan 400 → 500
|
|
7273
|
+
R368 +N more flows footer 400 → 500
|
|
7274
|
+
R373 pressure-bar kicker (font-medium)
|
|
7275
|
+
R388 hover-detail body lines 400 → 500 (this round)
|
|
7276
|
+
Tier structure preserved:
|
|
7277
|
+
y=16 vendor (fw=700, headline)
|
|
7278
|
+
y=32 model (fontSize=10, subhead by size)
|
|
7279
|
+
y=48 runtime / y=64 host / y=80 task (body, now fw=500)
|
|
7280
|
+
The y=80 task line keeps opacity=0.7 so its
|
|
7281
|
+
caption-tier identity stays distinct from the
|
|
7282
|
+
y=48 / y=64 body lines despite shared fw.
|
|
7283
|
+
data-topo-hover-detail-body-fw attr exposes
|
|
7284
|
+
the resolved value for tests. */}
|
|
7285
|
+
<text x="10" y="48" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6100
7286
|
{rt ? rt.label : 'runtime · pending'}
|
|
6101
7287
|
</text>
|
|
6102
|
-
<text x="10" y="64" fontSize="9" fontFamily="monospace" fill={pal.legendText}>
|
|
7288
|
+
<text x="10" y="64" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6103
7289
|
host · {session.server || 'unknown'}
|
|
6104
7290
|
</text>
|
|
6105
|
-
<text x="10" y="80" fontSize="9" fontFamily="monospace" fill={pal.legendText} opacity="0.7">
|
|
7291
|
+
<text x="10" y="80" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} opacity="0.7" data-topo-hover-detail-body-fw="500">
|
|
6106
7292
|
{session.task ? truncate(session.task, 28) : 'no recent task'}
|
|
6107
7293
|
</text>
|
|
6108
7294
|
</g>
|
|
@@ -6166,14 +7352,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6166
7352
|
keySplines="0.25 0.1 0.25 1"
|
|
6167
7353
|
fill="freeze"
|
|
6168
7354
|
/>
|
|
7355
|
+
{/* Round 403 / Loop: click-ripple SMIL initial opacity
|
|
7356
|
+
0.7 → 0.8. Pre-R403 the ripple's opacity animation
|
|
7357
|
+
faded from 0.7 to 0 over 500ms, providing a clean
|
|
7358
|
+
click-feedback pulse. Theme-consistency / canvas-
|
|
7359
|
+
presence polish family (R370 hub hover-ring +
|
|
7360
|
+
R391 hub-spoke active) already lifted paired
|
|
7361
|
+
hover-state alphas from 0.7 → 0.8. R403 brings
|
|
7362
|
+
click-feedback into that same alpha — three canvas
|
|
7363
|
+
state-feedback indicators (hover-ring, active spoke,
|
|
7364
|
+
click ripple) now share a uniform 0.8 start alpha
|
|
7365
|
+
so the visual "I responded" signal carries the
|
|
7366
|
+
same weight regardless of which state fired it.
|
|
7367
|
+
Pre-R403 invariants preserved: 500ms duration,
|
|
7368
|
+
R227 calcMode='spline' + ease-out keySplines
|
|
7369
|
+
(0.25 0.1 0.25 1), fill='freeze', concurrent r
|
|
7370
|
+
animation. Theme-consistency family (8 anchors):
|
|
7371
|
+
R370 hub hover-ring 0.7 → 0.8
|
|
7372
|
+
R371 edge-badge rest 0.82 → 0.85 cyber
|
|
7373
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
7374
|
+
R386 hub-highlight idle 0.9 → 0.95
|
|
7375
|
+
R387 hover-detail panel 0.94 → 0.97 cyber
|
|
7376
|
+
R391 hub-spoke active 0.7 → 0.8
|
|
7377
|
+
R392 minimap online-dot 0.9 → 0.95
|
|
7378
|
+
R403 click-ripple start 0.7 → 0.8 (this round)
|
|
7379
|
+
data-click-ripple-start-opacity attr exposes the
|
|
7380
|
+
resolved value for tests. */}
|
|
6169
7381
|
<animate
|
|
6170
7382
|
attributeName="opacity"
|
|
6171
|
-
values="0.
|
|
7383
|
+
values="0.8;0"
|
|
6172
7384
|
dur="0.5s"
|
|
6173
7385
|
calcMode="spline"
|
|
6174
7386
|
keyTimes="0;1"
|
|
6175
7387
|
keySplines="0.25 0.1 0.25 1"
|
|
6176
7388
|
fill="freeze"
|
|
7389
|
+
data-click-ripple-start-opacity="0.8"
|
|
6177
7390
|
/>
|
|
6178
7391
|
</circle>
|
|
6179
7392
|
)}
|
|
@@ -6247,17 +7460,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6247
7460
|
<rect
|
|
6248
7461
|
x="0" y="0" width="230" height="88" rx="10"
|
|
6249
7462
|
fill={pal.legendBox.fill}
|
|
6250
|
-
stroke
|
|
6251
|
-
//
|
|
6252
|
-
//
|
|
6253
|
-
//
|
|
6254
|
-
//
|
|
6255
|
-
//
|
|
6256
|
-
//
|
|
6257
|
-
//
|
|
6258
|
-
//
|
|
6259
|
-
//
|
|
6260
|
-
//
|
|
7463
|
+
// Round 423 / Loop: panel rect stroke tints to legendAccent
|
|
7464
|
+
// (cyan) on hover — sibling to R217 label-card stroke
|
|
7465
|
+
// hover-tint at the panel scope. Pre-R423 the panel rect
|
|
7466
|
+
// stroke painted pal.legendBox.stroke (neutral) regardless
|
|
7467
|
+
// of hover state, while every other panel hover cue stacked:
|
|
7468
|
+
// R135 drop-shadow boost
|
|
7469
|
+
// R348 rect opacity 0.92 → 0.97 cyber
|
|
7470
|
+
// R345 title letter-spacing 0.3 → 0.4
|
|
7471
|
+
// R423 rect stroke → legendAccent (this round)
|
|
7472
|
+
// Four hover layers now telegraph "you're entering this
|
|
7473
|
+
// panel" through structural, paint, and typographic axes
|
|
7474
|
+
// simultaneously. R247 transition list already covers
|
|
7475
|
+
// stroke 200ms ease-out so the tint eases naturally.
|
|
7476
|
+
// Sibling change at the legend panel rect below.
|
|
7477
|
+
stroke={hoveredPanel === 'recent' ? pal.legendAccent : pal.legendBox.stroke}
|
|
6261
7478
|
opacity={hoveredPanel === 'recent' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
|
|
6262
7479
|
style={{
|
|
6263
7480
|
/* R135: drop-shadow intensifies on panel hover. Base
|
|
@@ -6381,8 +7598,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6381
7598
|
const alpha = ageSec <= 30
|
|
6382
7599
|
? 1
|
|
6383
7600
|
: ageSec <= 300
|
|
6384
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6385
|
-
: 0.25
|
|
7601
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
7602
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6386
7603
|
// Dark cyan-400 / light teal-600 with alpha — same
|
|
6387
7604
|
// palette as R161's chip bullet so the two scopes
|
|
6388
7605
|
// visually align even side-by-side.
|
|
@@ -6395,6 +7612,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6395
7612
|
textAnchor="end"
|
|
6396
7613
|
fontSize="10"
|
|
6397
7614
|
fontFamily="monospace"
|
|
7615
|
+
// Round 349 / Loop: editorial letter-spacing 0.2 on the
|
|
7616
|
+
// recent-signal panel header count. Sits one tier below
|
|
7617
|
+
// the R301 panel title letterSpacing="0.3" so the panel
|
|
7618
|
+
// header reads as a 2-step hierarchy (title 0.3 / count
|
|
7619
|
+
// 0.2). Sibling change on the legend panel count below
|
|
7620
|
+
// closes the panel-pair editorial symmetry. Joins the
|
|
7621
|
+
// R285 / R289 / R301 / R302 / R304 / R325 editorial-
|
|
7622
|
+
// letterspacing tier at the panel-summary scope. The
|
|
7623
|
+
// R162 freshness fill, R225 tabular-nums, R311 fw=600,
|
|
7624
|
+
// R336 unit-tspan opacity-0.7 split all preserved —
|
|
7625
|
+
// the tier propagates to all descendant tspans via
|
|
7626
|
+
// SVG inheritance. data-recent-panel-count-letter-
|
|
7627
|
+
// spacing exposes the value for tests.
|
|
7628
|
+
letterSpacing="0.2"
|
|
7629
|
+
data-recent-panel-count-letter-spacing="0.2"
|
|
6398
7630
|
>
|
|
6399
7631
|
{/* Round 225 / Loop: tabular-nums on the panel-header
|
|
6400
7632
|
flow-count tspan. The "{N} flows" string lives in
|
|
@@ -6435,13 +7667,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6435
7667
|
tests + count value reads still resolve via
|
|
6436
7668
|
.textContent. data-recent-panel-count-unit on
|
|
6437
7669
|
the inner unit tspan for R336 introspection. */}
|
|
7670
|
+
{/* R424 — recent-signal panel count digit fontWeight
|
|
7671
|
+
600 → 700 on panel hover. Closes the 5-layer panel
|
|
7672
|
+
hover cue stack with a typographic-weight axis at
|
|
7673
|
+
the panel-header data scope: depth (R135 drop-
|
|
7674
|
+
shadow) + solidity (R348 fill opacity) + spacing
|
|
7675
|
+
(R345 title letter-spacing) + edge color (R423
|
|
7676
|
+
stroke tint) + weight (THIS, digit fw). Sibling
|
|
7677
|
+
pattern to R416 chip-digit-hover-bold at chip
|
|
7678
|
+
scope — same "data tightens under attention"
|
|
7679
|
+
idiom now at the panel-header data scope. R311
|
|
7680
|
+
base fw=600 + R225 tabular-nums + R162 fill
|
|
7681
|
+
transition + R336 unit-tspan opacity-0.7 all
|
|
7682
|
+
preserved; only the weight axis tweens via R247's
|
|
7683
|
+
transition shape (added font-weight to the list). */}
|
|
6438
7684
|
<tspan
|
|
6439
7685
|
fill={freshFill}
|
|
6440
|
-
fontWeight=
|
|
7686
|
+
fontWeight={hoveredPanel === 'recent' ? '700' : '600'}
|
|
6441
7687
|
data-recent-panel-count
|
|
6442
7688
|
data-recent-panel-count-freshness-alpha={alpha.toFixed(2)}
|
|
6443
7689
|
style={{
|
|
6444
|
-
transition: 'fill 200ms ease-out',
|
|
7690
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
6445
7691
|
fontVariantNumeric: 'tabular-nums',
|
|
6446
7692
|
}}
|
|
6447
7693
|
>{flowLinks.length}<tspan opacity="0.7" data-recent-panel-count-unit> flows</tspan></tspan>
|
|
@@ -6863,17 +8109,58 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6863
8109
|
const alpha = ageSec <= 30
|
|
6864
8110
|
? 1
|
|
6865
8111
|
: ageSec <= 300
|
|
6866
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6867
|
-
: 0.25
|
|
8112
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
8113
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6868
8114
|
return (
|
|
6869
8115
|
<circle
|
|
6870
8116
|
cx={10}
|
|
6871
8117
|
cy={38 + index * 16 - 3}
|
|
6872
|
-
|
|
8118
|
+
/* Round 359 / Loop: recency pip base radius
|
|
8119
|
+
1.6 → 1.8. Sibling lift to R358's freshness-
|
|
8120
|
+
floor bump (alpha 0.25 → 0.30) — pre-R358/
|
|
8121
|
+
R359 the stale pip painted at r=1.6 + α=0.25
|
|
8122
|
+
which read as near-invisible chrome. R358
|
|
8123
|
+
gave it more alpha; R359 gives it more area
|
|
8124
|
+
(1.8² / 1.6² ≈ 1.27, so ~27 % more glyph)
|
|
8125
|
+
so the pip stays distinguishable across the
|
|
8126
|
+
freshness ramp. Geometry: 1.8-radius dot
|
|
8127
|
+
centred at (10, row_y - 3) is bbox 3.6×3.6,
|
|
8128
|
+
still well inside the 7-px left margin
|
|
8129
|
+
(x=6 rect-start → x=13 text-start) the R160
|
|
8130
|
+
pip was placed in. Overlap-test reads the
|
|
8131
|
+
parent row rect's bbox, not this pip's, so
|
|
8132
|
+
grid+ring invariants hold. Matches the same
|
|
8133
|
+
1.6 → 1.8 visual-weight bump R295 applied
|
|
8134
|
+
to the legend swatch (5.5 → 6 base radius)
|
|
8135
|
+
and R287 to the minimap viewport stroke
|
|
8136
|
+
(1 → 1.5). data-recent-row-freshness-radius
|
|
8137
|
+
attr exposes the value for tests. */
|
|
8138
|
+
/* Round 383 / Loop: recency pip base radius
|
|
8139
|
+
1.8 → 2.0. Continues the R359 lift
|
|
8140
|
+
trajectory — pip area grows ~23 % (π·2²/
|
|
8141
|
+
π·1.8² ≈ 1.23) for a clearer at-a-glance
|
|
8142
|
+
freshness anchor in each row. Bbox 4.0×4.0
|
|
8143
|
+
still inside the 7-px R160 left margin
|
|
8144
|
+
(3-px remaining clearance vs 3.4 at r=1.8
|
|
8145
|
+
— geometry-safe margin holds). Sibling
|
|
8146
|
+
visual-weight bump family (9th anchor now):
|
|
8147
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
8148
|
+
R295 legend swatch base radius 5.5 → 6
|
|
8149
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
8150
|
+
R360 hub digit fontSize 11 → 12
|
|
8151
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
8152
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
8153
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
8154
|
+
R374 pressure-bar height 1.5 → 2
|
|
8155
|
+
R383 recent-row pip radius 1.8 → 2.0 (this round)
|
|
8156
|
+
data-recent-row-freshness-radius attr
|
|
8157
|
+
bumps to '2.0' for tests. */
|
|
8158
|
+
r={2.0}
|
|
6873
8159
|
fill={pal.legendAccent}
|
|
6874
8160
|
opacity={alpha}
|
|
6875
8161
|
data-recent-row-freshness={link.key}
|
|
6876
8162
|
data-recent-row-freshness-alpha={alpha.toFixed(2)}
|
|
8163
|
+
data-recent-row-freshness-radius="2.0"
|
|
6877
8164
|
style={{ pointerEvents: 'none', transition: 'opacity 200ms ease-out' }}
|
|
6878
8165
|
/>
|
|
6879
8166
|
);
|
|
@@ -6903,8 +8190,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6903
8190
|
fill={isRowActive ? pal.legendHeadline : pal.legendText}
|
|
6904
8191
|
fontSize="9"
|
|
6905
8192
|
fontFamily="monospace"
|
|
8193
|
+
/* Round 363 / Loop: recent-row text fontWeight 400
|
|
8194
|
+
→ 500 (font-medium tier). At fontSize=9 the
|
|
8195
|
+
default-weight 400 glyphs read thin against the
|
|
8196
|
+
panel chrome (pal.legendBox.fill with 0.92/0.97
|
|
8197
|
+
opacity); the 100-weight bump lifts the alias→
|
|
8198
|
+
alias text into the legibility band without
|
|
8199
|
+
changing geometry. The R320 count tspan fw=600
|
|
8200
|
+
(cold) / fw=700 (hot) override still wins
|
|
8201
|
+
locally via inline fontWeight on the inner
|
|
8202
|
+
tspan, so the count-vs-alias hierarchy stays
|
|
8203
|
+
intact:
|
|
8204
|
+
alias fw 500 (R363, this round)
|
|
8205
|
+
count fw 600/700 (R320)
|
|
8206
|
+
Sibling typography lift to R362 chip-row digit
|
|
8207
|
+
500 → 600 — both nudge a within-element data
|
|
8208
|
+
tier without disturbing the surrounding family
|
|
8209
|
+
baseline. data-recent-row-text-font-weight attr
|
|
8210
|
+
exposes the value for tests. */
|
|
8211
|
+
fontWeight="500"
|
|
6906
8212
|
data-recent-row-text={link.key}
|
|
6907
8213
|
data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
|
|
8214
|
+
data-recent-row-text-font-weight="500"
|
|
6908
8215
|
style={{
|
|
6909
8216
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
6910
8217
|
letterSpacing: isRowPinned ? '0.5px' : '0px',
|
|
@@ -6979,7 +8286,25 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6979
8286
|
>
|
|
6980
8287
|
{link.count}
|
|
6981
8288
|
</tspan>
|
|
6982
|
-
{
|
|
8289
|
+
{/* Round 418 / Loop: recent-row content preview
|
|
8290
|
+
gains opacity=0.7 wrapper — subordinate-text
|
|
8291
|
+
tier at the SVG-text scope. Pre-R418 the
|
|
8292
|
+
truncated content preview (e.g. " · hi there")
|
|
8293
|
+
inherited the row's full opacity, reading at
|
|
8294
|
+
the same emphasis as the alias text and
|
|
8295
|
+
count digit. R418 wraps it in a <tspan> at
|
|
8296
|
+
opacity=0.7 so the preview reads as
|
|
8297
|
+
subordinate metadata — sibling to R333-R341/
|
|
8298
|
+
R362/R369/R389/R410/R412 chip-internal-
|
|
8299
|
+
hierarchy "label tier" (opacity-70) at the
|
|
8300
|
+
HTML scope, and R317 subordinate-text-lift
|
|
8301
|
+
gray-500 → gray-400 family. The leading
|
|
8302
|
+
" · " separator stays at full opacity so
|
|
8303
|
+
the row punctuation rhythm holds. data-
|
|
8304
|
+
recent-row-content-tspan attr surfaces the
|
|
8305
|
+
subordinate wrapper for tests. */}
|
|
8306
|
+
{' · '}
|
|
8307
|
+
<tspan opacity="0.7" data-recent-row-content-tspan>{truncate(link.content, 8)}</tspan>
|
|
6983
8308
|
</text>
|
|
6984
8309
|
{lastAt ? (
|
|
6985
8310
|
/* Round 321 / Loop: lastAt freshness timestamp picks
|
|
@@ -7166,6 +8491,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7166
8491
|
surface. transition list extends letter-spacing
|
|
7167
8492
|
200ms ease-out alongside the existing opacity/
|
|
7168
8493
|
fill easings. */}
|
|
8494
|
+
{/* Round 368 / Loop: `+N more flows` footer text gains
|
|
8495
|
+
fontWeight=500 (font-medium tier). Sibling small-
|
|
8496
|
+
text fw lift family with R363 recent-row alias
|
|
8497
|
+
+ R364 legend-row label + R366 group-label count
|
|
8498
|
+
— all four lifts share the same theory: at small
|
|
8499
|
+
fontSize (9-11 px) against panel chrome, SVG-
|
|
8500
|
+
default fw 400 sits at the legibility floor;
|
|
8501
|
+
fw 500 brings the glyph into the deliberate-data
|
|
8502
|
+
band. fontStyle=italic + opacity 0.55 rest + R325
|
|
8503
|
+
letterSpacing 0.2 baseline + R344 hover-spread
|
|
8504
|
+
0.2 → 0.3 + R195 cyan fill on hover all preserved
|
|
8505
|
+
— the fw bump just thickens the italic stroke.
|
|
8506
|
+
Hover-state punch (R195 fill + R325 opacity 0.55
|
|
8507
|
+
→ 0.85 + R344 letter-spacing + R133 underline)
|
|
8508
|
+
stays as is, so the rest-vs-hover delta still
|
|
8509
|
+
reads clearly. data-recent-panel-more-font-weight
|
|
8510
|
+
attr exposes the value for tests. */}
|
|
7169
8511
|
<text
|
|
7170
8512
|
x="115" y="82"
|
|
7171
8513
|
textAnchor="middle"
|
|
@@ -7173,11 +8515,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7173
8515
|
fontSize="9"
|
|
7174
8516
|
fontFamily="monospace"
|
|
7175
8517
|
fontStyle="italic"
|
|
8518
|
+
fontWeight="500"
|
|
7176
8519
|
letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
|
|
7177
8520
|
opacity={hoveredRecentMore ? 0.85 : 0.55}
|
|
7178
8521
|
textDecoration={hoveredRecentMore ? 'underline' : 'none'}
|
|
7179
8522
|
data-recent-panel-more={moreCount}
|
|
7180
8523
|
data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
|
|
8524
|
+
data-recent-panel-more-font-weight="500"
|
|
7181
8525
|
style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
7182
8526
|
>
|
|
7183
8527
|
{`+ ${moreCount}`}
|
|
@@ -7229,7 +8573,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7229
8573
|
<rect
|
|
7230
8574
|
x="0" y="0" width="224" height="88" rx="10"
|
|
7231
8575
|
fill={pal.legendBox.fill}
|
|
7232
|
-
stroke
|
|
8576
|
+
// R423 sibling — legend panel rect stroke tints to
|
|
8577
|
+
// legendAccent on hover (mirrors recent-signal panel
|
|
8578
|
+
// above). 4-layer hover cue stack now symmetric across
|
|
8579
|
+
// both side panels.
|
|
8580
|
+
stroke={hoveredPanel === 'legend' ? pal.legendAccent : pal.legendBox.stroke}
|
|
7233
8581
|
// R348 sibling — legend panel rect opacity hover-state
|
|
7234
8582
|
// bump 0.92 → 0.97 (cyber) / 0.97 → 1 (light) on
|
|
7235
8583
|
// hoveredPanel === 'legend'. Pairs with the recent-signal
|
|
@@ -7321,12 +8669,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7321
8669
|
R336 introspection; the parent .textContent still
|
|
7322
8670
|
reads "{N} node(s)" so existing R310 count tests via
|
|
7323
8671
|
textContent unchanged. */}
|
|
8672
|
+
{/* R424 sibling — legend panel count digit fontWeight 600
|
|
8673
|
+
→ 700 on panel hover. Closes 5-layer panel hover cue
|
|
8674
|
+
stack symmetric across both side panels (recent-signal
|
|
8675
|
+
+ legend): depth (R135) + solidity (R348) + spacing
|
|
8676
|
+
(R345) + edge color (R423) + weight (R424). R310 base
|
|
8677
|
+
fw=600 + R292 tabular-nums + R266 fill transition + R336
|
|
8678
|
+
unit-tspan opacity-0.7 all preserved. Same "data tightens
|
|
8679
|
+
under attention" idiom R416 established at chip scope. */}
|
|
7324
8680
|
<text
|
|
7325
8681
|
x="211" y="21" textAnchor="end"
|
|
7326
|
-
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight=
|
|
8682
|
+
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight={hoveredPanel === 'legend' ? '700' : '600'}
|
|
8683
|
+
// R349 sibling — legend panel header count picks up
|
|
8684
|
+
// letterSpacing="0.2", one tier below the R301 panel
|
|
8685
|
+
// title 0.3. Pairs with the recent-signal panel count
|
|
8686
|
+
// letter-spacing above so the two corner panels' header
|
|
8687
|
+
// typography stays editorially symmetric.
|
|
8688
|
+
letterSpacing="0.2"
|
|
7327
8689
|
data-legend-panel-count
|
|
8690
|
+
data-legend-panel-count-letter-spacing="0.2"
|
|
7328
8691
|
style={{
|
|
7329
|
-
transition: 'fill 200ms ease-out',
|
|
8692
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
7330
8693
|
fontVariantNumeric: 'tabular-nums',
|
|
7331
8694
|
}}
|
|
7332
8695
|
>{sessions.length}<tspan opacity="0.7" data-legend-panel-count-unit> node{sessions.length === 1 ? '' : 's'}</tspan></text>
|
|
@@ -7545,14 +8908,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7545
8908
|
so this legend-internal circle is invisible to
|
|
7546
8909
|
that probe. pointerEvents:none so the ring can't
|
|
7547
8910
|
intercept the row click that produced it. */}
|
|
8911
|
+
{/* Round 402 / Loop: legend pin-ring strokeWidth 1.5
|
|
8912
|
+
→ 1.75. Sibling visual-weight bump (12th anchor)
|
|
8913
|
+
to R385 hub hover-ring strokeWidth 1.5 → 1.75 —
|
|
8914
|
+
both are pin/hover state indicators painted as
|
|
8915
|
+
stroke-only circles outside their target swatch
|
|
8916
|
+
with the R51 sentinel value 1.5. R402 lifts to
|
|
8917
|
+
1.75 (matching R385's choice) so the pin signal
|
|
8918
|
+
reads slightly heavier without crossing the
|
|
8919
|
+
R51 sentinel band (3 reserved for offline node).
|
|
8920
|
+
The R51 selector is gated to g[data-node]
|
|
8921
|
+
ancestors so this legend-internal circle (lives
|
|
8922
|
+
under a <g data-legend-status>) is invisible
|
|
8923
|
+
to the probe — same lesson R177/R385 documented.
|
|
8924
|
+
Visual-weight bump family (12 anchors now):
|
|
8925
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
8926
|
+
R295 legend swatch radius 5.5 → 6
|
|
8927
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
8928
|
+
R360 hub digit fontSize 11 → 12
|
|
8929
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
8930
|
+
R365 hub-highlight radius 5 → 5.5
|
|
8931
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
8932
|
+
R374 pressure-bar height 1.5 → 2
|
|
8933
|
+
R383 recent-row pip radius 1.8 → 2.0
|
|
8934
|
+
R384 minimap online dot 1.7 → 1.9
|
|
8935
|
+
R385 hub hover-ring stroke 1.5 → 1.75
|
|
8936
|
+
R402 legend pin-ring stroke 1.5 → 1.75 (this round)
|
|
8937
|
+
R181 always-mount opacity gate + 150ms transition
|
|
8938
|
+
+ pointerEvents:none all preserved. data-legend-
|
|
8939
|
+
pin-ring-stroke-width attr exposes the value for
|
|
8940
|
+
tests. */}
|
|
7548
8941
|
<circle
|
|
7549
8942
|
cx="16" cy={row.y0} r="8"
|
|
7550
8943
|
fill="none"
|
|
7551
8944
|
stroke={row.fill}
|
|
7552
|
-
strokeWidth="1.
|
|
8945
|
+
strokeWidth="1.75"
|
|
7553
8946
|
opacity={isPinned ? 1 : 0}
|
|
7554
8947
|
data-legend-pin-ring={row.key}
|
|
7555
8948
|
data-legend-pin-ring-pinned={isPinned ? 'true' : 'false'}
|
|
8949
|
+
data-legend-pin-ring-stroke-width="1.75"
|
|
7556
8950
|
style={{
|
|
7557
8951
|
pointerEvents: 'none',
|
|
7558
8952
|
transition: 'opacity 150ms ease-out',
|
|
@@ -7579,8 +8973,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7579
8973
|
fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
|
|
7580
8974
|
fontSize="11"
|
|
7581
8975
|
fontFamily="monospace"
|
|
8976
|
+
/* Round 364 / Loop: legend-row label fontWeight 400
|
|
8977
|
+
→ 500. Sibling typography lift to R363 recent-row
|
|
8978
|
+
text fw 400 → 500. Both surfaces render small
|
|
8979
|
+
monospace text against panel chrome at fontSize
|
|
8980
|
+
9-11 where SVG-default fw 400 sits at the
|
|
8981
|
+
legibility floor. font-medium tier (500) gives
|
|
8982
|
+
the label a more deliberate-data register.
|
|
8983
|
+
The R309 per-row count text (separate element
|
|
8984
|
+
below at x=215 textAnchor=end) keeps its own
|
|
8985
|
+
fontWeight 600 inline override, so the count >
|
|
8986
|
+
label hierarchy stays intact at the legend
|
|
8987
|
+
scope same as R363 holds it at the recent-row
|
|
8988
|
+
scope:
|
|
8989
|
+
legend label fw 500 (R364, this round)
|
|
8990
|
+
legend count fw 600 (R309)
|
|
8991
|
+
recent alias fw 500 (R363)
|
|
8992
|
+
recent count fw 600/700 (R320)
|
|
8993
|
+
data-legend-row-label-font-weight attr exposes
|
|
8994
|
+
the value for tests. R219 letter-spacing pin
|
|
8995
|
+
tween + R55 fill transition + R181 always-mount
|
|
8996
|
+
pin ring all preserved. */
|
|
8997
|
+
fontWeight="500"
|
|
7582
8998
|
data-legend-row-label={row.key}
|
|
7583
8999
|
data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
|
|
9000
|
+
data-legend-row-label-font-weight="500"
|
|
7584
9001
|
style={{
|
|
7585
9002
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
7586
9003
|
letterSpacing: isPinned ? '0.5px' : '0px',
|
|
@@ -7899,14 +9316,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7899
9316
|
const isOn = s.status !== 'offline' || !!sseN;
|
|
7900
9317
|
const st = nodeStatus(s, isOn, isLight);
|
|
7901
9318
|
return (
|
|
9319
|
+
/* Round 372 / Loop: minimap offline-dot opacity
|
|
9320
|
+
0.5 → 0.6. Sibling stale-state legibility lift
|
|
9321
|
+
to R358 freshness ramp floor 0.25 → 0.30 + R317
|
|
9322
|
+
subordinate-text-lift family. Pre-R372 R198
|
|
9323
|
+
drew offline dots at α=0.5 (44 % below online
|
|
9324
|
+
0.9). The minimap is a small overlay against
|
|
9325
|
+
the canvas backdrop — at α=0.5 offline dots
|
|
9326
|
+
sat at the legibility floor when the minimap
|
|
9327
|
+
mounted (only on non-default view). R372 lifts
|
|
9328
|
+
offline 0.5 → 0.6 for +20 % relative presence;
|
|
9329
|
+
online stays at 0.9 so the offline/online
|
|
9330
|
+
contrast ratio is now 0.6/0.9 ≈ 0.67 (vs prior
|
|
9331
|
+
0.5/0.9 ≈ 0.56) — still a clear two-tier
|
|
9332
|
+
distinction. R198 opacity + fill + r transition
|
|
9333
|
+
list preserved so status flips still ease
|
|
9334
|
+
smoothly. data-topo-minimap-dot-opacity attr
|
|
9335
|
+
exposes the resolved value for tests. */
|
|
7902
9336
|
<circle
|
|
7903
9337
|
key={s.alias}
|
|
7904
9338
|
cx={p.x * sx} cy={p.y * sy}
|
|
7905
|
-
|
|
9339
|
+
/* Round 384 / Loop: minimap online dot radius 1.7
|
|
9340
|
+
→ 1.9. Sibling visual-weight bump (10th anchor)
|
|
9341
|
+
to R383 recent-row pip 1.8 → 2.0. R198 designed
|
|
9342
|
+
the dots at 1.7 (online) / 1.2 (offline) — at
|
|
9343
|
+
the minimap's 120 × 82 scale these read clearly
|
|
9344
|
+
but the online ↔ offline contrast was modest
|
|
9345
|
+
(1.7/1.2 = 1.42×). R384 bumps online to 1.9 so
|
|
9346
|
+
the tier delta widens to 1.58× (1.9/1.2). Pair
|
|
9347
|
+
completes minimap-dot legibility polish:
|
|
9348
|
+
R358 (era R372) offline opacity 0.5 → 0.6
|
|
9349
|
+
R384 online radius 1.7 → 1.9 (this round)
|
|
9350
|
+
R198 transition list (opacity + fill + r 200ms)
|
|
9351
|
+
preserved so status flips still ease smoothly.
|
|
9352
|
+
data-topo-minimap-dot-radius attr exposes the
|
|
9353
|
+
resolved value for tests. */
|
|
9354
|
+
/* Round 392 / Loop: minimap online dot opacity
|
|
9355
|
+
0.9 → 0.95. Theme-consistency / canvas-presence
|
|
9356
|
+
polish family (7th anchor) — mirrors R386's
|
|
9357
|
+
hub-highlight idle 0.9 → 0.95 lift on the
|
|
9358
|
+
minimap surface: the online-dot's idle alpha
|
|
9359
|
+
gap (0.10 against full presence) halves to
|
|
9360
|
+
0.05, so the live-fleet anchors on the minimap
|
|
9361
|
+
read more confidently. Offline dot stays at
|
|
9362
|
+
R372 0.6 — the binary online/offline contrast
|
|
9363
|
+
ratio shifts from 0.6/0.9 ≈ 0.67 to 0.6/0.95
|
|
9364
|
+
≈ 0.63, preserved as a clear two-tier
|
|
9365
|
+
distinction. R198 opacity + fill + r transition
|
|
9366
|
+
list + R384 r=1.9 + R372 offline 0.6 all
|
|
9367
|
+
preserved. data-topo-minimap-dot-opacity attr
|
|
9368
|
+
bumps to '0.95' for tests. */
|
|
9369
|
+
/* Round 421 / Loop: online dot opacity 0.95 → 1.0
|
|
9370
|
+
on minimap container hover. Sibling to R346
|
|
9371
|
+
viewport rect strokeWidth/opacity hover tween.
|
|
9372
|
+
When the user hovers the minimap container,
|
|
9373
|
+
the live-fleet anchors brighten from R392
|
|
9374
|
+
baseline (0.95) to full opacity in concert
|
|
9375
|
+
with the R346 viewport rect lift. Offline
|
|
9376
|
+
stays at R372 0.6 — hover state focuses
|
|
9377
|
+
attention on the ACTIVE anchors, not the
|
|
9378
|
+
stale ones. data-topo-minimap-dot-opacity
|
|
9379
|
+
attr (R392) reflects the resolved hover-
|
|
9380
|
+
state value for tests. */
|
|
9381
|
+
r={isOn ? 1.9 : 1.2}
|
|
7906
9382
|
fill={st.primary}
|
|
7907
|
-
opacity={isOn ? 0.
|
|
9383
|
+
opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
7908
9384
|
data-topo-minimap-dot={s.alias}
|
|
7909
9385
|
data-topo-minimap-dot-online={isOn ? 'true' : 'false'}
|
|
9386
|
+
data-topo-minimap-dot-opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
9387
|
+
data-topo-minimap-dot-radius={isOn ? 1.9 : 1.2}
|
|
7910
9388
|
style={{
|
|
7911
9389
|
transition: 'opacity 200ms ease-out, fill 200ms ease-out, r 200ms ease-out',
|
|
7912
9390
|
} as React.CSSProperties}
|
|
@@ -7947,17 +9425,66 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7947
9425
|
information element to lift it above ambient
|
|
7948
9426
|
chrome. opacity 0.9 stays — strokeWidth alone
|
|
7949
9427
|
does the lifting. */}
|
|
9428
|
+
{/* Round 379 / Loop: minimap viewport rect picks up
|
|
9429
|
+
strokeLinejoin='round'. Pre-R379 the rect's 4
|
|
9430
|
+
corners painted with default 'miter' joins —
|
|
9431
|
+
sharp 90° corners with a small miter overshoot
|
|
9432
|
+
(≈ strokeWidth × 1.4 = 2.1 px at sw=1.5). R379
|
|
9433
|
+
rounds the joins so corners arc smoothly through
|
|
9434
|
+
a quarter-circle of radius ≈ strokeWidth/2. At
|
|
9435
|
+
sw=1.5 that's a 0.75-px radius — subtle but
|
|
9436
|
+
matches the same stroke-softening vocabulary R288
|
|
9437
|
+
chrome icons (zoom/reset/fullscreen) and R378
|
|
9438
|
+
flow-rail already speak. Geometry-safe: stroke-
|
|
9439
|
+
linejoin only affects the corner overshoot, the
|
|
9440
|
+
rect's bbox is unchanged. R287 strokeWidth=1.5 +
|
|
9441
|
+
R346 hover-state strokeWidth/opacity bump + R199
|
|
9442
|
+
smoothView x/y/w/h transition all preserved.
|
|
9443
|
+
data-topo-minimap-viewport-linejoin attr exposes
|
|
9444
|
+
the value for tests. */}
|
|
9445
|
+
{/* Round 393 / Loop: minimap viewport rect rx 0 → 2.
|
|
9446
|
+
Pre-R393 the cyan-stroked viewport rect (the frame
|
|
9447
|
+
showing what's currently visible on the canvas)
|
|
9448
|
+
drew with sharp corners inside the R332 rounded
|
|
9449
|
+
minimap container (rx=8). A small frame with sharp
|
|
9450
|
+
corners sitting inside a rounded container reads
|
|
9451
|
+
as visually loud — the 90° corners catch the eye
|
|
9452
|
+
against the soft container edge. R393 adds rx=2
|
|
9453
|
+
so the viewport corners get a subtle radius that
|
|
9454
|
+
matches the family's softening idiom on a sub-
|
|
9455
|
+
element scale. The R379 strokeLinejoin='round'
|
|
9456
|
+
already softens stroke joins; R393 adds a complete
|
|
9457
|
+
geometric soften via rx.
|
|
9458
|
+
Corner-radius cascade (7 anchors now):
|
|
9459
|
+
R330 canvas rx 12
|
|
9460
|
+
R331 panels rx 10
|
|
9461
|
+
R332 minimap container rx 8
|
|
9462
|
+
R375 Layout-toggle rx 8
|
|
9463
|
+
R376 nodeSize/zoom rx 8
|
|
9464
|
+
R390 hover-detail rx 10
|
|
9465
|
+
R393 minimap viewport rx 2 (this round, sub-element)
|
|
9466
|
+
The 2-px radius is intentionally small — the
|
|
9467
|
+
viewport rect is typically only 30-50px wide,
|
|
9468
|
+
where rx=2 reads as "rounded enough to not snap"
|
|
9469
|
+
without feeling pillowy. data-topo-minimap-
|
|
9470
|
+
viewport-rx attr exposes the resolved value
|
|
9471
|
+
for tests. R346 hover-state tweens (strokeWidth
|
|
9472
|
+
+ opacity) preserved verbatim. */}
|
|
7950
9473
|
<rect
|
|
7951
9474
|
x={Math.max(0, rectX)} y={Math.max(0, rectY)}
|
|
7952
9475
|
width={Math.max(0, Math.min(MW - Math.max(0, rectX), rectW))}
|
|
7953
9476
|
height={Math.max(0, Math.min(MH - Math.max(0, rectY), rectH))}
|
|
9477
|
+
rx="2"
|
|
7954
9478
|
fill="none" stroke={pal.legendAccent}
|
|
7955
9479
|
// R346: strokeWidth + opacity tween on container hover.
|
|
7956
9480
|
strokeWidth={hoveredMinimap ? '1.75' : '1.5'}
|
|
9481
|
+
strokeLinejoin="round"
|
|
7957
9482
|
opacity={hoveredMinimap ? '1' : '0.9'}
|
|
7958
9483
|
data-topo-minimap-viewport
|
|
9484
|
+
data-topo-minimap-viewport-rx="2"
|
|
7959
9485
|
data-topo-minimap-viewport-smooth={smoothView ? 'true' : 'false'}
|
|
7960
9486
|
data-topo-minimap-viewport-hover={hoveredMinimap ? 'true' : 'false'}
|
|
9487
|
+
data-topo-minimap-viewport-linejoin="round"
|
|
7961
9488
|
style={{
|
|
7962
9489
|
transition: smoothView
|
|
7963
9490
|
? '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'
|
|
@@ -8016,8 +9543,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8016
9543
|
own transition-colors. Same R254 holdover pattern that
|
|
8017
9544
|
R263 just closed at the canvas wrapper scope, now at the
|
|
8018
9545
|
chrome strip's nodeSize sub-wrapper scope. */}
|
|
9546
|
+
{/* Round 376 / Loop: nodeSize wrapper rounded-md → rounded-lg.
|
|
9547
|
+
Sibling polish to R375 Layout-toggle wrapper. Three
|
|
9548
|
+
chrome-strip segmented controls now all share rounded-lg
|
|
9549
|
+
at the wrapper tier:
|
|
9550
|
+
R375 Layout-toggle wrapper rounded-lg 8 px
|
|
9551
|
+
R376 nodeSize wrapper rounded-lg 8 px (this round)
|
|
9552
|
+
R376 zoom wrapper rounded-lg 8 px (this round)
|
|
9553
|
+
Individual atomic chrome buttons (reset, fullscreen) keep
|
|
9554
|
+
rounded-md (6 px) as their own atomic-button tier — the
|
|
9555
|
+
chrome strip's typography now expresses a clear two-tier
|
|
9556
|
+
hierarchy: 'segmented control container' (rounded-lg)
|
|
9557
|
+
vs 'standalone button' (rounded-md). Pure paint change,
|
|
9558
|
+
no layout shift. */}
|
|
8019
9559
|
<div
|
|
8020
|
-
className="flex items-center rounded-
|
|
9560
|
+
className="flex items-center rounded-lg border overflow-hidden"
|
|
9561
|
+
data-topo-chrome-nodesize-radius="rounded-lg"
|
|
8021
9562
|
style={{
|
|
8022
9563
|
background: pal.legendBox.fill,
|
|
8023
9564
|
borderColor: pal.containerBorder,
|
|
@@ -8097,8 +9638,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8097
9638
|
data-topo-chrome-view-group-leader marks the boundary surface
|
|
8098
9639
|
for the test probe; data-topo-chrome-fleet-group-trailer marks
|
|
8099
9640
|
the nodeSize wrapper's right edge for the gap measurement. */}
|
|
9641
|
+
{/* R376 sibling — zoom wrapper rounded-md → rounded-lg.
|
|
9642
|
+
Closes the chrome-strip segmented-control corner radius
|
|
9643
|
+
cascade (Layout R375 + nodeSize R376 + zoom R376). */}
|
|
8100
9644
|
<div
|
|
8101
|
-
className="ml-1.5 flex items-center rounded-
|
|
9645
|
+
className="ml-1.5 flex items-center rounded-lg border overflow-hidden"
|
|
9646
|
+
data-topo-chrome-zoom-wrapper-radius="rounded-lg"
|
|
8102
9647
|
style={{
|
|
8103
9648
|
background: pal.legendBox.fill,
|
|
8104
9649
|
borderColor: pal.containerBorder,
|
|
@@ -8114,7 +9659,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8114
9659
|
// R196: press-state deepens bg one tier above hover (white/5
|
|
8115
9660
|
// → white/10) so mouse-down has a tactile dim before the
|
|
8116
9661
|
// R186 icon pop fires on release.
|
|
8117
|
-
|
|
9662
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
9663
|
+
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"
|
|
8118
9664
|
style={{ color: pal.legendText }}
|
|
8119
9665
|
aria-label="Zoom out"
|
|
8120
9666
|
title="Zoom out (−)"
|
|
@@ -8122,11 +9668,25 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8122
9668
|
{/* R186: icon pop on click. CSS animation runs once;
|
|
8123
9669
|
React removes the class after 240ms so a quick
|
|
8124
9670
|
re-click can replay. */}
|
|
9671
|
+
{/* Round 352 / Loop: zoom-out icon picks up group-hover:
|
|
9672
|
+
scale-110 — sibling to R350 reset hover-rotate. Pre-
|
|
9673
|
+
R352 hovering the zoom button only changed the bg
|
|
9674
|
+
(white/5); the icon inside stayed perfectly still.
|
|
9675
|
+
R352 lifts the icon 10% on hover for a tactile "this
|
|
9676
|
+
button does something" cue. The R186 anet-chrome-pop
|
|
9677
|
+
keyframe (220ms scale 1→1.06→1) still owns transform
|
|
9678
|
+
during click via CSS-animation precedence over
|
|
9679
|
+
transition-transform; after the pop ends + className
|
|
9680
|
+
is removed, the group-hover scale-110 picks up
|
|
9681
|
+
smoothly. `transform-gpu` hint promotes the svg to
|
|
9682
|
+
its own compositor layer for crisper edges during
|
|
9683
|
+
the scale tween. Sibling change on zoom-in icon
|
|
9684
|
+
below. */}
|
|
8125
9685
|
<svg
|
|
8126
9686
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8127
9687
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8128
9688
|
aria-hidden
|
|
8129
|
-
className={chromePopping === 'zoom-out' ? 'anet-chrome-pop' :
|
|
9689
|
+
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-out' ? ' anet-chrome-pop' : ''}`}
|
|
8130
9690
|
data-topo-chrome-zoom-out-icon
|
|
8131
9691
|
><path d="M5 12h14" /></svg>
|
|
8132
9692
|
</button>
|
|
@@ -8183,6 +9743,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8183
9743
|
// R347: letter-spacing hover tween — extends R344/R345
|
|
8184
9744
|
// hover-letter-spacing family into the chrome strip.
|
|
8185
9745
|
letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
|
|
9746
|
+
// Round 420 / Loop: zoom-level readout gains a SECOND
|
|
9747
|
+
// hover axis — fontWeight 500 → 600 on hover. Sibling
|
|
9748
|
+
// to R347 (same element, hover letter-spacing tween).
|
|
9749
|
+
// The chrome strip's only data display now has a two-
|
|
9750
|
+
// axis hover signature (letter-spacing + fontWeight),
|
|
9751
|
+
// matching the R416 chip-row chip digit hover-bold
|
|
9752
|
+
// pattern at the chrome scope. Pre-R420 hovering only
|
|
9753
|
+
// spread the digits 0 → 0.5px; the weight stayed at
|
|
9754
|
+
// R332's 'font-medium' (500) baseline. Post-R420
|
|
9755
|
+
// hover lifts BOTH letter-spacing AND weight so the
|
|
9756
|
+
// percent reads with the same data-tier emphasis
|
|
9757
|
+
// intensification the chip-row chips do on hover.
|
|
9758
|
+
// Inline fontWeight overrides the className's
|
|
9759
|
+
// 'font-medium' since they target the same property.
|
|
9760
|
+
// 200ms transition list extends to font-weight for
|
|
9761
|
+
// smooth easing. data-topo-chrome-zoom-level-hover
|
|
9762
|
+
// attr surfaces the hover state for tests.
|
|
9763
|
+
fontWeight: hoveredZoomLevel ? 600 : 500,
|
|
8186
9764
|
/* Round 264 / Loop: zoom level readout gains theme-toggle
|
|
8187
9765
|
transition. The span has theme-driven color (pal.
|
|
8188
9766
|
legendText) + border-x (pal.containerBorder via the
|
|
@@ -8191,7 +9769,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8191
9769
|
on theme flip while siblings eased. Sibling treatment
|
|
8192
9770
|
to the nodeSize + zoom wrapper transitions added this
|
|
8193
9771
|
round. */
|
|
8194
|
-
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out',
|
|
9772
|
+
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
|
|
8195
9773
|
}}
|
|
8196
9774
|
title="Current zoom level"
|
|
8197
9775
|
>
|
|
@@ -8202,18 +9780,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8202
9780
|
data-topo-chrome-zoom-in
|
|
8203
9781
|
data-topo-chrome-zoom-in-popping={chromePopping === 'zoom-in' ? 'true' : 'false'}
|
|
8204
9782
|
// R196: press-state (mirror of zoom-out above).
|
|
8205
|
-
|
|
9783
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
9784
|
+
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"
|
|
8206
9785
|
style={{ color: pal.legendText }}
|
|
8207
9786
|
aria-label="Zoom in"
|
|
8208
9787
|
title="Zoom in (+)"
|
|
8209
9788
|
>
|
|
8210
9789
|
{/* R186: icon pop on click. Same one-shot CSS animation
|
|
8211
9790
|
as zoom-out; React removes the class after 240ms. */}
|
|
9791
|
+
{/* R352 sibling — zoom-in icon picks up the same
|
|
9792
|
+
group-hover:scale-110 family. Mirror change at
|
|
9793
|
+
the zoom-out icon above. */}
|
|
8212
9794
|
<svg
|
|
8213
9795
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8214
9796
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8215
9797
|
aria-hidden
|
|
8216
|
-
className={chromePopping === 'zoom-in' ? 'anet-chrome-pop' :
|
|
9798
|
+
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-in' ? ' anet-chrome-pop' : ''}`}
|
|
8217
9799
|
data-topo-chrome-zoom-in-icon
|
|
8218
9800
|
><path d="M12 5v14M5 12h14" /></svg>
|
|
8219
9801
|
</button>
|
|
@@ -8222,9 +9804,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8222
9804
|
onClick={() => { armResetSpin(); resetView(); }}
|
|
8223
9805
|
data-topo-chrome-reset
|
|
8224
9806
|
data-topo-chrome-reset-spinning={resetSpinning ? 'true' : 'false'}
|
|
9807
|
+
data-topo-chrome-reset-hover={hoveredReset ? 'true' : 'false'}
|
|
9808
|
+
// R350: hover state drives the icon transform below.
|
|
9809
|
+
onMouseEnter={() => setHoveredReset(true)}
|
|
9810
|
+
onMouseLeave={() => setHoveredReset(false)}
|
|
9811
|
+
onFocus={() => setHoveredReset(true)}
|
|
9812
|
+
onBlur={() => setHoveredReset(false)}
|
|
8225
9813
|
// R196: press-state deepens before R184 reset-spin fires on
|
|
8226
9814
|
// release — mouse-down dim then 450ms spin = full handshake.
|
|
8227
|
-
|
|
9815
|
+
/* Round 400 / Loop · milestone: chrome reset + fullscreen
|
|
9816
|
+
buttons gain hover:-translate-y-px lift — closes the
|
|
9817
|
+
hover-lift gesture vocabulary across every standalone
|
|
9818
|
+
interactive HTML element in TopoGraph. Segmented
|
|
9819
|
+
controls (zoom -/+, nodeSize S/M/L, Layout Ring/Grid)
|
|
9820
|
+
intentionally stay planted: lifting one segment of a
|
|
9821
|
+
unified strip would tear the visual unity of the
|
|
9822
|
+
segmented control. Only the standalone chrome buttons
|
|
9823
|
+
(reset, fullscreen) get the lift.
|
|
9824
|
+
Gesture vocabulary post-R400 (now complete across HTML):
|
|
9825
|
+
chip-row chips (3×) -1 px R398, R399
|
|
9826
|
+
filter pin pills (4×) -1 px R397
|
|
9827
|
+
recent-signal row -1 px R143
|
|
9828
|
+
legend row -1 px R144
|
|
9829
|
+
reset button -1 px R400 (this round)
|
|
9830
|
+
fullscreen button -1 px R400 (this round)
|
|
9831
|
+
Every standalone interactive HTML surface in TopoGraph
|
|
9832
|
+
now lifts on hover. data-topo-chrome-reset-hover-lift
|
|
9833
|
+
attr surfaces the lift for tests. */
|
|
9834
|
+
className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 hover:-translate-y-px transition-colors transition-transform duration-200 ease-out transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60"
|
|
9835
|
+
data-topo-chrome-reset-hover-lift="true"
|
|
8228
9836
|
style={{ background: pal.legendBox.fill, borderColor: pal.containerBorder, color: pal.legendText }}
|
|
8229
9837
|
aria-label="Reset view"
|
|
8230
9838
|
title="Reset zoom + pan (0, or double-click the canvas)"
|
|
@@ -8251,6 +9859,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8251
9859
|
aria-hidden
|
|
8252
9860
|
className={resetSpinning ? 'anet-reset-spin' : undefined}
|
|
8253
9861
|
data-topo-chrome-reset-icon
|
|
9862
|
+
// R350: hover-rotate preview of the R184 click-spin.
|
|
9863
|
+
// Gated on !resetSpinning so the anet-reset-spin keyframe
|
|
9864
|
+
// owns transform during its 450ms run. transformOrigin
|
|
9865
|
+
// 'center' so rotation pivots around the icon's centre
|
|
9866
|
+
// (default would be top-left and the icon would arc).
|
|
9867
|
+
style={{
|
|
9868
|
+
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
|
|
9869
|
+
transformOrigin: 'center',
|
|
9870
|
+
transition: 'transform 200ms ease-out',
|
|
9871
|
+
}}
|
|
9872
|
+
data-topo-chrome-reset-icon-hover={hoveredReset && !resetSpinning ? 'true' : 'false'}
|
|
8254
9873
|
>
|
|
8255
9874
|
<path d="M3 12a9 9 0 1 0 9-9 9 9 0 0 0-6.4 2.6L3 8" />
|
|
8256
9875
|
<path d="M3 3v5h5" />
|
|
@@ -8284,11 +9903,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8284
9903
|
its inactive state benefits from the same "hover previews
|
|
8285
9904
|
active state" idiom R163 designed. Sibling treatment to
|
|
8286
9905
|
the nodeSize buttons at line ~6711. */
|
|
8287
|
-
|
|
9906
|
+
// R353: `group` lets the inner svg respond via group-hover —
|
|
9907
|
+
// sibling to R352 zoom buttons. Closes the chrome-strip per-
|
|
9908
|
+
// icon hover-affordance arc (zoom-out / zoom-in / reset /
|
|
9909
|
+
// fullscreen now all carry an icon-level hover gesture in
|
|
9910
|
+
// addition to the bg hover).
|
|
9911
|
+
// R400: hover translateY(-1px) lift — see reset button above for family doc.
|
|
9912
|
+
className={`group p-1.5 rounded-md border hover:-translate-y-px transition-colors transition-transform duration-200 ease-out transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
|
|
8288
9913
|
isFullscreen
|
|
8289
9914
|
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
|
|
8290
9915
|
: 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
|
|
8291
9916
|
}${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
|
|
9917
|
+
data-topo-chrome-fullscreen-hover-lift="true"
|
|
8292
9918
|
style={{
|
|
8293
9919
|
borderColor: pal.containerBorder,
|
|
8294
9920
|
...(isFullscreen
|
|
@@ -8303,12 +9929,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8303
9929
|
at the reset icon above. data-topo-chrome-fullscreen-
|
|
8304
9930
|
icon attribute exposes BOTH variants (entered / exited)
|
|
8305
9931
|
for the round's stroke-width regression probe. */}
|
|
9932
|
+
{/* Round 353 / Loop: fullscreen icon (both enter + exit
|
|
9933
|
+
variants) picks up the R352 family group-hover:scale-110.
|
|
9934
|
+
Pre-R353 hovering the button only changed the bg; the
|
|
9935
|
+
icon stayed still. R353 lifts the icon 10 % on hover —
|
|
9936
|
+
same gesture vocabulary as the zoom buttons. transform-
|
|
9937
|
+
gpu hint promotes the svg to its own compositor layer
|
|
9938
|
+
for crisper edges during the scale tween. Closes the
|
|
9939
|
+
chrome-strip per-icon hover-affordance arc. */}
|
|
8306
9940
|
{isFullscreen ? (
|
|
8307
|
-
<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">
|
|
9941
|
+
<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">
|
|
8308
9942
|
<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" />
|
|
8309
9943
|
</svg>
|
|
8310
9944
|
) : (
|
|
8311
|
-
<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">
|
|
9945
|
+
<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">
|
|
8312
9946
|
<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" />
|
|
8313
9947
|
</svg>
|
|
8314
9948
|
)}
|