@sleep2agi/agent-network-dashboard 0.5.1-preview.12 → 0.5.1-preview.126
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/prerender-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/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/08wd64qaxk2x..js +4 -0
- package/.next/static/chunks/0_8eoaavz7.7w.js +1 -0
- package/.next/static/chunks/0a4hmfvj-81x5.css +2 -0
- package/.next/static/chunks/0c~70gswmge-5.js +1 -0
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +2469 -185
- package/package.json +1 -1
- package/screenshots/v0.11.0-147/after.png +0 -0
- package/scripts/p0-147-screenshot.mjs +53 -0
- 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-fullscreen-icon-sw-test.mjs +92 -0
- package/scripts/topo-chrome-reset-icon-sw-test.mjs +80 -0
- package/scripts/topo-chrome-segmented-radius-test.mjs +100 -0
- package/scripts/topo-chrome-zoom-icon-sw-test.mjs +90 -0
- package/scripts/topo-click-ripple-opacity-test.mjs +99 -0
- package/scripts/topo-dense-alias-opacity-test.mjs +68 -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-letter-spacing-test.mjs +86 -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-endpoint-hover-sw-test.mjs +127 -0
- package/scripts/topo-edge-freshness-floor-test.mjs +99 -0
- package/scripts/topo-edge-particle-hover-r-test.mjs +113 -0
- package/scripts/topo-edge-particle-radius-test.mjs +76 -0
- package/scripts/topo-edge-visible-linecap-test.mjs +89 -0
- package/scripts/topo-endpoint-ring-r-hover-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-hover-sw-test.mjs +113 -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-group-label-count-fw-test.mjs +100 -0
- package/scripts/topo-group-label-fw-pin-test.mjs +99 -0
- package/scripts/topo-group-label-letter-spacing-test.mjs +113 -0
- package/scripts/topo-group-pip-fontsize-test.mjs +106 -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-core-fill-hover-test.mjs +85 -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-r-hover-test.mjs +82 -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-hover-opacity-test.mjs +119 -0
- package/scripts/topo-hub-spoke-hover-sw-test.mjs +121 -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-radius-test.mjs +87 -0
- package/scripts/topo-legend-count-active-opacity-test.mjs +102 -0
- package/scripts/topo-legend-count-pin-fw-test.mjs +90 -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-legend-row-letter-spacing-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-opacity-test.mjs +96 -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-hover-opacity-test.mjs +104 -0
- package/scripts/topo-node-halo-light-offline-test.mjs +80 -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-fw-test.mjs +75 -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-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-count-pin-fw-test.mjs +106 -0
- package/scripts/topo-recent-row-letter-spacing-test.mjs +109 -0
- package/scripts/topo-recent-row-pip-hover-r-test.mjs +104 -0
- package/scripts/topo-recent-row-text-fontweight-test.mjs +90 -0
- package/scripts/topo-runtime-icon-hover-test.mjs +96 -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-status-ring-hover-sw-test.mjs +105 -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/0rwo2q9_by3o-.css +0 -2
- package/.next/static/chunks/122abdjq6gm8i.js +0 -4
- package/.next/static/chunks/156q5y0rq19h5.js +0 -1
- package/.next/static/chunks/163kbbv9y-8_7.js +0 -1
- /package/.next/static/{xhrrmtOS6EmcuOXkSdTGX → nZZeDhR9rXaGlwl6okEGV}/_buildManifest.js +0 -0
- /package/.next/static/{xhrrmtOS6EmcuOXkSdTGX → nZZeDhR9rXaGlwl6okEGV}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{xhrrmtOS6EmcuOXkSdTGX → nZZeDhR9rXaGlwl6okEGV}/_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
|
}
|
|
@@ -1823,12 +1857,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1823
1857
|
while honoring R328's wider baseline rhythm. data-topo-
|
|
1824
1858
|
chrome-layout-trailer attr unchanged — it still marks
|
|
1825
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. */}
|
|
1826
1877
|
<div
|
|
1827
|
-
className="mr-0.5 inline-flex rounded-
|
|
1878
|
+
className="mr-0.5 inline-flex rounded-lg border overflow-hidden"
|
|
1828
1879
|
style={{ borderColor: pal.containerBorder, transition: 'border-color 200ms ease-out' }}
|
|
1829
1880
|
role="group"
|
|
1830
1881
|
aria-label="Topology layout"
|
|
1831
1882
|
data-topo-chrome-layout-trailer
|
|
1883
|
+
data-topo-chrome-layout-radius="rounded-lg"
|
|
1832
1884
|
>
|
|
1833
1885
|
<button
|
|
1834
1886
|
onClick={() => { popChrome('layout-ring'); if (layout !== 'ring') toggleLayout(); }}
|
|
@@ -1989,11 +2041,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1989
2041
|
7th surface in the info-density tabular-nums
|
|
1990
2042
|
sweep — and the first on the HTML side
|
|
1991
2043
|
(previous 6 were SVG <text>/<tspan>). */
|
|
1992
|
-
|
|
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 ${
|
|
1993
2075
|
workingCount > 0
|
|
1994
|
-
? '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'
|
|
1995
2077
|
: 'bg-green-500/10 text-green-300 border-green-500/20'
|
|
1996
2078
|
}`}
|
|
2079
|
+
data-chip-hover-lift={workingCount > 0 ? 'true' : 'false'}
|
|
2080
|
+
data-chip-group-hover-brighten="true"
|
|
1997
2081
|
data-working-chip
|
|
1998
2082
|
data-working-chip-aliases={workingAliases.join(',')}
|
|
1999
2083
|
data-pin-mirror={pinnedStatus === 'working' ? 'true' : 'false'}
|
|
@@ -2063,7 +2147,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2063
2147
|
pattern: small label spans demote, value stays
|
|
2064
2148
|
prominent. data-working-chip-unit exposes the
|
|
2065
2149
|
span for tests. */}
|
|
2066
|
-
{
|
|
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>
|
|
2067
2161
|
</span>
|
|
2068
2162
|
<span
|
|
2069
2163
|
// Round 201 / Loop: online chip — mirror of the working
|
|
@@ -2077,11 +2171,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2077
2171
|
/* Round 232 / Loop: tabular-nums on online chip
|
|
2078
2172
|
(sibling treatment to working chip — same row,
|
|
2079
2173
|
same digit-jitter physics on count crossings). */
|
|
2080
|
-
|
|
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 ${
|
|
2081
2177
|
onlineNodes.length > 0
|
|
2082
|
-
? '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'
|
|
2083
2179
|
: 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'
|
|
2084
2180
|
}`}
|
|
2181
|
+
data-chip-hover-lift={onlineNodes.length > 0 ? 'true' : 'false'}
|
|
2182
|
+
data-chip-group-hover-brighten="true"
|
|
2085
2183
|
data-online-chip
|
|
2086
2184
|
data-online-chip-aliases={onlineAliases.join(',')}
|
|
2087
2185
|
data-pin-mirror={pinnedStatus === 'idle' ? 'true' : 'false'}
|
|
@@ -2126,7 +2224,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2126
2224
|
}}
|
|
2127
2225
|
>
|
|
2128
2226
|
{/* R337 sibling — online chip unit demotion. */}
|
|
2129
|
-
{
|
|
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>
|
|
2130
2229
|
</span>
|
|
2131
2230
|
</>
|
|
2132
2231
|
);
|
|
@@ -2253,8 +2352,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2253
2352
|
title={`${w} working · ${i} idle · ${o} offline`}
|
|
2254
2353
|
data-fleet-pressure
|
|
2255
2354
|
>
|
|
2256
|
-
|
|
2257
|
-
|
|
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">
|
|
2258
2394
|
{seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
|
|
2259
2395
|
{seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
|
|
2260
2396
|
{seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
|
|
@@ -2311,7 +2447,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2311
2447
|
data-active-filter="status"
|
|
2312
2448
|
data-filter-match-count={matchCount}
|
|
2313
2449
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2314
|
-
|
|
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"
|
|
2315
2454
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2316
2455
|
onClick={() => setPinnedStatus(null)}
|
|
2317
2456
|
style={{
|
|
@@ -2325,12 +2464,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2325
2464
|
cursor: 'pointer',
|
|
2326
2465
|
}}
|
|
2327
2466
|
>
|
|
2328
|
-
|
|
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>
|
|
2329
2479
|
<button
|
|
2330
2480
|
type="button"
|
|
2331
2481
|
aria-label={`Clear ${pinnedStatus} filter`}
|
|
2332
2482
|
onClick={(e) => { e.stopPropagation(); setPinnedStatus(null); }}
|
|
2333
|
-
|
|
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"
|
|
2334
2498
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2335
2499
|
>×</button>
|
|
2336
2500
|
</span>
|
|
@@ -2349,7 +2513,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2349
2513
|
data-active-filter="group"
|
|
2350
2514
|
data-filter-match-count={matchCount}
|
|
2351
2515
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2352
|
-
|
|
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"
|
|
2353
2518
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2354
2519
|
onClick={() => setPinnedGroup(null)}
|
|
2355
2520
|
style={{
|
|
@@ -2359,12 +2524,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2359
2524
|
cursor: 'pointer',
|
|
2360
2525
|
}}
|
|
2361
2526
|
>
|
|
2362
|
-
|
|
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>
|
|
2363
2529
|
<button
|
|
2364
2530
|
type="button"
|
|
2365
2531
|
aria-label={`Clear group filter ${pinnedGroup}`}
|
|
2366
2532
|
onClick={(e) => { e.stopPropagation(); setPinnedGroup(null); }}
|
|
2367
|
-
|
|
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"
|
|
2368
2548
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2369
2549
|
>×</button>
|
|
2370
2550
|
</span>
|
|
@@ -2399,7 +2579,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2399
2579
|
data-active-filter="vendor"
|
|
2400
2580
|
data-filter-match-count={matchCount}
|
|
2401
2581
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2402
|
-
|
|
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"
|
|
2403
2584
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
|
|
2404
2585
|
onClick={() => setPinnedVendor(null)}
|
|
2405
2586
|
style={{
|
|
@@ -2409,12 +2590,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2409
2590
|
cursor: 'pointer',
|
|
2410
2591
|
}}
|
|
2411
2592
|
>
|
|
2412
|
-
|
|
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>
|
|
2413
2595
|
<button
|
|
2414
2596
|
type="button"
|
|
2415
2597
|
aria-label={`Clear vendor filter ${pinnedVendor}`}
|
|
2416
2598
|
onClick={(e) => { e.stopPropagation(); setPinnedVendor(null); }}
|
|
2417
|
-
|
|
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"
|
|
2418
2614
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2419
2615
|
>×</button>
|
|
2420
2616
|
</span>
|
|
@@ -2447,7 +2643,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2447
2643
|
data-filter-match-count={link.count}
|
|
2448
2644
|
data-filter-match-aliases={`${link.from},${link.to}`}
|
|
2449
2645
|
data-active-filter-edge-hot={isHot ? 'true' : 'false'}
|
|
2450
|
-
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"
|
|
2451
2647
|
title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
|
|
2452
2648
|
onClick={() => setPinnedEdgeKey(null)}
|
|
2453
2649
|
style={{
|
|
@@ -2457,9 +2653,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2457
2653
|
cursor: 'pointer',
|
|
2458
2654
|
}}
|
|
2459
2655
|
>
|
|
2656
|
+
{/* R412: filter pin pill value (edge variant) picks up fw=600.
|
|
2657
|
+
Sibling treatment to the status/group/vendor pills above. */}
|
|
2460
2658
|
<span>
|
|
2461
2659
|
<span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>
|
|
2462
|
-
{link.from}→{link.to}
|
|
2660
|
+
<span className="font-semibold" data-filter-value>{link.from}→{link.to}</span>
|
|
2463
2661
|
{/* Round 323 / Loop: edge filter pill count digit picks
|
|
2464
2662
|
up tabular-nums (Tailwind class on both cold +
|
|
2465
2663
|
hot branches). Sibling treatment to the status /
|
|
@@ -2491,7 +2689,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2491
2689
|
type="button"
|
|
2492
2690
|
aria-label={`Clear edge filter ${link.from} → ${link.to}`}
|
|
2493
2691
|
onClick={(e) => { e.stopPropagation(); setPinnedEdgeKey(null); }}
|
|
2494
|
-
|
|
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"
|
|
2495
2707
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2496
2708
|
>×</button>
|
|
2497
2709
|
</span>
|
|
@@ -2756,9 +2968,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2756
2968
|
vendor letter chips ('A:N', 'O:N', '书:N',
|
|
2757
2969
|
'?:N'). They display vendor-distribution
|
|
2758
2970
|
data; same tier as the sibling data chips. */
|
|
2759
|
-
|
|
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"
|
|
2760
2997
|
data-vendor-letter={v.initial}
|
|
2761
2998
|
data-vendor-letter-count={v.count}
|
|
2999
|
+
data-vendor-letter-hover-lift="true"
|
|
2762
3000
|
data-vendor-pinned={isPinned ? 'true' : 'false'}
|
|
2763
3001
|
data-vendor-hovered={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
2764
3002
|
data-vendor-aliases={aliases.join(',')}
|
|
@@ -2802,7 +3040,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2802
3040
|
}
|
|
2803
3041
|
}}
|
|
2804
3042
|
>
|
|
2805
|
-
|
|
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>
|
|
2806
3101
|
{/* Round 333 / Loop: vendor count suffix `:{N}` joins
|
|
2807
3102
|
the R317 subordinate-text-lift family (gray-500 →
|
|
2808
3103
|
gray-400) plus picks up tabular-nums for digit
|
|
@@ -2815,8 +3110,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2815
3110
|
reads it as "deliberate subordinate metadata"
|
|
2816
3111
|
rather than near-invisible chrome. data-vendor-
|
|
2817
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. */}
|
|
2818
3122
|
<span
|
|
2819
|
-
className="text-gray-400 tabular-nums"
|
|
3123
|
+
className="text-gray-400 tabular-nums opacity-70 transition-opacity duration-200 group-hover:opacity-100"
|
|
2820
3124
|
data-vendor-letter-count-suffix
|
|
2821
3125
|
>:{v.count}</span>
|
|
2822
3126
|
</span>
|
|
@@ -2904,11 +3208,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2904
3208
|
(third chip in the row — matches working + online
|
|
2905
3209
|
chip treatment so all three digits in the chip row
|
|
2906
3210
|
stay width-stable across counter crossings). */
|
|
2907
|
-
|
|
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 ${
|
|
2908
3235
|
isInteractive
|
|
2909
|
-
? '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'
|
|
2910
3237
|
: 'bg-gray-500/10 text-gray-400 border-gray-500/20'
|
|
2911
3238
|
}`}
|
|
3239
|
+
data-chip-hover-lift={isInteractive ? 'true' : 'false'}
|
|
3240
|
+
data-chip-group-hover-brighten="true"
|
|
2912
3241
|
data-active-links-chip
|
|
2913
3242
|
data-active-links-flow-count={flowLinks.length}
|
|
2914
3243
|
data-active-links-clickable={isInteractive ? 'true' : 'false'}
|
|
@@ -2936,7 +3265,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2936
3265
|
the 5th chip surface in the R333/R335/R336/R337
|
|
2937
3266
|
chip-internal-hierarchy arc. data-active-links-
|
|
2938
3267
|
chip-unit exposes the unit span for tests. */}
|
|
2939
|
-
{
|
|
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>
|
|
2940
3270
|
{rel ? (() => {
|
|
2941
3271
|
// Round 161 / Loop: extend R160's recency-pip
|
|
2942
3272
|
// vocabulary up one scope — from per-flow row to
|
|
@@ -2961,8 +3291,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2961
3291
|
const alpha = ageSec <= 30
|
|
2962
3292
|
? 1
|
|
2963
3293
|
: ageSec <= 300
|
|
2964
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
2965
|
-
: 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 */
|
|
2966
3296
|
// Cyan dark / teal light to match palette legendAccent.
|
|
2967
3297
|
const dotColor = isLight
|
|
2968
3298
|
? `rgba(13, 148, 136, ${alpha.toFixed(2)})`
|
|
@@ -2979,7 +3309,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2979
3309
|
// color: dotColor — the lift only affects the trailing
|
|
2980
3310
|
// literal "last {rel}" text.
|
|
2981
3311
|
return (
|
|
2982
|
-
|
|
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>
|
|
2983
3334
|
<span
|
|
2984
3335
|
data-active-links-freshness-dot
|
|
2985
3336
|
data-active-links-freshness-alpha={alpha.toFixed(2)}
|
|
@@ -3643,19 +3994,174 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3643
3994
|
active surfaces the activity state for test probes
|
|
3644
3995
|
(active spokes don't carry the bucket/dur attrs so
|
|
3645
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.
|
|
4095
|
+
/* Round 430 / Loop: hub-spoke opacity hover lift on
|
|
4096
|
+
hoveredAlias === session.alias. Adds a "this node's
|
|
4097
|
+
spoke" affordance to the node-hover gesture — in a
|
|
4098
|
+
dense ring layout the spokes are visually quiet
|
|
4099
|
+
(idle α=0.50 dashed, active α=0.80 solid) so hovering
|
|
4100
|
+
a node didn't telegraph which line connects to it.
|
|
4101
|
+
R430 lifts the matched spoke's opacity:
|
|
4102
|
+
idle 0.50 → 0.70 (hover-α=0.70, +0.20)
|
|
4103
|
+
active 0.80 → 0.95 (hover-α=0.95, +0.15)
|
|
4104
|
+
The +0.15-to-0.20 lift keeps the active/idle two-tier
|
|
4105
|
+
distinction (0.95 vs 0.70 still a clear gap) while
|
|
4106
|
+
making the hovered-node's spoke visibly brighter than
|
|
4107
|
+
every other spoke at its own activity tier. R241
|
|
4108
|
+
transition list already covers opacity 250ms so the
|
|
4109
|
+
lift eases for free. Sibling to R429 label-card body
|
|
4110
|
+
solidity lift — both surface a single-node-focused
|
|
4111
|
+
attention cue with the same easing cadence.
|
|
4112
|
+
Stacks with the 6-layer node hover cue stack at the
|
|
4113
|
+
inter-node-link scope:
|
|
4114
|
+
R26 group translateY -2px (per-node)
|
|
4115
|
+
R217 stroke tint legendAccent (per-node card)
|
|
4116
|
+
R142 drop-shadow boost (per-node card)
|
|
4117
|
+
R427 alias letter-spacing (per-node text)
|
|
4118
|
+
R428 sub-text letter-spacing (per-node text)
|
|
4119
|
+
R429 body opacity 0.94 → 1.0 (per-node card)
|
|
4120
|
+
R430 spoke opacity α+ (this round) (link to hub)
|
|
4121
|
+
data-topo-hub-spoke-hovered exposes the gate. */
|
|
4122
|
+
const isHoveredSpoke = !reducedMotion && hoveredAlias === session.alias;
|
|
4123
|
+
const spokeOpacity = isActiveSpoke
|
|
4124
|
+
? (isHoveredSpoke ? 0.95 : 0.80)
|
|
4125
|
+
: (isHoveredSpoke ? 0.70 : 0.50);
|
|
4126
|
+
/* Round 435 / Loop: hub-spoke stroke-width hover lift —
|
|
4127
|
+
sibling to R430 opacity hover at the same surface. When
|
|
4128
|
+
hoveredAlias matches, BOTH opacity AND stroke-width
|
|
4129
|
+
lift on the matched spoke so the eye registers a
|
|
4130
|
+
2-axis "this node's spoke" gesture (paint + geometry).
|
|
4131
|
+
idle 1.00 → 1.25 (Δ +0.25, +25%)
|
|
4132
|
+
active 2.25 → 2.50 (Δ +0.25, +11%)
|
|
4133
|
+
Same +0.25 absolute delta keeps the idle/active visual
|
|
4134
|
+
progression consistent — at rest sw ratio 2.25:1 = 2.25,
|
|
4135
|
+
on hover 2.50:1.25 = 2.0; both still clearly two-tier.
|
|
4136
|
+
R241 transition list already covers stroke-width 250ms
|
|
4137
|
+
so the lift eases for free.
|
|
4138
|
+
R51 sentinel-safe: spoke is canvas <path>, not
|
|
4139
|
+
data-node <circle> (the sentinel selector is gated to
|
|
4140
|
+
g[data-node] descendants). 1.25 and 2.5 are not in the
|
|
4141
|
+
reserved {1.5, 3} set so the overlap-test sentinel
|
|
4142
|
+
attribute selector wouldn't match either way. */
|
|
4143
|
+
const spokeStrokeWidth = isActiveSpoke
|
|
4144
|
+
? (isHoveredSpoke ? 2.5 : 2.25)
|
|
4145
|
+
: (isHoveredSpoke ? 1.25 : 1);
|
|
3646
4146
|
return (
|
|
3647
4147
|
<path
|
|
3648
4148
|
key={`hub-${session.alias}`}
|
|
3649
4149
|
d={path}
|
|
3650
4150
|
fill="none"
|
|
3651
4151
|
stroke={isActiveSpoke ? pal.spokeStroke.active : pal.spokeStroke.idle}
|
|
3652
|
-
strokeWidth={
|
|
4152
|
+
strokeWidth={spokeStrokeWidth}
|
|
3653
4153
|
strokeDasharray={isActiveSpoke ? 'none' : '6 14'}
|
|
3654
|
-
|
|
4154
|
+
strokeLinecap="round"
|
|
4155
|
+
opacity={spokeOpacity}
|
|
3655
4156
|
className={isActiveSpoke ? undefined : 'anet-topo-spoke-flow'}
|
|
3656
4157
|
data-topo-spoke-bucket={isActiveSpoke ? undefined : busy}
|
|
3657
4158
|
data-topo-spoke-dur={isActiveSpoke ? undefined : spokeDur}
|
|
3658
4159
|
data-topo-hub-spoke-active={isActiveSpoke ? 'true' : 'false'}
|
|
4160
|
+
data-topo-hub-spoke-hovered={isHoveredSpoke ? 'true' : 'false'}
|
|
4161
|
+
data-topo-hub-spoke-opacity={spokeOpacity}
|
|
4162
|
+
data-topo-hub-spoke-stroke-width={spokeStrokeWidth}
|
|
4163
|
+
data-topo-hub-spoke-stroke-width-active="2.25"
|
|
4164
|
+
data-topo-hub-spoke-linecap="round"
|
|
3659
4165
|
style={{
|
|
3660
4166
|
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
|
|
3661
4167
|
...(isActiveSpoke ? {} : {
|
|
@@ -3747,7 +4253,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3747
4253
|
stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
|
|
3748
4254
|
strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
|
|
3749
4255
|
strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
|
|
4256
|
+
/* Round 380 / Loop: cluster box stroke gets round
|
|
4257
|
+
linecap + round linejoin. Sibling SVG stroke-
|
|
4258
|
+
softening polish to R378 flow-rail linecap + R379
|
|
4259
|
+
minimap viewport linejoin — extends the family to
|
|
4260
|
+
the group cluster boundary box (grid layout only):
|
|
4261
|
+
R288 chrome icons strokeLinecap='round'
|
|
4262
|
+
R378 flow-rail dashes strokeLinecap='round'
|
|
4263
|
+
R380 group box dashes strokeLinecap='round' (this round)
|
|
4264
|
+
R379 viewport rect strokeLinejoin='round'
|
|
4265
|
+
R380 group box corners strokeLinejoin='round' (this round)
|
|
4266
|
+
Linecap rounds the R85 '6 6' marching-ants dash
|
|
4267
|
+
pills at rest — each 6 px dash gains a ~0.75 px
|
|
4268
|
+
round cap (sw=1.5 idle), reading as soft pills
|
|
4269
|
+
instead of sharp 6 × 1.5 px rectangles. Linejoin
|
|
4270
|
+
rounds the 4 sharp 90° corners (any state — solid
|
|
4271
|
+
or dashed); at sw=1.5 the join arc is ~0.75 px,
|
|
4272
|
+
matching R379 viewport vocabulary. Geometry-safe:
|
|
4273
|
+
stroke-* properties only affect paint, not bbox.
|
|
4274
|
+
The R51 sentinel 1.5/3 strokeWidth values stay
|
|
4275
|
+
intact (the overlap probe is gated to g[data-
|
|
4276
|
+
node], so this cluster-internal rect is invisible
|
|
4277
|
+
to it anyway). data-group-box-linecap + -linejoin
|
|
4278
|
+
attrs expose the values for tests. */
|
|
4279
|
+
strokeLinecap="round"
|
|
4280
|
+
strokeLinejoin="round"
|
|
3750
4281
|
data-group-box-pinned={isPinned ? 'true' : 'false'}
|
|
4282
|
+
data-group-box-linecap="round"
|
|
4283
|
+
data-group-box-linejoin="round"
|
|
3751
4284
|
// R85: ambient "marching ants" drift on the perimeter
|
|
3752
4285
|
// when this group has at least one working member, and
|
|
3753
4286
|
// neither pin nor hover is active (those treatments
|
|
@@ -3864,21 +4397,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3864
4397
|
].filter(Boolean).join('\n')}</title>
|
|
3865
4398
|
);
|
|
3866
4399
|
})()}
|
|
4400
|
+
{/* v0.11.0 #147 Hero D — Vincent 5401: "太大太丑,
|
|
4401
|
+
都放到框的右下角的小字". First-cut bottom-right
|
|
4402
|
+
placement collided with bottom-row nodes (cluster
|
|
4403
|
+
geometry has no bottom padding; only GROUP_TOP=12
|
|
4404
|
+
top band). Pivoted to Option C from #147 spec:
|
|
4405
|
+
keep top-left anchor BUT shrink fontSize (13 → 9)
|
|
4406
|
+
and dim default opacity (1 → 0.55, hover/pin
|
|
4407
|
+
restore to 1). Satisfies "太大太丑" via the size +
|
|
4408
|
+
opacity axes while keeping the existing geometry
|
|
4409
|
+
contract that topo-overlap-test gates. Hitbox
|
|
4410
|
+
rect width tightens to min(box.w-12, 160) to
|
|
4411
|
+
track the narrower label render. */}
|
|
3867
4412
|
<rect
|
|
3868
4413
|
x={box.x + 6}
|
|
3869
4414
|
y={box.y + 2}
|
|
3870
|
-
width={Math.min(box.w - 12,
|
|
3871
|
-
height={
|
|
4415
|
+
width={Math.min(box.w - 12, 160)}
|
|
4416
|
+
height={18}
|
|
3872
4417
|
rx="4"
|
|
3873
|
-
/* R107 / Loop: list-item tint extends to the SVG
|
|
3874
|
-
group labels — same idiom R104 added to recent-
|
|
3875
|
-
signal rows and R105 to the legend rows. The
|
|
3876
|
-
tint colour is pal.legendAccent (cyan) since
|
|
3877
|
-
groups don't carry an inherent swatch the way
|
|
3878
|
-
legend rows do; this matches R68's group-box
|
|
3879
|
-
isPinned/isHovered accent stroke for consistency.
|
|
3880
|
-
hover < pinned opacity so locked vs preview is
|
|
3881
|
-
discriminable at a glance. */
|
|
3882
4418
|
fill={pinnedGroup === box.key || hoveredGroupLabel === box.key ? pal.legendAccent : 'transparent'}
|
|
3883
4419
|
opacity={pinnedGroup === box.key ? (isLight ? 0.16 : 0.20)
|
|
3884
4420
|
: hoveredGroupLabel === box.key ? (isLight ? 0.09 : 0.13)
|
|
@@ -3904,16 +4440,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3904
4440
|
matches R142 fill timing so all the group-label
|
|
3905
4441
|
state-flip channels (fill colour, rect stroke,
|
|
3906
4442
|
rect drop-shadow, label tracking) ease as one. */}
|
|
4443
|
+
{/* Round 432 / Loop: extend the group-label letter-
|
|
4444
|
+
spacing tween from 2-tier (rest/pin) to 3-tier
|
|
4445
|
+
(rest/hover/pin → 0/0.25/0.5). Pre-R432 R218
|
|
4446
|
+
spread the text only on pin; hover got an
|
|
4447
|
+
R63 fill brighten (legendText → legendHeadline)
|
|
4448
|
+
but no typographic axis of its own. R432 adds
|
|
4449
|
+
the missing mid tier so hover telegraphs through
|
|
4450
|
+
BOTH the fill brighten AND a subtle kerning
|
|
4451
|
+
spread — sibling pattern to R427 node-alias
|
|
4452
|
+
(0/0.3/0.5) and R431 edge-badge (0/0.2/0.4) at
|
|
4453
|
+
group-label scope. Pin tier (0.5) still wins.
|
|
4454
|
+
Subtler mid tier (0.25 vs alias 0.3) because the
|
|
4455
|
+
group label is a structural anchor — too much
|
|
4456
|
+
spread would steal weight from the per-node
|
|
4457
|
+
alias identity it groups. Hover-letter-spacing
|
|
4458
|
+
family extension (8 anchors now):
|
|
4459
|
+
R344 chip count digit
|
|
4460
|
+
R345 panel title
|
|
4461
|
+
R347 active-links chip
|
|
4462
|
+
R351 vendor chip
|
|
4463
|
+
R420 zoom-level chip
|
|
4464
|
+
R427 node alias text
|
|
4465
|
+
R431 edge-badge digit
|
|
4466
|
+
R432 group label text (this round)
|
|
4467
|
+
R218 transition list ('fill 200ms, letter-spacing
|
|
4468
|
+
200ms') untouched — additive conditional case. */}
|
|
4469
|
+
{/* Round 457 / Loop: group label parent text fontWeight
|
|
4470
|
+
700 → 800 on isPinned. Adds typographic weight axis
|
|
4471
|
+
to the group-label parent text, sibling to R432
|
|
4472
|
+
letter-spacing tween at the same surface. Pre-R457
|
|
4473
|
+
pin lifted ls 0 → 0.5px (R218→R432 3-tier) but the
|
|
4474
|
+
fw stayed planted at R63's 700 — locked groups
|
|
4475
|
+
read as wider-but-same-weight. R457 adds the
|
|
4476
|
+
weight axis so pinned groups read as tightened
|
|
4477
|
+
AND wider, matching the R416/R424/R425/R426/R444/
|
|
4478
|
+
R445/R446 "data tightens under attention" idiom
|
|
4479
|
+
(now extended to the parent-text scope at the
|
|
4480
|
+
group-label tier). R63 fill brighten + R432
|
|
4481
|
+
letter-spacing 0/0.25/0.5 3-tier + R55 transition
|
|
4482
|
+
list all preserved; extends to include 'font-
|
|
4483
|
+
weight 200ms ease-out' so the bump eases under
|
|
4484
|
+
the same cadence. */}
|
|
4485
|
+
{/* v0.11.0 #147 Hero D — Vincent 5401 ask: "dash 网络
|
|
4486
|
+
图里面这个工程的名字也太大了, 超级丑". Per Vincent
|
|
4487
|
+
screenshot 实测. Initial attempt moved label to
|
|
4488
|
+
bottom-right (#147 spec Option A); topo-overlap-test
|
|
4489
|
+
caught 7 grid collisions because cluster boxes have
|
|
4490
|
+
no bottom padding. Pivot to Option C: keep top-left
|
|
4491
|
+
anchor, shrink fontSize 13 → 9 (-31%, watermark
|
|
4492
|
+
register), dim default opacity 1 → 0.55 (hover/pin
|
|
4493
|
+
restore to 1). Net Twitter-grok improvement:
|
|
4494
|
+
cluster labels no longer dominate the canvas at
|
|
4495
|
+
rest; operator still hovers to find specific groups.
|
|
4496
|
+
Position unchanged to preserve the existing
|
|
4497
|
+
geometry that overlap-test gates. */}
|
|
3907
4498
|
<text
|
|
3908
4499
|
x={box.x + 12}
|
|
3909
|
-
y={box.y +
|
|
4500
|
+
y={box.y + 12}
|
|
3910
4501
|
fill={isHovered ? pal.legendHeadline : pal.legendText}
|
|
3911
|
-
fontSize="
|
|
4502
|
+
fontSize="9"
|
|
3912
4503
|
fontFamily="monospace"
|
|
3913
|
-
fontWeight=
|
|
4504
|
+
fontWeight={isPinned ? '800' : '700'}
|
|
4505
|
+
opacity={isPinned || isHovered ? 1 : 0.55}
|
|
4506
|
+
data-group-label-hovered={isHovered && !isPinned ? 'true' : 'false'}
|
|
4507
|
+
data-group-label-font-weight={isPinned ? '800' : '700'}
|
|
3914
4508
|
style={{
|
|
3915
|
-
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
|
|
3916
|
-
letterSpacing: isPinned ? '0.5px' :
|
|
4509
|
+
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, opacity 200ms ease-out',
|
|
4510
|
+
letterSpacing: isPinned ? '0.5px' :
|
|
4511
|
+
isHovered ? '0.25px' : '0px',
|
|
3917
4512
|
}}
|
|
3918
4513
|
data-group-label={box.key}
|
|
3919
4514
|
data-group-label-pinned={isPinned ? 'true' : 'false'}
|
|
@@ -3947,13 +4542,67 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3947
4542
|
lives at a fixed dx=6 offset from the name, so a
|
|
3948
4543
|
digit-width jitter at 9→10 used to shift the
|
|
3949
4544
|
whole count visibly. Tabular locks it. */}
|
|
4545
|
+
{/* Round 366 / Loop: group label member-count tspan
|
|
4546
|
+
fontWeight 400 → 500. Sibling polish to R363
|
|
4547
|
+
recent-row alias text fw 400 → 500 + R364 legend-
|
|
4548
|
+
row label fw 400 → 500 — closes the per-row 'count
|
|
4549
|
+
is fw 500 against label-tier fw 700' pattern at
|
|
4550
|
+
the group-label scope (grid layout cluster mark).
|
|
4551
|
+
Hierarchy snapshot post-R366 across all 3 row
|
|
4552
|
+
surfaces:
|
|
4553
|
+
recent count(hot/cold) fw 700/600 (R320)
|
|
4554
|
+
recent alias fw 500 (R363)
|
|
4555
|
+
legend count fw 600 (R309)
|
|
4556
|
+
legend label fw 500 (R364)
|
|
4557
|
+
group name fw 700 (legacy)
|
|
4558
|
+
group count fw 500 (R366, this round)
|
|
4559
|
+
Monospace family + R225 tabular-nums lock digit
|
|
4560
|
+
width, so the fw bump is paint-only — bbox
|
|
4561
|
+
unchanged + overlap-test invariants hold. R229
|
|
4562
|
+
fill-inherit from parent label (hover-deepen-own-
|
|
4563
|
+
hue family) preserved. data-group-label-count-
|
|
4564
|
+
font-weight attr exposes the value for tests. */}
|
|
4565
|
+
{/* Round 444 / Loop: group label count tspan
|
|
4566
|
+
fontWeight 500 → 600 on isPinned. Extends the
|
|
4567
|
+
"data tightens under attention" typographic-
|
|
4568
|
+
weight pattern to a 5th anchor at the group-
|
|
4569
|
+
label-count scope:
|
|
4570
|
+
R416 chip-digit (chip hover)
|
|
4571
|
+
R424 panel-digit (panel hover)
|
|
4572
|
+
R425 hub-digit (hub hover)
|
|
4573
|
+
R426 edge-badge-digit (pin/hot)
|
|
4574
|
+
R444 group-label-count (pinned) ← this round
|
|
4575
|
+
Same idiom — when the group is locked, its
|
|
4576
|
+
member-count tightens typographically alongside
|
|
4577
|
+
the R432 letter-spacing spread (0 → 0.5px) on
|
|
4578
|
+
the parent label. Hover keeps rest fw (500) so
|
|
4579
|
+
the locked vs preview distinction at the type
|
|
4580
|
+
level stays intact — same gate R432 used.
|
|
4581
|
+
Monospace + R225 tabular-nums lock the digit
|
|
4582
|
+
width across fw changes; bbox unchanged; overlap-
|
|
4583
|
+
test invariants hold. transition list adds
|
|
4584
|
+
'font-weight 200ms ease-out' matching R432
|
|
4585
|
+
letter-spacing cadence. R229 fill-inherit
|
|
4586
|
+
preserved (parent text fill still drives the
|
|
4587
|
+
hover/pin color). data-group-label-count-font-
|
|
4588
|
+
weight + -pinned attrs exposed for tests. */}
|
|
4589
|
+
{/* v0.11.0 #147 — count tspan tracks parent fontSize:
|
|
4590
|
+
11 → 8 to match the new 9px label scale (parent
|
|
4591
|
+
dropped 13 → 9 with same -2px gap to the count
|
|
4592
|
+
suffix). dx="4" replaces dx="6" — the smaller
|
|
4593
|
+
glyph baseline doesn't need the wider gutter. */}
|
|
3950
4594
|
<tspan
|
|
3951
|
-
dx="
|
|
3952
|
-
fontSize="
|
|
3953
|
-
fontWeight=
|
|
4595
|
+
dx="4"
|
|
4596
|
+
fontSize="8"
|
|
4597
|
+
fontWeight={isPinned ? '600' : '500'}
|
|
3954
4598
|
data-group-label-count={box.key}
|
|
3955
4599
|
data-group-label-count-value={box.count}
|
|
3956
|
-
|
|
4600
|
+
data-group-label-count-pinned={isPinned ? 'true' : 'false'}
|
|
4601
|
+
data-group-label-count-font-weight={isPinned ? '600' : '500'}
|
|
4602
|
+
style={{
|
|
4603
|
+
fontVariantNumeric: 'tabular-nums',
|
|
4604
|
+
transition: 'font-weight 200ms ease-out',
|
|
4605
|
+
}}
|
|
3957
4606
|
>· {box.count}</tspan>
|
|
3958
4607
|
{/* Round 58 / Loop: status mix pip strip. Compact text-
|
|
3959
4608
|
based chips (e.g. "2w 1i") so the strip stays inside
|
|
@@ -4010,11 +4659,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4010
4659
|
breakdown. Multi-tier groups (e.g. `alpha · 3
|
|
4011
4660
|
2w 1i`) render unchanged — those pips genuinely
|
|
4012
4661
|
add breakdown info that the total doesn't carry. */}
|
|
4662
|
+
{/* Round 458 / Loop — Hero D #147 finishing polish on top of
|
|
4663
|
+
N站牛/codex preview.125 (Option C: top-left label fontSize
|
|
4664
|
+
13→9 + opacity 0.55 rest / 1 hover+pin, count tspan 11→8).
|
|
4665
|
+
That ship left the 3 status pips at fontSize=11 — visibly
|
|
4666
|
+
DOMINATING the now-9px parent label they trail. Result on
|
|
4667
|
+
a 5-member cluster: `alpha · 5 3w 2i` renders inside-out
|
|
4668
|
+
as "tiny name + tiny count + BIG bright pips" rather than
|
|
4669
|
+
a coherent right-tail of metadata. R458 scales the 3 pips
|
|
4670
|
+
to fontSize=8 (matches count tspan) and tightens dx 8/4/4
|
|
4671
|
+
→ 6/3/3 (gutter ratio 0.73/0.36 glyph-widths @ 11px ≈
|
|
4672
|
+
0.75/0.38 glyph-widths @ 8px — same visual rhythm at the
|
|
4673
|
+
smaller scale). The whole group-label bottom-right strip
|
|
4674
|
+
now reads as a unified 9/8/8/8 typographic ladder:
|
|
4675
|
+
name (parent <text>) fontSize 9 fw 700/800
|
|
4676
|
+
· count (1st tspan) fontSize 8 fw 500/600
|
|
4677
|
+
Nw (2nd tspan) fontSize 8 fw 600
|
|
4678
|
+
Ni (3rd tspan) fontSize 8 fw 600
|
|
4679
|
+
No (4th tspan) fontSize 8 fw 600
|
|
4680
|
+
Closes Vincent /goal 5401 ("太大太丑") at the pip-strip
|
|
4681
|
+
tier; with codex preview.125 the spec is fully realized.
|
|
4682
|
+
Geometry-only attribute changes — bbox tightens slightly
|
|
4683
|
+
(8px chars vs 11px chars stay inside the original 240px
|
|
4684
|
+
hitbox max) so topo-overlap-test invariants hold.
|
|
4685
|
+
tabular-nums + anet-fade-in + theme-eased fill 200ms
|
|
4686
|
+
preserved on every tspan. */}
|
|
4013
4687
|
{box.statuses.working > 0 && box.statuses.working !== box.count && (
|
|
4014
4688
|
<tspan
|
|
4015
|
-
dx="
|
|
4689
|
+
dx="6"
|
|
4016
4690
|
fill={isLight ? '#059669' : '#22c55e'}
|
|
4017
|
-
fontSize="
|
|
4691
|
+
fontSize="8"
|
|
4018
4692
|
fontWeight="600"
|
|
4019
4693
|
className="anet-fade-in"
|
|
4020
4694
|
data-group-pip="working"
|
|
@@ -4023,9 +4697,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4023
4697
|
)}
|
|
4024
4698
|
{box.statuses.idle > 0 && box.statuses.idle !== box.count && (
|
|
4025
4699
|
<tspan
|
|
4026
|
-
dx="
|
|
4700
|
+
dx="3"
|
|
4027
4701
|
fill={isLight ? '#0d9488' : '#2dd4bf'}
|
|
4028
|
-
fontSize="
|
|
4702
|
+
fontSize="8"
|
|
4029
4703
|
fontWeight="600"
|
|
4030
4704
|
className="anet-fade-in"
|
|
4031
4705
|
data-group-pip="idle"
|
|
@@ -4034,9 +4708,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4034
4708
|
)}
|
|
4035
4709
|
{box.statuses.offline > 0 && box.statuses.offline !== box.count && (
|
|
4036
4710
|
<tspan
|
|
4037
|
-
dx="
|
|
4711
|
+
dx="3"
|
|
4038
4712
|
fill={isLight ? '#94a3b8' : '#6b7280'}
|
|
4039
|
-
fontSize="
|
|
4713
|
+
fontSize="8"
|
|
4040
4714
|
fontWeight="600"
|
|
4041
4715
|
className="anet-fade-in"
|
|
4042
4716
|
data-group-pip="offline"
|
|
@@ -4083,13 +4757,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4083
4757
|
// synchronised per-edge animation set.
|
|
4084
4758
|
const stagger = (index * 0.37) % duration;
|
|
4085
4759
|
// Round 10 / Loop: freshness fade. An edge that fired ≤30s ago
|
|
4086
|
-
// stays at full intensity; over 5 minutes it decays to
|
|
4087
|
-
// Surfaces "what's happening now" vs background
|
|
4088
|
-
// hiding old flow entirely (some context
|
|
4089
|
-
// captured at useMemo-recompute time
|
|
4090
|
-
// — accuracy is within the poll
|
|
4760
|
+
// stays at full intensity; over 5 minutes it decays to a
|
|
4761
|
+
// floor. Surfaces "what's happening now" vs background
|
|
4762
|
+
// chatter without hiding old flow entirely (some context
|
|
4763
|
+
// still useful). `now` captured at useMemo-recompute time
|
|
4764
|
+
// (every 5s message refresh) — accuracy is within the poll
|
|
4765
|
+
// interval, plenty.
|
|
4766
|
+
//
|
|
4767
|
+
// Round 406 / Loop: edge freshness fade floor 0.35 → 0.40.
|
|
4768
|
+
// Stale-state legibility lift family (6th anchor) — pre-
|
|
4769
|
+
// R406 edges older than 5 minutes faded to α=0.35 (a 65 %
|
|
4770
|
+
// dim against full intensity). The decay rate is the same
|
|
4771
|
+
// 1 - ageMs/300s curve; only the FLOOR shifts. Sibling
|
|
4772
|
+
// treatment to:
|
|
4773
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
4774
|
+
// R358 freshness ramp floor 0.25 → 0.30
|
|
4775
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
4776
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
4777
|
+
// R405 hub-halo light trough 0.32 → 0.34
|
|
4778
|
+
// R406 edge freshness floor 0.35 → 0.40 (this round)
|
|
4779
|
+
// Edges past 5min now sit at 40% intensity instead of 35%
|
|
4780
|
+
// — they still recede against fresh edges but read
|
|
4781
|
+
// legibly enough to convey "this conversation existed".
|
|
4782
|
+
// ageMs threshold for the 5-minute decay unchanged; the
|
|
4783
|
+
// decay curve shape (linear) unchanged. The visual delta
|
|
4784
|
+
// is most pronounced on edges between 5-60 minutes old —
|
|
4785
|
+
// where the floor was binding pre-R406.
|
|
4091
4786
|
const ageMs = link.last_at ? Math.max(0, Date.now() - Date.parse(link.last_at)) : 0;
|
|
4092
|
-
const fresh = Math.max(0.
|
|
4787
|
+
const fresh = Math.max(0.40, 1 - ageMs / (5 * 60 * 1000));
|
|
4093
4788
|
// Round 16 arrow-tier binning — keep `topo-arrow` as the
|
|
4094
4789
|
// medium tier id so the legend swatch picks it up unchanged.
|
|
4095
4790
|
const arrowId = link.count <= 2 ? 'topo-arrow-s'
|
|
@@ -4154,7 +4849,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4154
4849
|
// tracks it even at low message counts (width was 3 → 4.5 on
|
|
4155
4850
|
// hover). 1.4× is enough to read as "lifted" without
|
|
4156
4851
|
// breaching the 16-px hitbox bound.
|
|
4157
|
-
|
|
4852
|
+
// Round 436 / Loop: extend the thickening to the
|
|
4853
|
+
// "hovered-endpoint" case — when hoveredAlias matches one
|
|
4854
|
+
// of this edge's endpoints, lift width by 1.15× (capped at
|
|
4855
|
+
// 8 px to stay clear of the 16-px hitbox). Pre-R436 the
|
|
4856
|
+
// edgeOpacityMul=1.7 (line 4703) lifted the matched edge's
|
|
4857
|
+
// OPACITY when an endpoint was hovered but the stroke-WIDTH
|
|
4858
|
+
// stayed at base — so the edge faded brighter without
|
|
4859
|
+
// thickening, leaving the paint+geometry axes mismatched.
|
|
4860
|
+
// Mirror of R430/R435 hub-spoke pattern (opacity + stroke-
|
|
4861
|
+
// width co-lift on hoveredAlias); R436 brings the same
|
|
4862
|
+
// dual-axis "this node's link" gesture to the edge scope.
|
|
4863
|
+
// 1.15× is subtler than isHoveredEdge=1.4× because
|
|
4864
|
+
// endpoint-hover lifts MANY edges at once (every edge
|
|
4865
|
+
// incident on the hovered node) while edge-hover lifts ONE
|
|
4866
|
+
// — the gesture should read as "highlighted" not "loud".
|
|
4867
|
+
// R166 stroke-width 300ms transition already in the
|
|
4868
|
+
// visible-path style list so the lift eases for free.
|
|
4869
|
+
const isEndpointHoveredEdge = !!hoveredAlias && (link.from === hoveredAlias || link.to === hoveredAlias);
|
|
4870
|
+
const renderWidth = isHoveredEdge ? Math.min(width * 1.4, 10)
|
|
4871
|
+
: isEndpointHoveredEdge ? Math.min(width * 1.15, 8)
|
|
4872
|
+
: width;
|
|
4158
4873
|
return (
|
|
4159
4874
|
<g
|
|
4160
4875
|
key={link.key}
|
|
@@ -4241,30 +4956,89 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4241
4956
|
online chips to splice in additional properties
|
|
4242
4957
|
beside Tailwind's). data-edge-flow-rail attr
|
|
4243
4958
|
surfaces the path for test introspection. */}
|
|
4959
|
+
{/* Round 381 / Loop: edge visible flow path picks up
|
|
4960
|
+
strokeLinecap='round'. Sibling polish to R378
|
|
4961
|
+
flow-rail dashed linecap — both flow-element paths
|
|
4962
|
+
(visible primary + dashed secondary rail) now share
|
|
4963
|
+
'round' linecap vocabulary. The visible path runs
|
|
4964
|
+
source-node → dest-node as one continuous line, so
|
|
4965
|
+
the dest-end is covered by the markerEnd arrow and
|
|
4966
|
+
the source-end usually sits inside the source-node
|
|
4967
|
+
circle. At certain alignments (post-zoom, post-
|
|
4968
|
+
layout-switch transitions), the source-end may peek
|
|
4969
|
+
out by a fraction of a px past the node edge —
|
|
4970
|
+
round caps render that overshoot as a smooth half-
|
|
4971
|
+
disc instead of a sharp rectangle. Pure paint
|
|
4972
|
+
refinement, geometry-safe (bbox of the stroke
|
|
4973
|
+
unchanged at the join with the arrow marker).
|
|
4974
|
+
data-edge-visible-linecap attr exposes the value
|
|
4975
|
+
for tests. */}
|
|
4244
4976
|
<path
|
|
4245
4977
|
d={path}
|
|
4246
4978
|
fill="none"
|
|
4247
4979
|
stroke={pal.flowEdge}
|
|
4248
4980
|
strokeWidth={renderWidth}
|
|
4981
|
+
strokeLinecap="round"
|
|
4249
4982
|
opacity={Math.min(1, (isLight ? 0.22 : 0.28) * fresh * edgeOpacityMul)}
|
|
4250
4983
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4251
4984
|
markerEnd={`url(#${arrowId})`}
|
|
4252
4985
|
data-edge-visible={link.key}
|
|
4986
|
+
data-edge-visible-linecap="round"
|
|
4987
|
+
data-edge-visible-endpoint-hovered={isEndpointHoveredEdge ? 'true' : 'false'}
|
|
4988
|
+
data-edge-visible-stroke-width={renderWidth}
|
|
4253
4989
|
style={{
|
|
4254
4990
|
pointerEvents: 'none',
|
|
4255
4991
|
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
|
|
4256
4992
|
}}
|
|
4257
4993
|
/>
|
|
4994
|
+
{/* Round 378 / Loop: edge flow-path dashed-rail picks
|
|
4995
|
+
up strokeLinecap='round'. Pre-R378 the rail
|
|
4996
|
+
rendered '2 12' dashes as sharp 1×2 rectangles
|
|
4997
|
+
against the canvas backdrop; default 'butt' caps
|
|
4998
|
+
leave dash ends square. R378 rounds each cap so
|
|
4999
|
+
the dashes read as soft 3-px pills (1 px stroke +
|
|
5000
|
+
0.5 px round cap each end). The flow-rail is the
|
|
5001
|
+
secondary 'invisible-spine' line that gives the
|
|
5002
|
+
R57 spoke flow a directional rail to slide along
|
|
5003
|
+
— rounding the dashes softens its presence
|
|
5004
|
+
against the primary visible flow path (R245 has
|
|
5005
|
+
no strokeLinecap so it inherits 'butt' on a
|
|
5006
|
+
continuous line, irrelevant). Geometry-safe:
|
|
5007
|
+
round caps only widen the visible dash; the
|
|
5008
|
+
bbox of the path is unchanged so overlap-test
|
|
5009
|
+
invariants hold. data-edge-flow-rail-linecap
|
|
5010
|
+
attr exposes the value for tests. */}
|
|
4258
5011
|
<path
|
|
4259
5012
|
id={`flow-path-${index}`}
|
|
4260
5013
|
d={path}
|
|
4261
5014
|
fill="none"
|
|
4262
5015
|
stroke={pal.flowPath}
|
|
4263
|
-
strokeWidth
|
|
5016
|
+
/* Round 437 / Loop: flow-rail strokeWidth hover lift —
|
|
5017
|
+
1 → 1.5 on (isHoveredEdge || isEndpointHoveredEdge).
|
|
5018
|
+
Pre-R437 the dashed rail sat at sw=1 always while the
|
|
5019
|
+
visible flow path above it lifted (R50 ×1.4 on
|
|
5020
|
+
isHoveredEdge / R436 ×1.15 on isEndpointHoveredEdge).
|
|
5021
|
+
The two edge paint layers were mismatched on hover:
|
|
5022
|
+
top layer thickened, underline stayed thin — so the
|
|
5023
|
+
hover gesture lifted only half the edge surface.
|
|
5024
|
+
R437 lifts the underline too so the whole edge
|
|
5025
|
+
reads as "raised" on hover, not just its bright
|
|
5026
|
+
top stripe. Same +0.5 absolute delta R435 used at
|
|
5027
|
+
hub-spoke scope (1→1.25 there, slightly bigger
|
|
5028
|
+
here because the rail's base 1 is at the kerning
|
|
5029
|
+
floor and needs more lift to register).
|
|
5030
|
+
Transition list extends to include stroke-width
|
|
5031
|
+
300ms so the new lift eases under the same R166
|
|
5032
|
+
cadence as the visible path's stroke-width. */
|
|
5033
|
+
strokeWidth={(isHoveredEdge || isEndpointHoveredEdge) ? 1.5 : 1}
|
|
4264
5034
|
strokeDasharray="2 12"
|
|
5035
|
+
strokeLinecap="round"
|
|
4265
5036
|
opacity={Math.min(1, (isLight ? 0.4 : 0.75) * fresh * edgeOpacityMul)}
|
|
4266
5037
|
data-edge-flow-rail={link.key}
|
|
4267
|
-
|
|
5038
|
+
data-edge-flow-rail-linecap="round"
|
|
5039
|
+
data-edge-flow-rail-stroke-width={(isHoveredEdge || isEndpointHoveredEdge) ? 1.5 : 1}
|
|
5040
|
+
data-edge-flow-rail-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5041
|
+
style={{ transition: 'opacity 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out' }}
|
|
4268
5042
|
/>
|
|
4269
5043
|
{!reducedMotion && (
|
|
4270
5044
|
/* Round 103 / Loop: phase-stagger the particles so
|
|
@@ -4279,25 +5053,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4279
5053
|
multiple). Edge order is stable (sorted by recent
|
|
4280
5054
|
activity), so the offsets feel calm rather than
|
|
4281
5055
|
reshuffling each refresh. */
|
|
5056
|
+
/* Round 422 / Loop: edge flow particle radius 4 → 4.5.
|
|
5057
|
+
Visual-weight bump family (15th anchor) — particles
|
|
5058
|
+
riding along the edge animateMotion path get +0.5px
|
|
5059
|
+
radius lift, increasing visual area by ~27%
|
|
5060
|
+
(π·4.5² / π·4² = 1.27). Sibling magnitude to R383
|
|
5061
|
+
recent-row pip 1.8 → 2.0 (+25% area), R384 minimap
|
|
5062
|
+
online dot 1.7 → 1.9 (+25% area). R251 fill +
|
|
5063
|
+
R252 transitions + R103 phase-stagger animateMotion
|
|
5064
|
+
all preserved. data-edge-particle-radius attr
|
|
5065
|
+
exposes the value for tests. */
|
|
4282
5066
|
<circle
|
|
4283
|
-
|
|
5067
|
+
/* Round 439 / Loop: edge flow particle radius hover
|
|
5068
|
+
lift — r 4.5 → 5.5 on (isHoveredEdge ||
|
|
5069
|
+
isEndpointHoveredEdge). Continues edge paint-
|
|
5070
|
+
layer parity arc (R436 visible path sw / R437
|
|
5071
|
+
flow-rail sw / R439 particle r) so the whole
|
|
5072
|
+
edge surface — including the moving particle —
|
|
5073
|
+
lifts on hover, not just the static stripes.
|
|
5074
|
+
+1px radius gives ~50% area boost. Subtler than
|
|
5075
|
+
1.4× sw bump on visible path because the
|
|
5076
|
+
particle is already small + motion-bright;
|
|
5077
|
+
+1px reads as "the dot caught attention"
|
|
5078
|
+
without overshadowing the path lift. R252
|
|
5079
|
+
transition list extends to include r 200ms so
|
|
5080
|
+
the size change eases under the same fill/
|
|
5081
|
+
opacity cadence. */
|
|
5082
|
+
r={(isHoveredEdge || isEndpointHoveredEdge) ? 5.5 : 4.5}
|
|
4284
5083
|
fill={pal.flowParticle}
|
|
4285
5084
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4286
5085
|
opacity={Math.min(1, fresh * edgeOpacityMul)}
|
|
4287
5086
|
data-edge-particle={link.key}
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
↔ light #f59e0b amber) snapped on theme toggle
|
|
4292
|
-
while every other edge element eased (R245
|
|
4293
|
-
paths, R251 badge, R242 chat-target, R233
|
|
4294
|
-
endpoint ring). opacity is freshness-driven so
|
|
4295
|
-
it transitions per-frame as fresh decays anyway
|
|
4296
|
-
— but adding opacity to the explicit transition
|
|
4297
|
-
list also covers theme toggle (R3 className
|
|
4298
|
-
transition-opacity duration-300 was previously
|
|
4299
|
-
absent on this circle). */
|
|
4300
|
-
style={{ transition: 'fill 200ms ease-out, opacity 200ms ease-out' }}
|
|
5087
|
+
data-edge-particle-radius={(isHoveredEdge || isEndpointHoveredEdge) ? 5.5 : 4.5}
|
|
5088
|
+
data-edge-particle-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5089
|
+
style={{ transition: 'fill 200ms ease-out, opacity 200ms ease-out, r 200ms ease-out' }}
|
|
4301
5090
|
>
|
|
4302
5091
|
<animateMotion
|
|
4303
5092
|
dur={`${duration}s`}
|
|
@@ -4628,14 +5417,137 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4628
5417
|
R251 closes the per-edge surface theme-toggle
|
|
4629
5418
|
smoothness — every theme-driven property on
|
|
4630
5419
|
every edge element now eases under cyber↔light. */}
|
|
5420
|
+
{/* Round 367 / Loop: edge midpoint badge rest
|
|
5421
|
+
stroke-width 1 → 1.25. Sibling visual-weight
|
|
5422
|
+
bump family (7th canvas anchor now):
|
|
5423
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5424
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5425
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5426
|
+
R360 hub digit fontSize 11 → 12
|
|
5427
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
5428
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
5429
|
+
R367 edge-badge rest stroke 1 → 1.25 (this round)
|
|
5430
|
+
Cold edge badges gain ~25 % stroke presence
|
|
5431
|
+
(1.25/1.0 = 1.25). Stays clear of the R51
|
|
5432
|
+
overlap-test sentinel values (1.5 / 3 reserved
|
|
5433
|
+
for node strokes — the test selector is gated
|
|
5434
|
+
to g[data-node] ancestors so this edge-internal
|
|
5435
|
+
circle is invisible to that probe anyway, but
|
|
5436
|
+
1.25 is a safe non-sentinel value regardless).
|
|
5437
|
+
R188 transition list 'stroke-width 300ms ease-
|
|
5438
|
+
out' still smoothes the hot/pin flip — now
|
|
5439
|
+
1.25 → 2 instead of 1 → 2, same ease pace.
|
|
5440
|
+
data-edge-badge-stroke-width-rest exposes the
|
|
5441
|
+
new baseline for tests. */}
|
|
5442
|
+
{/* Round 371 / Loop: edge-badge cyber opacity 0.82
|
|
5443
|
+
→ 0.85. Sibling theme-consistency polish to R370
|
|
5444
|
+
hub hover-ring 0.7 → 0.8. R251 designed this
|
|
5445
|
+
badge with opacity 0.82 (cyber) / 0.95 (light)
|
|
5446
|
+
— 13 % delta. Cyber-theme dark bg needs more
|
|
5447
|
+
alpha to read as 'present'; R371 narrows the
|
|
5448
|
+
gap to 10 %, bringing the badge closer to light
|
|
5449
|
+
theme's 0.95 floor. Light stays at 0.95
|
|
5450
|
+
(already in the legibility band). data-edge-
|
|
5451
|
+
badge-opacity attr exposes the resolved value.
|
|
5452
|
+
Theme-consistency polish family:
|
|
5453
|
+
R246/R247 panel transition family
|
|
5454
|
+
R251 edge badge fill/opacity baseline
|
|
5455
|
+
R370 hub hover-ring cyber 0.7 → 0.8
|
|
5456
|
+
R371 edge badge cyber 0.82 → 0.85 (this round)
|
|
5457
|
+
R164 r=9/10.5 hover-lift + R188/R251 transition
|
|
5458
|
+
list + R367 strokeWidth=1.25 cold rest preserved. */}
|
|
5459
|
+
{/* Round 394 / Loop: edge-badge gains a hover
|
|
5460
|
+
strokeWidth tier (1.5) between cold rest
|
|
5461
|
+
(R367 1.25) and pin/hot (2). Pre-R394 the
|
|
5462
|
+
badge lifted only its radius on hover (R164
|
|
5463
|
+
9 → 10.5); the stroke stayed at cold rest
|
|
5464
|
+
1.25 unless pin/hot kicked in, so a plain
|
|
5465
|
+
hover felt half-lifted — geometry expanded
|
|
5466
|
+
while the contour stayed thin. R394 adds
|
|
5467
|
+
strokeWidth=1.5 on isHoveredEdge so hover
|
|
5468
|
+
now lifts both r AND stroke in concert —
|
|
5469
|
+
same pattern R385 used for the hub hover-
|
|
5470
|
+
ring (1.5 → 1.75) where the ring's three
|
|
5471
|
+
hover axes (r grow / opacity fade-in /
|
|
5472
|
+
stroke thicken) all rise together.
|
|
5473
|
+
Three-tier stroke hierarchy now:
|
|
5474
|
+
cold rest 1.25 (R367)
|
|
5475
|
+
hovered 1.5 (R394 — this round)
|
|
5476
|
+
pinned / hot 2.0 (R188)
|
|
5477
|
+
R51 sentinel concern: strokeWidth=1.5 is
|
|
5478
|
+
one of the two sentinels reserved for node
|
|
5479
|
+
detection, but the R51 selector is gated
|
|
5480
|
+
to `g[data-node]` ancestors so this edge-
|
|
5481
|
+
internal circle is invisible to the probe
|
|
5482
|
+
(same lesson R177 hub hover-ring + R367
|
|
5483
|
+
cold rest documented). 300ms strokeWidth
|
|
5484
|
+
transition already in the style list eases
|
|
5485
|
+
the new tier naturally. data-edge-badge-
|
|
5486
|
+
stroke-width-hover attr exposes the hover
|
|
5487
|
+
value for tests. */}
|
|
5488
|
+
{/* Round 395 / Loop: edge-badge gains a third
|
|
5489
|
+
hover axis — opacity 0.85 (cyber) / 0.95
|
|
5490
|
+
(light) → 1.0 on isHoveredEdge. Pre-R395
|
|
5491
|
+
hovering thickened the stroke (R394 1.25 →
|
|
5492
|
+
1.5) and grew the radius (R164 9 → 10.5)
|
|
5493
|
+
but the badge's translucency stayed put at
|
|
5494
|
+
R371's rest alpha (cyber 0.85 / light 0.95).
|
|
5495
|
+
R395 lifts hover to a clean 1.0 — fully
|
|
5496
|
+
opaque — so the hovered badge reads as
|
|
5497
|
+
"in focus" against the dim siblings.
|
|
5498
|
+
Three-axis hover-lift parity now complete:
|
|
5499
|
+
hub hover-ring (R177/R370/R385):
|
|
5500
|
+
r 14 → 17, opacity 0 → 0.8 cyber, sw 1.5 → 1.75
|
|
5501
|
+
edge badge (R164/R394/R395):
|
|
5502
|
+
r 9 → 10.5, sw 1.25 → 1.5, opacity → 1.0
|
|
5503
|
+
200ms opacity transition (already in the
|
|
5504
|
+
style list) eases the new axis naturally.
|
|
5505
|
+
R371 rest opacity (0.85 cyber / 0.95 light)
|
|
5506
|
+
preserved as the resting alpha — R395
|
|
5507
|
+
adds an isHoveredEdge override on top.
|
|
5508
|
+
data-edge-badge-opacity-hover attr exposes
|
|
5509
|
+
the hover value for tests. */}
|
|
5510
|
+
{/* Round 396 / Loop: extend the R395 opacity → 1.0
|
|
5511
|
+
lift to the pinned state. Pre-R396 the badge
|
|
5512
|
+
shared `r=10.5` on both hover AND pin (R164
|
|
5513
|
+
unified-lift) but R395's opacity lift fired
|
|
5514
|
+
ONLY on isHoveredEdge — pinned badges stayed
|
|
5515
|
+
at R371 rest alpha (cyber 0.85 / light 0.95).
|
|
5516
|
+
That left pin (sticky selection) reading
|
|
5517
|
+
softer than hover (transient preview), even
|
|
5518
|
+
though pin is the stronger commitment.
|
|
5519
|
+
R396 unifies hover + pin at opacity=1.0
|
|
5520
|
+
so the same data-edge-badge-lifted='true'
|
|
5521
|
+
surface uniformly carries full alpha. Pin
|
|
5522
|
+
stroke (R188 sw=2 + pal.legendHeadline color)
|
|
5523
|
+
continues to differentiate pin from hover —
|
|
5524
|
+
the opacity track now closes the lift parity.
|
|
5525
|
+
The new gate (isHoveredEdge || isPinned)
|
|
5526
|
+
mirrors the existing R164 r-lift gate, so
|
|
5527
|
+
the badge has a single "active state"
|
|
5528
|
+
signature across r + opacity.
|
|
5529
|
+
200ms opacity transition (already in style
|
|
5530
|
+
list) eases pin/unpin naturally. R371 rest
|
|
5531
|
+
opacity preserved as the resting alpha.
|
|
5532
|
+
data-edge-badge-opacity-hover renamed
|
|
5533
|
+
semantically to -active (covers hover+pin)
|
|
5534
|
+
via the new -opacity-active attr; the
|
|
5535
|
+
legacy -opacity-hover attr kept for R395
|
|
5536
|
+
test compatibility. */}
|
|
4631
5537
|
<circle
|
|
4632
5538
|
cx={badgeX} cy={badgeY}
|
|
4633
5539
|
r={isHoveredEdge || isPinned ? 10.5 : 9}
|
|
4634
5540
|
fill={pal.legendBox.fill}
|
|
4635
5541
|
stroke={isPinned ? pal.legendHeadline : isHot ? hotStroke : pal.flowEdge}
|
|
4636
|
-
strokeWidth={isPinned ? 2 : isHot ? 2 : 1}
|
|
4637
|
-
opacity={isLight ? 0.95 : 0.
|
|
5542
|
+
strokeWidth={isPinned ? 2 : isHot ? 2 : isHoveredEdge ? 1.5 : 1.25}
|
|
5543
|
+
opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
4638
5544
|
data-edge-badge-lifted={(isHoveredEdge || isPinned) ? 'true' : 'false'}
|
|
5545
|
+
data-edge-badge-stroke-width-rest="1.25"
|
|
5546
|
+
data-edge-badge-stroke-width-hover="1.5"
|
|
5547
|
+
data-edge-badge-opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
5548
|
+
data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
|
|
5549
|
+
data-edge-badge-opacity-hover="1"
|
|
5550
|
+
data-edge-badge-opacity-active="1"
|
|
4639
5551
|
style={{ transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out' }}
|
|
4640
5552
|
/>
|
|
4641
5553
|
{/* Round 224 / Loop: edge badge text gains the 4th
|
|
@@ -4674,16 +5586,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4674
5586
|
x={badgeX} y={badgeY + 3}
|
|
4675
5587
|
textAnchor="middle"
|
|
4676
5588
|
fill={pal.legendHeadline}
|
|
4677
|
-
|
|
5589
|
+
/* Round 361 / Loop: edge midpoint badge text
|
|
5590
|
+
fontSize 10 → 11. Sibling visual-weight bump
|
|
5591
|
+
to R360 hub digit 11 → 12. The badge digit
|
|
5592
|
+
is the per-edge equivalent of the hub digit
|
|
5593
|
+
— a high-information scalar (link.count) at
|
|
5594
|
+
a stable canvas position. Pre-R361 fontSize=
|
|
5595
|
+
10 + R220 letter-spacing 0.4 + R224 tabular-
|
|
5596
|
+
nums made the digit READABLE but small
|
|
5597
|
+
against the r=9 / 18-px badge envelope;
|
|
5598
|
+
fontSize=11 nudges the glyph ~10 % bigger
|
|
5599
|
+
(bbox ~7×10 px from ~6×9 px) so the count
|
|
5600
|
+
reads more cleanly at glance — still well
|
|
5601
|
+
inside the r=9 idle circle and the r=10.5
|
|
5602
|
+
hover/pin lift (R164). y=badgeY+3 empirical
|
|
5603
|
+
vertical centring kept (1px drift at the
|
|
5604
|
+
bumped size is below the noise floor in
|
|
5605
|
+
the on-curve flow path).
|
|
5606
|
+
Visual-weight bump family:
|
|
5607
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5608
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5609
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5610
|
+
R360 hub digit fontSize 11 → 12
|
|
5611
|
+
R361 edge-badge digit fontSize 10 → 11 (this round)
|
|
5612
|
+
data-edge-badge-text-font-size attr exposes
|
|
5613
|
+
the value for tests. R220 pin/hot letter-
|
|
5614
|
+
spacing tween + R224 tabular-nums + R188
|
|
5615
|
+
stroke-width pin/hot transitions all preserved. */
|
|
5616
|
+
fontSize="11"
|
|
4678
5617
|
fontFamily="monospace"
|
|
4679
|
-
fontWeight
|
|
5618
|
+
/* R426 — edge-badge digit fontWeight 700 → 800 on
|
|
5619
|
+
(isPinned || isHot). 4th anchor on the "data
|
|
5620
|
+
tightens under attention" typographic-weight
|
|
5621
|
+
pattern:
|
|
5622
|
+
R416 chip-digit (chip-row hover trigger)
|
|
5623
|
+
R424 panel-digit (panel hover trigger)
|
|
5624
|
+
R425 hub-digit (hub hover trigger)
|
|
5625
|
+
R426 edge-badge-digit (pin/hot trigger) ← this
|
|
5626
|
+
The badge digit is the per-edge equivalent of
|
|
5627
|
+
the hub digit (R361 sibling fontSize bump
|
|
5628
|
+
reasoning). Stacks with R188 stroke-width pin/
|
|
5629
|
+
hot lift (1.25 → 1.5) + R220 letter-spacing pin/
|
|
5630
|
+
hot tween (0 → 0.4) for a 3-axis pin/hot signa-
|
|
5631
|
+
ture (edge structure + text spacing + text
|
|
5632
|
+
weight). The R408 transition is letter-spacing
|
|
5633
|
+
300ms; R426 appends font-weight 300ms so the
|
|
5634
|
+
weight bump co-eases under the same cadence. */
|
|
5635
|
+
fontWeight={(isPinned || isHot) ? '800' : '700'}
|
|
4680
5636
|
data-edge-badge-text={link.key}
|
|
4681
5637
|
data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
|
|
5638
|
+
data-edge-badge-text-font-size="11"
|
|
4682
5639
|
style={{
|
|
4683
5640
|
pointerEvents: 'none',
|
|
4684
5641
|
fontVariantNumeric: 'tabular-nums',
|
|
4685
|
-
|
|
4686
|
-
|
|
5642
|
+
/* R431 — edge-badge digit 3-tier letter-spacing:
|
|
5643
|
+
rest 0 / isHoveredEdge 0.2 / (isPinned || isHot) 0.4.
|
|
5644
|
+
Mirrors R427 node-alias 3-tier (rest/hover/chat-
|
|
5645
|
+
target → 0/0.3/0.5) at edge-badge scope. Pre-R431
|
|
5646
|
+
letter-spacing only fired on pin/hot (R220) while
|
|
5647
|
+
pure edge hover lifted stroke (R394) + opacity
|
|
5648
|
+
(R395) + radius (R164) but left the text dead-
|
|
5649
|
+
typographic. R431 adds the missing typographic
|
|
5650
|
+
spacing axis to the edge-hover gesture so the
|
|
5651
|
+
text rises with the badge geometry. Pin/hot
|
|
5652
|
+
tier (0.4) still wins; hover is the mid step.
|
|
5653
|
+
Hover-letter-spacing family extension (7 anchors
|
|
5654
|
+
now): R344/R345/R347/R351/R420/R427/R431. */
|
|
5655
|
+
letterSpacing: (isPinned || isHot) ? '0.4px' :
|
|
5656
|
+
isHoveredEdge ? '0.2px' : '0px',
|
|
5657
|
+
transition: 'letter-spacing 300ms ease-out, font-weight 300ms ease-out',
|
|
4687
5658
|
}}
|
|
4688
5659
|
>{link.count}</text>
|
|
4689
5660
|
</g>
|
|
@@ -4794,27 +5765,103 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4794
5765
|
: workingCount <= 2 ? 1
|
|
4795
5766
|
: workingCount <= 5 ? 2
|
|
4796
5767
|
: 3;
|
|
5768
|
+
// Round 404 / Loop: hub-halo cyber trough opacity 0.08 →
|
|
5769
|
+
// 0.10. Pre-R404 the breath's low-point sat at α=0.08
|
|
5770
|
+
// cyber (per R84 family tuning) — the halo nearly faded
|
|
5771
|
+
// out at trough on the dark canvas. R404 lifts cyber
|
|
5772
|
+
// trough to 0.10. Per-bucket peak amplitudes [0.16/0.20/
|
|
5773
|
+
// 0.26/0.32] stay exactly tuned.
|
|
5774
|
+
//
|
|
5775
|
+
// Round 405 / Loop: hub-halo LIGHT trough 0.32 → 0.34 —
|
|
5776
|
+
// symmetric +0.02 lift to mirror R404's cyber treatment
|
|
5777
|
+
// across both themes. Pre-R405 only cyber got the lift
|
|
5778
|
+
// (R404 docstring noted "light already at the strong
|
|
5779
|
+
// end" as deliberate); but the cyber/light delta in
|
|
5780
|
+
// R404 was an inconsistency in the family pattern.
|
|
5781
|
+
// R405 closes the symmetry — both themes get +0.02
|
|
5782
|
+
// baseline lift, so the breath low-point reads with
|
|
5783
|
+
// matching confidence regardless of theme. Light peak
|
|
5784
|
+
// array [0.52/0.58/0.65/0.72] stays tuned.
|
|
5785
|
+
//
|
|
5786
|
+
// Stale-state legibility lift family (5 anchors now):
|
|
5787
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
5788
|
+
// R358 freshness floor 0.25 → 0.30
|
|
5789
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
5790
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
5791
|
+
// R405 hub-halo light trough 0.32 → 0.34 (this round)
|
|
5792
|
+
//
|
|
5793
|
+
// R84 per-bucket peak/dur + R245 ease-in-out spline
|
|
5794
|
+
// keySplines all preserved. Test fixture probes the
|
|
5795
|
+
// SMIL <animate> values via data-topo-hub-halo-trough
|
|
5796
|
+
// attr (now exposes both light + cyber resolved values).
|
|
4797
5797
|
const peakLight = [0.52, 0.58, 0.65, 0.72][busy];
|
|
4798
5798
|
const peakDark = [0.16, 0.20, 0.26, 0.32][busy];
|
|
4799
|
-
const troughLight = 0.
|
|
4800
|
-
const troughDark = 0.
|
|
5799
|
+
const troughLight = 0.34;
|
|
5800
|
+
const troughDark = 0.10;
|
|
4801
5801
|
const dur = [4.0, 3.2, 2.7, 2.4][busy];
|
|
4802
5802
|
const valuesLight = `${troughLight};${peakLight};${troughLight}`;
|
|
4803
5803
|
const valuesDark = `${troughDark};${peakDark};${troughDark}`;
|
|
5804
|
+
// Round 408 / Loop: hub-halo radius 18 → 20. The
|
|
5805
|
+
// grounding halo (the breathing outer circle around
|
|
5806
|
+
// the hub center) is the canvas's signature breath
|
|
5807
|
+
// element — R84 family. R408 bumps r=18 → 20 so the
|
|
5808
|
+
// breath extends slightly further while keeping 4px
|
|
5809
|
+
// clearance before the spoke origin (still room for
|
|
5810
|
+
// spoke start anchors). Visual presence on the
|
|
5811
|
+
// canvas focal point lifts ~23% area (π·20²/π·18²
|
|
5812
|
+
// = 1.23) without changing the per-bucket opacity
|
|
5813
|
+
// envelope or breath rhythm. Visual-weight bump
|
|
5814
|
+
// family 13th anchor — pairs with R404/R405 trough
|
|
5815
|
+
// lifts so the halo now breathes both with more
|
|
5816
|
+
// visible amplitude AND more visual footprint.
|
|
5817
|
+
// R84 per-bucket peak/dur invariants + R244 calc-
|
|
5818
|
+
// Mode='spline' + R245 ease-in-out keySplines all
|
|
5819
|
+
// preserved. data-topo-hub-halo-radius attr exposes
|
|
5820
|
+
// value for tests.
|
|
5821
|
+
/* Round 451 / Loop: hub center halo radius lift on
|
|
5822
|
+
hoveredHub — r 20 → 22 (+2px, ~21% area). Adds another
|
|
5823
|
+
geometric axis to the hub-hover signature stack
|
|
5824
|
+
alongside R177 ring radius lift + R209 digit scale +
|
|
5825
|
+
R425 digit fw + R370 halo opacity + R386 highlight
|
|
5826
|
+
opacity + R441 core fill chroma. Pre-R451 the halo
|
|
5827
|
+
r stayed planted at R408's 20px while the rest of
|
|
5828
|
+
the hub structure responded to hover. R451 makes
|
|
5829
|
+
the halo breath outward on hover so the focal pulse
|
|
5830
|
+
intensifies under attention. SMIL `<animate>` on
|
|
5831
|
+
opacity continues independently (animateAttr=
|
|
5832
|
+
'opacity' vs CSS-property r — non-conflicting). R408
|
|
5833
|
+
base radius 20 preserved as rest; +2 hover delta
|
|
5834
|
+
keeps clearance from the R177 hub-hover-ring at
|
|
5835
|
+
r=17 hover (halo is BEHIND the ring, halo r=22 sits
|
|
5836
|
+
5px beyond the ring's hover-r=17, still well within
|
|
5837
|
+
the hub canvas envelope). data-topo-hub-halo-radius
|
|
5838
|
+
attr now reports the dynamic value. */
|
|
5839
|
+
const isHaloHovered = !reducedMotion && hoveredHub;
|
|
5840
|
+
const haloR = isHaloHovered ? 22 : 20;
|
|
4804
5841
|
return (
|
|
4805
5842
|
<circle
|
|
4806
|
-
cx={cx} cy={cy}
|
|
5843
|
+
cx={cx} cy={cy}
|
|
4807
5844
|
fill={isLight ? '#d1fae5' : '#10b981'}
|
|
4808
5845
|
opacity={isLight ? 0.42 : 0.12}
|
|
4809
5846
|
data-hub-busyness={busy}
|
|
5847
|
+
data-topo-hub-halo-radius={haloR}
|
|
5848
|
+
data-topo-hub-halo-hovered={isHaloHovered ? 'true' : 'false'}
|
|
5849
|
+
data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
|
|
5850
|
+
data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
|
|
4810
5851
|
/* Round 253 / Loop: hub grounding halo fill transition
|
|
4811
5852
|
for theme toggle. Pre-R253 the base fill (cyber
|
|
4812
5853
|
#10b981 ↔ light #d1fae5) snapped while R244's SMIL
|
|
4813
5854
|
animate on opacity continued running. CSS fill
|
|
4814
5855
|
transition is independent of the SMIL animate
|
|
4815
5856
|
(different attributes), so they compose without
|
|
4816
|
-
conflict.
|
|
4817
|
-
|
|
5857
|
+
conflict.
|
|
5858
|
+
R451: r as CSS property (R197/R198 idiom) so the
|
|
5859
|
+
hover-radius tween eases smoothly under the same
|
|
5860
|
+
200ms cadence as fill. */
|
|
5861
|
+
style={{
|
|
5862
|
+
r: `${haloR}px`,
|
|
5863
|
+
transition: 'fill 200ms ease-out, r 200ms ease-out',
|
|
5864
|
+
} as React.CSSProperties}
|
|
4818
5865
|
>
|
|
4819
5866
|
{/* Round 244 / Loop: hub grounding halo breath gets
|
|
4820
5867
|
ease-in-out keySplines, matching the active-node
|
|
@@ -4859,12 +5906,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4859
5906
|
attr added for test introspection (the parent <g> at
|
|
4860
5907
|
line 3587 has data-topo-hub but the core specifically
|
|
4861
5908
|
is the canvas anchor). */}
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
5909
|
+
{(() => {
|
|
5910
|
+
/* Round 441 / Loop: hub center core fill brighten on
|
|
5911
|
+
hoveredHub. Pre-R441 the core was static (cyber
|
|
5912
|
+
emerald-500 #10b981 / light emerald-600 #059669) and
|
|
5913
|
+
the hub-hover gesture lifted ring radius (R177) +
|
|
5914
|
+
digit scale (R209) + digit fw (R425) + halo opacity
|
|
5915
|
+
(R370) + highlight opacity (R386) but the focal core
|
|
5916
|
+
ITSELF stayed planted at rest tone. R441 shifts the
|
|
5917
|
+
fill one emerald tier brighter on hover so the canvas
|
|
5918
|
+
anchor itself responds:
|
|
5919
|
+
cyber emerald-500 → emerald-400 (#10b981 → #34d399)
|
|
5920
|
+
light emerald-600 → emerald-500 (#059669 → #10b981)
|
|
5921
|
+
Same +100 step on the emerald scale across both themes.
|
|
5922
|
+
Pure paint axis; no geometry change. R248 fill 200ms
|
|
5923
|
+
transition already in the style list eases the shift.
|
|
5924
|
+
Closes the chroma axis on the hub-hover gesture stack:
|
|
5925
|
+
R177 ring radius lift geometry
|
|
5926
|
+
R209 digit scale 1.08 geometry
|
|
5927
|
+
R425 digit fw 700 → 800 typography
|
|
5928
|
+
R370 halo opacity 0.7 → 0.8 paint
|
|
5929
|
+
R386 highlight opacity paint
|
|
5930
|
+
R441 core fill brighten chroma ← this round
|
|
5931
|
+
data-topo-hub-core-hovered + -fill attrs exposed
|
|
5932
|
+
for tests. */
|
|
5933
|
+
const isCoreHovered = !reducedMotion && hoveredHub;
|
|
5934
|
+
const coreFill = isLight
|
|
5935
|
+
? (isCoreHovered ? '#10b981' : '#059669')
|
|
5936
|
+
: (isCoreHovered ? '#34d399' : '#10b981');
|
|
5937
|
+
return (
|
|
5938
|
+
<circle
|
|
5939
|
+
cx={cx} cy={cy} r="10"
|
|
5940
|
+
fill={coreFill}
|
|
5941
|
+
data-topo-hub-core
|
|
5942
|
+
data-topo-hub-core-hovered={isCoreHovered ? 'true' : 'false'}
|
|
5943
|
+
data-topo-hub-core-fill={coreFill}
|
|
5944
|
+
style={{ transition: 'fill 200ms ease-out' }}
|
|
5945
|
+
/>
|
|
5946
|
+
);
|
|
5947
|
+
})()}
|
|
4868
5948
|
{/* R130 / Loop: when workingCount > 0, the decorative inner
|
|
4869
5949
|
highlight gets replaced with the workingCount digit. The
|
|
4870
5950
|
R84 busyness breath already encodes the same metric
|
|
@@ -4905,11 +5985,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4905
5985
|
textAnchor="middle"
|
|
4906
5986
|
dy="0.36em"
|
|
4907
5987
|
fill={isLight ? '#d1fae5' : '#ecfdf5'}
|
|
4908
|
-
fontSize
|
|
5988
|
+
/* Round 360 / Loop: hub working-count digit fontSize 11
|
|
5989
|
+
→ 12. The hub is the canvas's focal point — its digit
|
|
5990
|
+
is the most-read scalar on the whole topology. R130
|
|
5991
|
+
sized it at 11 (well inside the r=10 / 20-px core);
|
|
5992
|
+
R360 nudges it to 12 (~13 px wide × 12 px tall, still
|
|
5993
|
+
well inside the 20-px diameter) for ~9 % more presence.
|
|
5994
|
+
Sibling visual-weight bump family:
|
|
5995
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5996
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5997
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
5998
|
+
R360 hub digit fontSize 11 → 12 (this round)
|
|
5999
|
+
The R209 scale-1.08-on-hub-hover, R225 tabular-nums,
|
|
6000
|
+
R253 fill transition, R213 always-mount opacity gate
|
|
6001
|
+
all preserved. data-topo-hub-working-count-font-size
|
|
6002
|
+
attr exposes the value for tests. */
|
|
6003
|
+
fontSize="12"
|
|
4909
6004
|
fontFamily="monospace"
|
|
4910
|
-
fontWeight
|
|
6005
|
+
/* R425 — hub digit fontWeight 700 → 800 on hoveredHub.
|
|
6006
|
+
Closes the "data tightens under attention" pattern
|
|
6007
|
+
across three focal scopes: chip-digit (R416, chip
|
|
6008
|
+
scope) → panel-digit (R424, panel-header scope) →
|
|
6009
|
+
hub-digit (R425, hub focal scope). The hub digit is
|
|
6010
|
+
the most-read scalar on the topology; adding a weight
|
|
6011
|
+
axis on hover stacks with the R209 scale-1.08 + R177
|
|
6012
|
+
ring grow + R370 halo opacity + R386 highlight
|
|
6013
|
+
opacity hub-hover gestures, giving the focal point
|
|
6014
|
+
a typographic axis alongside its scale/structure cues.
|
|
6015
|
+
R360 fontSize=12 + R225 tabular-nums + R209 scale +
|
|
6016
|
+
R253 fill transition all preserved. Transition list
|
|
6017
|
+
extends to include font-weight 200ms ease-out. */
|
|
6018
|
+
fontWeight={hoveredHub ? '800' : '700'}
|
|
4911
6019
|
opacity={workingCount > 0 ? 1 : 0}
|
|
4912
6020
|
data-topo-hub-working-count={workingCount}
|
|
6021
|
+
data-topo-hub-working-count-font-size="12"
|
|
4913
6022
|
data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
|
|
4914
6023
|
data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
|
|
4915
6024
|
// Round 209 / Loop: hub workingCount digit scales 1.0 →
|
|
@@ -4943,19 +6052,63 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4943
6052
|
transform: !reducedMotion && hoveredHub ? 'scale(1.08)' : 'scale(1)',
|
|
4944
6053
|
transformBox: 'fill-box',
|
|
4945
6054
|
transformOrigin: 'center',
|
|
4946
|
-
|
|
6055
|
+
/* R425: font-weight 200ms appended so the hover fw
|
|
6056
|
+
bump 700 → 800 eases under the same cadence as
|
|
6057
|
+
R209 scale + R253 fill + R213 opacity. */
|
|
6058
|
+
transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out',
|
|
4947
6059
|
fontVariantNumeric: 'tabular-nums',
|
|
4948
6060
|
}}
|
|
4949
6061
|
>
|
|
4950
6062
|
{workingCount}
|
|
4951
6063
|
</text>
|
|
4952
6064
|
{/* decorative highlight (visible when workingCount === 0) */}
|
|
6065
|
+
{/* Round 365 / Loop: hub-center 'lit-lamp' decorative highlight
|
|
6066
|
+
circle r 5 → 5.5. Sibling visual-weight bump family —
|
|
6067
|
+
each round lifts one canvas anchor's geometric presence
|
|
6068
|
+
without disturbing its bbox envelope:
|
|
6069
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
6070
|
+
R295 legend swatch base radius 5.5 → 6
|
|
6071
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
6072
|
+
R360 hub digit fontSize 11 → 12
|
|
6073
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
6074
|
+
R365 hub-highlight base radius 5 → 5.5 (this round)
|
|
6075
|
+
The highlight only renders when workingCount === 0
|
|
6076
|
+
(decorative 'lamp lit but idle' state per R130 + R213
|
|
6077
|
+
always-mount opacity-gate). At idle, the 0.5-px radius
|
|
6078
|
+
bump (21 % area, π*5.5² / π*5² = 1.21) lifts the lamp's
|
|
6079
|
+
presence — still well inside the r=10 hub-core (R130).
|
|
6080
|
+
opacity=0 when working preserved so the hub-digit's R130
|
|
6081
|
+
takeover stays seamless. R213 always-mount opacity-gate
|
|
6082
|
+
+ 300ms opacity transition + pointerEvents:none all
|
|
6083
|
+
preserved. data-topo-hub-highlight-radius attr exposes
|
|
6084
|
+
the value for tests. */}
|
|
6085
|
+
{/* Round 386 / Loop: hub-highlight idle opacity 0.9 → 0.95.
|
|
6086
|
+
When workingCount===0 the highlight paints as the visible
|
|
6087
|
+
idle "lamp lit but no work" core (R130 takeover gate).
|
|
6088
|
+
Pre-R386 idle opacity was 0.9 — a ~6 % fade against full
|
|
6089
|
+
paint that read as slightly-dimmed-ghost on the focal
|
|
6090
|
+
point. R386 lifts to 0.95 (idle alpha gap halved 0.10
|
|
6091
|
+
→ 0.05) so the canvas anchor reads more confidently
|
|
6092
|
+
as a present-but-idle state rather than a faded ghost.
|
|
6093
|
+
Theme-consistency / canvas-presence polish family (4th
|
|
6094
|
+
anchor):
|
|
6095
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
6096
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
6097
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
6098
|
+
R386 hub-highlight idle opacity 0.9 → 0.95 (this round)
|
|
6099
|
+
opacity=0 when working preserved so the hub-digit's
|
|
6100
|
+
R130 takeover stays seamless. 300ms opacity transition
|
|
6101
|
+
+ R213 always-mount opacity-gate + pointerEvents:none
|
|
6102
|
+
+ R365 r=5.5 all preserved. data-topo-hub-highlight-
|
|
6103
|
+
opacity attr exposes the resolved value for tests. */}
|
|
4953
6104
|
<circle
|
|
4954
|
-
cx={cx} cy={cy} r="5"
|
|
6105
|
+
cx={cx} cy={cy} r="5.5"
|
|
4955
6106
|
fill="#d1fae5"
|
|
4956
|
-
opacity={workingCount > 0 ? 0 : 0.
|
|
6107
|
+
opacity={workingCount > 0 ? 0 : 0.95}
|
|
4957
6108
|
data-topo-hub-highlight
|
|
4958
6109
|
data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
|
|
6110
|
+
data-topo-hub-highlight-radius="5.5"
|
|
6111
|
+
data-topo-hub-highlight-opacity={workingCount > 0 ? 0 : 0.95}
|
|
4959
6112
|
style={{
|
|
4960
6113
|
pointerEvents: 'none',
|
|
4961
6114
|
transition: 'opacity 300ms ease-out',
|
|
@@ -4986,15 +6139,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4986
6139
|
R142 group boxes, R143/R144 rows, R164 edge badges,
|
|
4987
6140
|
R177 hub ring). prefers-reduced-motion respected via
|
|
4988
6141
|
R29 globals.css blanket. */}
|
|
6142
|
+
{/* Round 385 / Loop: hub hover-ring strokeWidth 1.5 → 1.75.
|
|
6143
|
+
Sibling visual-weight bump (11th anchor) to R367 edge-
|
|
6144
|
+
badge rest stroke 1 → 1.25. The ring is only visible
|
|
6145
|
+
during hub hover (opacity=0 rest, R177 + R370 control
|
|
6146
|
+
the hover-state alpha) so the change manifests purely
|
|
6147
|
+
as a thicker hover-state ring on the canvas focal
|
|
6148
|
+
point. R177 r 14 → 17 grow + R370 opacity 0 → 0.8
|
|
6149
|
+
already lift the hover cue; R385 adds stroke weight
|
|
6150
|
+
as the third lift axis. Stays clear of R51 overlap-
|
|
6151
|
+
test sentinel value 3 (1.75 is non-sentinel); the
|
|
6152
|
+
R51 selector is gated to g[data-node] ancestors so
|
|
6153
|
+
this hub-internal circle is invisible to the probe
|
|
6154
|
+
regardless. R253 stroke transition + pointerEvents:
|
|
6155
|
+
none preserved. data-topo-hub-hover-ring-stroke-width
|
|
6156
|
+
attr exposes the value for tests. */}
|
|
4989
6157
|
<circle
|
|
4990
6158
|
cx={cx} cy={cy}
|
|
4991
6159
|
r={hoveredHub ? 17 : 14}
|
|
4992
6160
|
fill="none"
|
|
4993
6161
|
stroke={isLight ? '#059669' : '#10b981'}
|
|
4994
|
-
strokeWidth="1.
|
|
4995
|
-
|
|
6162
|
+
strokeWidth="1.75"
|
|
6163
|
+
/* Round 370 / Loop: hub hover-ring cyber opacity 0.7 →
|
|
6164
|
+
0.8. R177 designed the hub hover-ring at opacity-0 →
|
|
6165
|
+
0.85 (light) / 0 → 0.7 (cyber). The 15 % gap between
|
|
6166
|
+
the two themes meant cyber-theme operators got a
|
|
6167
|
+
noticeably softer hover cue than light-theme users
|
|
6168
|
+
against backgrounds that should equalise (dark bg
|
|
6169
|
+
needs more luminance to read as 'on'). R370 bumps
|
|
6170
|
+
cyber 0.7 → 0.8, narrowing the theme gap to 5 % —
|
|
6171
|
+
sibling theme-consistency polish to R251 edge badge
|
|
6172
|
+
fill/opacity (cyber 0.82 / light 0.95) and R246/R247
|
|
6173
|
+
panel transition families. Light theme 0.85 stays
|
|
6174
|
+
as is (already in the legibility band). data-topo-
|
|
6175
|
+
hub-hover-ring-opacity attr exposes the value for
|
|
6176
|
+
tests. */
|
|
6177
|
+
opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4996
6178
|
data-topo-hub-hover-ring
|
|
4997
6179
|
data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
|
|
6180
|
+
data-topo-hub-hover-ring-stroke-width="1.75"
|
|
6181
|
+
data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4998
6182
|
/* Round 253 / Loop: hub hover ring also gets stroke
|
|
4999
6183
|
transition for theme toggle (cyber #10b981 ↔ light
|
|
5000
6184
|
#059669). The opacity + r transitions stay for hover
|
|
@@ -5423,14 +6607,51 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5423
6607
|
keyTimes="0;0.5;1"
|
|
5424
6608
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
5425
6609
|
/>
|
|
6610
|
+
{/* Round 409 / Loop: active-node pulse peak
|
|
6611
|
+
opacity lift — cyber 0.18 → 0.20 / light
|
|
6612
|
+
0.12 → 0.14. Theme-consistency / canvas-
|
|
6613
|
+
presence family 9th anchor. R243 family
|
|
6614
|
+
rhythm preserved.
|
|
6615
|
+
Round 413 / Loop: trough lift mirrors R409
|
|
6616
|
+
peak — cyber 0.04 → 0.05 / light 0.02 →
|
|
6617
|
+
0.03. Stale-state legibility lift family
|
|
6618
|
+
8th anchor — pairs with R404 (hub-halo
|
|
6619
|
+
cyber trough 0.08 → 0.10) and R405 (light
|
|
6620
|
+
trough 0.32 → 0.34). The per-node breath's
|
|
6621
|
+
low-point now reads slightly above the
|
|
6622
|
+
"nearly gone" zone while preserving the
|
|
6623
|
+
breath amplitude (cyber Δ 0.16 vs Δ pre-
|
|
6624
|
+
R409+R413 of 0.14; light Δ 0.11 vs 0.10).
|
|
6625
|
+
Both peak (R409) AND trough (R413) lift
|
|
6626
|
+
together so the active-pulse signal stays
|
|
6627
|
+
confidently present at both ends of its
|
|
6628
|
+
2.4s cycle.
|
|
6629
|
+
Stale-state legibility lift family (8):
|
|
6630
|
+
R317 subordinate-text gray-500→400
|
|
6631
|
+
R358 freshness floor 0.25→0.30
|
|
6632
|
+
R372 minimap offline-dot 0.5→0.6
|
|
6633
|
+
R404 hub-halo cyber trough 0.08→0.10
|
|
6634
|
+
R405 hub-halo light trough 0.32→0.34
|
|
6635
|
+
R406 edge freshness floor 0.35→0.40
|
|
6636
|
+
R407 node halo offline opacity (cyber+light)
|
|
6637
|
+
R413 active-node pulse trough (this round)
|
|
6638
|
+
cyber 0.04 → 0.05
|
|
6639
|
+
light 0.02 → 0.03
|
|
6640
|
+
R243 always-mount opacity-gate + R243
|
|
6641
|
+
ease-in-out keySplines + r animation
|
|
6642
|
+
(radius+8 ↔ radius+22) preserved.
|
|
6643
|
+
data-node-pulse-peak + new -pulse-trough
|
|
6644
|
+
attrs expose resolved per-theme values. */}
|
|
5426
6645
|
<animate
|
|
5427
6646
|
attributeName="opacity"
|
|
5428
|
-
values={isLight ? '0.
|
|
6647
|
+
values={isLight ? '0.14;0.03;0.14' : '0.20;0.05;0.20'}
|
|
5429
6648
|
dur="2.4s"
|
|
5430
6649
|
repeatCount="indefinite"
|
|
5431
6650
|
calcMode="spline"
|
|
5432
6651
|
keyTimes="0;0.5;1"
|
|
5433
6652
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
6653
|
+
data-node-pulse-peak={isLight ? '0.14' : '0.20'}
|
|
6654
|
+
data-node-pulse-trough={isLight ? '0.03' : '0.05'}
|
|
5434
6655
|
/>
|
|
5435
6656
|
</circle>
|
|
5436
6657
|
</g>
|
|
@@ -5475,12 +6696,107 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5475
6696
|
parent stays for status flips. data-node-halo-
|
|
5476
6697
|
breath-offset surfaces the chosen offset for
|
|
5477
6698
|
test introspection. */}
|
|
6699
|
+
{/* Round 407 / Loop: offline node halo opacity lift —
|
|
6700
|
+
cyber 0.25 → 0.30 and light 0.4 → 0.45. Pre-R407
|
|
6701
|
+
offline node halos faded to α=0.25 cyber (75 %
|
|
6702
|
+
dim) / α=0.4 light. On the dark canvas the 0.25
|
|
6703
|
+
halo read as "nearly gone" — exactly the
|
|
6704
|
+
legibility floor R404/R405 just lifted on the
|
|
6705
|
+
hub-halo and R372 lifted on minimap offline dots.
|
|
6706
|
+
R407 closes the same family at the per-node halo
|
|
6707
|
+
surface: +0.05 lift on both themes so offline
|
|
6708
|
+
anchors stay legibly present without crossing into
|
|
6709
|
+
"could be online" territory (online cyber 0.65 /
|
|
6710
|
+
light 0.85 unchanged — the 0.30/0.65 cyber ratio
|
|
6711
|
+
still gives 2.17× contrast for online/offline).
|
|
6712
|
+
Stale-state legibility lift family (7 anchors now):
|
|
6713
|
+
R317 subordinate-text gray-500 → gray-400
|
|
6714
|
+
R358 freshness floor 0.25 → 0.30
|
|
6715
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
6716
|
+
R404 hub-halo cyber trough 0.08 → 0.10
|
|
6717
|
+
R405 hub-halo light trough 0.32 → 0.34
|
|
6718
|
+
R406 edge freshness floor 0.35 → 0.40
|
|
6719
|
+
R407 node halo offline opacity (this round)
|
|
6720
|
+
cyber 0.25 → 0.30
|
|
6721
|
+
light 0.4 → 0.45
|
|
6722
|
+
R278 retired-breath gate + R12 status.halo color
|
|
6723
|
+
+ R226 phase stagger code-path preserved (the
|
|
6724
|
+
breath stays disabled per Vincent's R278 ask;
|
|
6725
|
+
only the BASE opacity floor shifts here). transi-
|
|
6726
|
+
tion list ('fill,opacity' 300ms ease-out) unchanged.
|
|
6727
|
+
data-node-halo-offline-opacity attr exposes the
|
|
6728
|
+
resolved value for tests. */}
|
|
6729
|
+
{(() => {
|
|
6730
|
+
/* Round 440 / Loop: node halo opacity hover lift —
|
|
6731
|
+
lifts toward full on the matched node. Pure paint
|
|
6732
|
+
axis: rest values unchanged for un-hovered halos,
|
|
6733
|
+
hover state lifts the matched halo's alpha by
|
|
6734
|
+
+0.15 on each tier:
|
|
6735
|
+
online cyber 0.65 → 0.80
|
|
6736
|
+
online light 0.85 → 1.00 (capped)
|
|
6737
|
+
offline cyber 0.30 → 0.45
|
|
6738
|
+
offline light 0.45 → 0.60
|
|
6739
|
+
Same paint-only mental model as R430 hub-spoke
|
|
6740
|
+
opacity lift + R429 label-card body opacity lift,
|
|
6741
|
+
now at the per-node halo scope. No geometry
|
|
6742
|
+
change so R51 sentinels stay safe and the overlap-
|
|
6743
|
+
test invariant is unchanged (test runs at rest).
|
|
6744
|
+
Closes a chroma/presence axis on the per-node
|
|
6745
|
+
hover signature alongside the 12-layer cue stack
|
|
6746
|
+
(R26/R217/R142/R427/R428/R429 card + R430/R435/
|
|
6747
|
+
R436/R437/R94 link + R438 ring). R407 offline
|
|
6748
|
+
halo opacity floor (cyber 0.30 / light 0.45) is
|
|
6749
|
+
the rest branch unchanged. Existing transition-
|
|
6750
|
+
[fill,opacity] duration-300 className handles
|
|
6751
|
+
the easing. data-node-halo-hovered exposes the
|
|
6752
|
+
gate; data-node-halo-resolved-opacity exposes
|
|
6753
|
+
the four-state resolved value for tests. */
|
|
6754
|
+
const isHaloHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
6755
|
+
/* Round 456 / Loop: light-theme offline node halo
|
|
6756
|
+
rest opacity 0.45 → 0.50. Stale-state legibility
|
|
6757
|
+
lift family extension (10th anchor) at the per-
|
|
6758
|
+
node halo light-theme scope:
|
|
6759
|
+
R317 subordinate-text gray-500 → gray-400
|
|
6760
|
+
R358 freshness floor 0.25 → 0.30
|
|
6761
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
6762
|
+
R404 hub-halo cyber trough 0.08 → 0.10
|
|
6763
|
+
R405 hub-halo light trough 0.32 → 0.34
|
|
6764
|
+
R406 edge freshness floor 0.35 → 0.40
|
|
6765
|
+
R407 node halo offline opacity
|
|
6766
|
+
cyber 0.25 → 0.30
|
|
6767
|
+
light 0.4 → 0.45
|
|
6768
|
+
R419 hub-spoke idle 0.45 → 0.50
|
|
6769
|
+
R452 dense alias rest 0.9 → 0.95
|
|
6770
|
+
R456 node halo offline LIGHT 0.45 → 0.50 ← this round
|
|
6771
|
+
Pre-R456 light-theme offline halo at 0.45 sat at
|
|
6772
|
+
the upper end of "near-floor" but read as soft-
|
|
6773
|
+
focus on the lighter canvas; +0.05 (~11 % opacity
|
|
6774
|
+
gain) lifts it to 0.50 — the midpoint between
|
|
6775
|
+
R407 rest 0.45 and R440 hover 0.60 — closing the
|
|
6776
|
+
gap so offline halos read more confidently as
|
|
6777
|
+
present-but-stale anchors. Cyber theme stays at
|
|
6778
|
+
R407's 0.30 (cyber backdrop is dark; the cyber
|
|
6779
|
+
offline halo against #080814 contains a stronger
|
|
6780
|
+
contrast envelope than light, so doesn't need
|
|
6781
|
+
the same lift). R440 hover 0.45→0.60 light + R12
|
|
6782
|
+
status.halo color + R407 transition list all
|
|
6783
|
+
preserved. */
|
|
6784
|
+
const haloOpacity = (() => {
|
|
6785
|
+
if (isOnline) {
|
|
6786
|
+
return isLight ? (isHaloHovered ? 1 : 0.85) : (isHaloHovered ? 0.80 : 0.65);
|
|
6787
|
+
}
|
|
6788
|
+
return isLight ? (isHaloHovered ? 0.60 : 0.50) : (isHaloHovered ? 0.45 : 0.30);
|
|
6789
|
+
})();
|
|
6790
|
+
return (
|
|
5478
6791
|
<circle
|
|
5479
6792
|
cx={pos.x}
|
|
5480
6793
|
cy={pos.y}
|
|
5481
6794
|
r={radius + 8}
|
|
5482
6795
|
fill={status.halo}
|
|
5483
|
-
opacity={
|
|
6796
|
+
opacity={haloOpacity}
|
|
6797
|
+
data-node-halo-offline-opacity={isOnline ? undefined : (isLight ? 0.45 : 0.30)}
|
|
6798
|
+
data-node-halo-hovered={isHaloHovered ? 'true' : 'false'}
|
|
6799
|
+
data-node-halo-resolved-opacity={haloOpacity}
|
|
5484
6800
|
className="transition-[fill,opacity] duration-300 ease-out"
|
|
5485
6801
|
data-node-halo-breath={!reducedMotion && session.status === 'working' ? 'on' : 'off'}
|
|
5486
6802
|
data-node-halo-breath-offset={
|
|
@@ -5539,6 +6855,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5539
6855
|
/>
|
|
5540
6856
|
)}
|
|
5541
6857
|
</circle>
|
|
6858
|
+
);
|
|
6859
|
+
})()}
|
|
5542
6860
|
{/* Round 111 / Loop: edge-endpoint emphasis ring. R49
|
|
5543
6861
|
already keeps endpoint nodes at opacity 1 while
|
|
5544
6862
|
others dim when an edge is hovered, but the
|
|
@@ -5595,11 +6913,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5595
6913
|
ring stroke-width). data-edge-endpoint-ring-
|
|
5596
6914
|
stroke-width attr surfaces the chosen value for
|
|
5597
6915
|
test introspection. */
|
|
6916
|
+
/* Round 442 / Loop: endpoint emphasis ring radius
|
|
6917
|
+
hover lift — r=radius+7 → radius+8 on isEndpoint,
|
|
6918
|
+
closing a 3-axis hover-elevation parity at endpoint
|
|
6919
|
+
ring scope (r + sw + opacity):
|
|
6920
|
+
opacity R182 0 → 0.85/0.9
|
|
6921
|
+
sw R233 1.6 → 2.4
|
|
6922
|
+
r R442 +7 → +8 ← this round
|
|
6923
|
+
Mirrors the 3-axis trios already established at
|
|
6924
|
+
hub hover-ring (R177/R370/R385) and edge badge
|
|
6925
|
+
(R164/R394/R395). Pre-R442 the endpoint ring
|
|
6926
|
+
faded in + thickened on edge-hover but its radius
|
|
6927
|
+
stayed locked at radius+7 — only the paint/weight
|
|
6928
|
+
axes lifted while the GEOMETRY stayed unchanged.
|
|
6929
|
+
+1px (~radius+7 to radius+8) gives a subtle outward
|
|
6930
|
+
pulse on hover without crowding the status ring
|
|
6931
|
+
(which sits at radius from R438 sw3.5 hover) or
|
|
6932
|
+
the halo (radius+8 from R440 opacity hover — the
|
|
6933
|
+
endpoint ring sits at the SAME radius as the halo
|
|
6934
|
+
but with stroke=cyan vs fill=status.halo so they
|
|
6935
|
+
don't visually collide). The transition list
|
|
6936
|
+
extends to include 'r 180ms ease-out' so the new
|
|
6937
|
+
axis eases under the same R233 cadence. SVG `r`
|
|
6938
|
+
on a <circle> uses CSS-property syntax for inter-
|
|
6939
|
+
polation (same idiom R197/R198 used on the
|
|
6940
|
+
legend swatch). data-edge-endpoint-ring-radius
|
|
6941
|
+
attr exposes the resolved value for tests. */
|
|
6942
|
+
const endpointR = isEndpoint ? radius + 8 : radius + 7;
|
|
5598
6943
|
return (
|
|
5599
6944
|
<circle
|
|
5600
6945
|
cx={pos.x}
|
|
5601
6946
|
cy={pos.y}
|
|
5602
|
-
r={radius + 7}
|
|
5603
6947
|
fill="none"
|
|
5604
6948
|
stroke={pal.flowEdge}
|
|
5605
6949
|
strokeWidth={isEndpoint ? 2.4 : 1.6}
|
|
@@ -5607,7 +6951,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5607
6951
|
data-edge-endpoint-ring
|
|
5608
6952
|
data-edge-endpoint-active={isEndpoint ? 'true' : 'false'}
|
|
5609
6953
|
data-edge-endpoint-ring-stroke-width={isEndpoint ? 2.4 : 1.6}
|
|
5610
|
-
|
|
6954
|
+
data-edge-endpoint-ring-radius={endpointR}
|
|
6955
|
+
style={{
|
|
6956
|
+
pointerEvents: 'none',
|
|
6957
|
+
r: `${endpointR}px`,
|
|
6958
|
+
transition: 'opacity 180ms ease-out, stroke-width 180ms ease-out, r 180ms ease-out',
|
|
6959
|
+
} as React.CSSProperties}
|
|
5611
6960
|
/>
|
|
5612
6961
|
);
|
|
5613
6962
|
})()}
|
|
@@ -5632,20 +6981,62 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5632
6981
|
stroke-width="3"/"1.5" still works against the
|
|
5633
6982
|
DOM attribute value (React-rendered, not
|
|
5634
6983
|
interpolated). */}
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
6984
|
+
{(() => {
|
|
6985
|
+
/* Round 438 / Loop: status ring strokeWidth hover lift —
|
|
6986
|
+
when hoveredAlias matches, the node's status ring
|
|
6987
|
+
thickens by +0.5: online 3 → 3.5, offline 1.5 → 2.
|
|
6988
|
+
Same absolute delta as R435 hub-spoke (idle 1→1.25
|
|
6989
|
+
used Δ +0.25 because rest base was thinner; status
|
|
6990
|
+
ring's heavier rest values 1.5/3 need a bigger
|
|
6991
|
+
+0.5 to register as visible thickening).
|
|
6992
|
+
Status-ring axis joins the node-hover cue stack
|
|
6993
|
+
(now 9 layers including link surfaces):
|
|
6994
|
+
R26 group translateY -2px per-node geometry
|
|
6995
|
+
R217 stroke tint legendAccent per-node card
|
|
6996
|
+
R142 drop-shadow boost per-node card
|
|
6997
|
+
R427 alias letter-spacing per-node text
|
|
6998
|
+
R428 sub-text letter-spacing per-node text
|
|
6999
|
+
R429 body opacity 0.94 → 1.0 per-node card
|
|
7000
|
+
R430 hub-spoke α+ link to hub (paint)
|
|
7001
|
+
R435 hub-spoke sw+ link to hub (geo)
|
|
7002
|
+
R94 edge α 1.7× inter-node link (paint)
|
|
7003
|
+
R436 edge sw 1.15× inter-node link (geo)
|
|
7004
|
+
R437 flow-rail sw 1 → 1.5 edge paint-layer
|
|
7005
|
+
R438 status-ring sw +0.5 ring geometry ← this round
|
|
7006
|
+
R51 sentinel safety: rest values 3 / 1.5 unchanged
|
|
7007
|
+
so the overlap-test selector `circle[stroke-width=
|
|
7008
|
+
"3"]` / `circle[stroke-width="1.5"]` inside
|
|
7009
|
+
g[data-node] still matches at rest. Hover values
|
|
7010
|
+
3.5 / 2 are not in the reserved {1.5, 3} set so
|
|
7011
|
+
the selector wouldn't match them anyway; but the
|
|
7012
|
+
test runs WITHOUT hover so this never matters
|
|
7013
|
+
in practice. R167 stroke-width 300ms transition
|
|
7014
|
+
already in the style list eases the lift for
|
|
7015
|
+
free. data-node-status-ring-hovered exposes the
|
|
7016
|
+
gate for tests. */
|
|
7017
|
+
const isRingHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
7018
|
+
const ringStrokeWidth = isOnline
|
|
7019
|
+
? (isRingHovered ? 3.5 : 3)
|
|
7020
|
+
: (isRingHovered ? 2 : 1.5);
|
|
7021
|
+
return (
|
|
7022
|
+
<circle
|
|
7023
|
+
cx={pos.x}
|
|
7024
|
+
cy={pos.y}
|
|
7025
|
+
r={radius}
|
|
7026
|
+
fill={isOnline ? pal.nodeFill.online : pal.nodeFill.offline}
|
|
7027
|
+
stroke={status.primary}
|
|
7028
|
+
strokeWidth={ringStrokeWidth}
|
|
7029
|
+
strokeDasharray={isOnline ? 'none' : '5 5'}
|
|
7030
|
+
filter={isOnline && !isLight ? 'url(#topo-glow)' : undefined}
|
|
7031
|
+
data-node-status-ring={status.label}
|
|
7032
|
+
data-node-status-ring-hovered={isRingHovered ? 'true' : 'false'}
|
|
7033
|
+
data-node-status-ring-stroke-width={ringStrokeWidth}
|
|
7034
|
+
style={{
|
|
7035
|
+
transition: 'fill 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out',
|
|
7036
|
+
}}
|
|
7037
|
+
/>
|
|
7038
|
+
);
|
|
7039
|
+
})()}
|
|
5649
7040
|
{/* v0.10.0 Hero 1+2 / §3.F server-health node-ring tint.
|
|
5650
7041
|
When the host server this agent runs on is in the
|
|
5651
7042
|
`red` tier (CPU/Mem/Disk worst-of ≥ 85% per
|
|
@@ -5825,8 +7216,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5825
7216
|
transition: 'r 150ms ease-out, stroke-width 150ms ease-out',
|
|
5826
7217
|
} as React.CSSProperties}
|
|
5827
7218
|
/>
|
|
7219
|
+
{/* Round 443 / Loop: runtime badge inner-icon
|
|
7220
|
+
strokeWidth lift on node hover — 2.4 → 2.8 on
|
|
7221
|
+
isNodeActive. Pre-R443 the outer badge ring
|
|
7222
|
+
lifted (R208 r + sw both grow on hover) but
|
|
7223
|
+
the inner icon path stayed locked at sw=2.4.
|
|
7224
|
+
The two layers of the runtime badge were
|
|
7225
|
+
out of phase: ring thickened, icon stayed
|
|
7226
|
+
thin. R443 closes the 2-axis hover signature
|
|
7227
|
+
on the badge so both ring and icon lift
|
|
7228
|
+
together. +0.4 absolute delta matches the
|
|
7229
|
+
R208 ring's +0.5 sw delta (badge ring 1.5 →
|
|
7230
|
+
2.0 absolute), proportional to the icon's
|
|
7231
|
+
heavier base of 2.4. Pure paint axis;
|
|
7232
|
+
strokeLinecap='round' + strokeLinejoin='round'
|
|
7233
|
+
preserved. transition list extends to include
|
|
7234
|
+
'stroke-width 150ms ease-out' matching R208
|
|
7235
|
+
outer-ring cadence. data-runtime-badge-icon
|
|
7236
|
+
+ -active attrs exposed for tests. */}
|
|
5828
7237
|
<g transform={`translate(${bx - icon / 2} ${by - icon / 2}) scale(${icon / 24})`}>
|
|
5829
|
-
<path
|
|
7238
|
+
<path
|
|
7239
|
+
d={rt.iconPath}
|
|
7240
|
+
fill="none"
|
|
7241
|
+
stroke={rt.color}
|
|
7242
|
+
strokeWidth={isNodeActive ? '2.8' : '2.4'}
|
|
7243
|
+
strokeLinecap="round"
|
|
7244
|
+
strokeLinejoin="round"
|
|
7245
|
+
data-runtime-badge-icon={session.alias}
|
|
7246
|
+
data-runtime-badge-icon-active={isNodeActive ? 'true' : 'false'}
|
|
7247
|
+
data-runtime-badge-icon-stroke-width={isNodeActive ? '2.8' : '2.4'}
|
|
7248
|
+
style={{ transition: 'stroke-width 150ms ease-out' }}
|
|
7249
|
+
/>
|
|
5830
7250
|
</g>
|
|
5831
7251
|
</g>
|
|
5832
7252
|
);
|
|
@@ -5969,14 +7389,69 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5969
7389
|
220ms cadence the existing filter/stroke
|
|
5970
7390
|
pair uses — coordinated 4-property easing
|
|
5971
7391
|
across the card. */}
|
|
7392
|
+
{/* Round 411 / Loop: node label card rx 6 → 8.
|
|
7393
|
+
Pre-R411 the per-node label card painted at
|
|
7394
|
+
rx=6, sitting one tier BELOW the R332/R375/
|
|
7395
|
+
R376 compact-chrome tier (rx=8). Inside the
|
|
7396
|
+
corner-radius cascade family the cards used
|
|
7397
|
+
to be the only "smaller" tier — but the
|
|
7398
|
+
label card is a content-bearing surface
|
|
7399
|
+
(alias + sub text + ring), not a sub-
|
|
7400
|
+
element decoration. R411 lifts rx=6 → 8
|
|
7401
|
+
to align with the compact-chrome / segmented-
|
|
7402
|
+
control tier so all "compact card" surfaces
|
|
7403
|
+
read with the same corner radius.
|
|
7404
|
+
Corner-radius cascade (8 anchors now):
|
|
7405
|
+
R330 canvas rx 12 (root)
|
|
7406
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
7407
|
+
R332 minimap container rx 8 (compact chrome)
|
|
7408
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
7409
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
7410
|
+
R390 hover-detail rx 10 (panel)
|
|
7411
|
+
R393 minimap viewport rx 2 (sub-element)
|
|
7412
|
+
R411 node label card rx 6 → 8 (compact card, this round)
|
|
7413
|
+
Pure paint — rx grows the corner curve
|
|
7414
|
+
inward without changing the card's outer
|
|
7415
|
+
cardW × cardH bbox (cardW=92/cardH=22 for
|
|
7416
|
+
standard nodes per R23 / R187 sizing). R217
|
|
7417
|
+
hover-stroke cyan tint + R142 drop-shadow
|
|
7418
|
+
+ R246 fill+opacity 220ms transition list
|
|
7419
|
+
+ R211 alias/sub text-fill ease all
|
|
7420
|
+
preserved. data-node-label-card-rx attr
|
|
7421
|
+
exposes the value for tests. */}
|
|
7422
|
+
{/* Round 429 / Loop: node label-card body opacity
|
|
7423
|
+
0.94 → 1.0 on hover (cyber theme). Sibling
|
|
7424
|
+
treatment to R348 panel rect opacity lift —
|
|
7425
|
+
0.92 → 0.97 cyber / 0.97 → 1.0 light at the
|
|
7426
|
+
panel scope. Pre-R429 the cyber theme card
|
|
7427
|
+
sat at 0.94 always; on hover R217 tinted the
|
|
7428
|
+
stroke + R142 grew the drop-shadow + R26
|
|
7429
|
+
lifted the group + R427/R428 spaced the text
|
|
7430
|
+
but the rect itself never solidified —
|
|
7431
|
+
the card glowed brighter through the
|
|
7432
|
+
shadow but the body alpha gap (6 pct) stayed
|
|
7433
|
+
fixed. R429 lifts the body to full alpha on
|
|
7434
|
+
hover so the card reads as a confidently
|
|
7435
|
+
present surface under the cursor (matching
|
|
7436
|
+
the panel-pair pattern). Light theme stays
|
|
7437
|
+
at 1.0 in both states (already maxed). R246
|
|
7438
|
+
transition list already covers opacity 220ms
|
|
7439
|
+
so the lift eases for free. R217 stroke tint
|
|
7440
|
+
+ R142 drop-shadow + R211 fill ease all
|
|
7441
|
+
preserved (additive opacity branch only). */}
|
|
5972
7442
|
<rect
|
|
5973
|
-
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="
|
|
7443
|
+
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="8"
|
|
5974
7444
|
fill={pal.labelBox.fill}
|
|
5975
7445
|
stroke={!reducedMotion && hoveredAlias === session.alias
|
|
5976
7446
|
? pal.legendAccent
|
|
5977
7447
|
: pal.labelBox.stroke}
|
|
5978
|
-
opacity={
|
|
7448
|
+
opacity={
|
|
7449
|
+
!reducedMotion && hoveredAlias === session.alias
|
|
7450
|
+
? 1
|
|
7451
|
+
: (isLight ? 1 : 0.94)
|
|
7452
|
+
}
|
|
5979
7453
|
data-node-label-card={session.alias}
|
|
7454
|
+
data-node-label-card-rx="8"
|
|
5980
7455
|
data-node-label-card-elevation={
|
|
5981
7456
|
!reducedMotion && hoveredAlias === session.alias ? 'hover' : 'idle'
|
|
5982
7457
|
}
|
|
@@ -6020,25 +7495,94 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6020
7495
|
transition list extends 'letter-spacing
|
|
6021
7496
|
200ms ease-out' so it eases alongside the
|
|
6022
7497
|
existing 300ms fill transition. */}
|
|
7498
|
+
{/* Round 427 / Loop: extend the node alias label
|
|
7499
|
+
letter-spacing family to a 3-tier scale —
|
|
7500
|
+
rest 0px → hover 0.3px → chat-target 0.5px.
|
|
7501
|
+
Pre-R427 the alias text shifted only when
|
|
7502
|
+
chat was actively pinned (R305); pure node-
|
|
7503
|
+
hover left the text dead-typographic while
|
|
7504
|
+
the surrounding card lifted (R26 translateY
|
|
7505
|
+
+ R242 stroke + filter cues). R427 adds the
|
|
7506
|
+
missing typographic axis to the hover gesture
|
|
7507
|
+
so the alias text rises with the card.
|
|
7508
|
+
The chat-target tier still wins (0.5 > 0.3)
|
|
7509
|
+
so the pin signature stays at the top of the
|
|
7510
|
+
scale — hover is the mid tier between rest
|
|
7511
|
+
and chat-target.
|
|
7512
|
+
Hover-letter-spacing family extension:
|
|
7513
|
+
R344 chip count digit
|
|
7514
|
+
R345 panel title (R423 sibling)
|
|
7515
|
+
R347 active-links chip
|
|
7516
|
+
R351 vendor chip
|
|
7517
|
+
R420 zoom-level chip
|
|
7518
|
+
R427 node alias text (this round)
|
|
7519
|
+
R211 fill 300ms + R305 letter-spacing 200ms
|
|
7520
|
+
transition list preserved; only the
|
|
7521
|
+
conditional gets a middle case. */}
|
|
6023
7522
|
<text
|
|
6024
7523
|
x="0" y="1" textAnchor="middle"
|
|
6025
7524
|
fill={status.text}
|
|
6026
7525
|
fontSize={aliasFs} fontFamily="monospace" fontWeight="700"
|
|
6027
7526
|
data-node-alias-text={session.alias}
|
|
6028
7527
|
data-node-alias-chat-target={chatAlias === session.alias ? 'true' : 'false'}
|
|
7528
|
+
data-node-alias-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
6029
7529
|
style={{
|
|
6030
7530
|
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
6031
|
-
letterSpacing:
|
|
7531
|
+
letterSpacing:
|
|
7532
|
+
chatAlias === session.alias ? '0.5px' :
|
|
7533
|
+
hoveredAlias === session.alias ? '0.3px' : '0px',
|
|
6032
7534
|
}}
|
|
6033
7535
|
>
|
|
6034
7536
|
{truncate(session.alias, fullMax)}
|
|
6035
7537
|
</text>
|
|
7538
|
+
{/* Round 428 / Loop: node sub-text (status label
|
|
7539
|
+
line beneath the alias) adopts hover letter-
|
|
7540
|
+
spacing tween 0 → 0.2px on hoveredAlias.
|
|
7541
|
+
Sibling treatment to R427 alias-text hover
|
|
7542
|
+
tween (0 → 0.3) — the alias is the primary
|
|
7543
|
+
identity (top-tier kerning 0.3), the sub-text
|
|
7544
|
+
is the secondary status line (one tier lower
|
|
7545
|
+
at 0.2). Now both lines of the label card
|
|
7546
|
+
telegraph hover typographically as one unit,
|
|
7547
|
+
matching the R26 card lift + R242 stroke
|
|
7548
|
+
tint + R975 filter cues. Subtler delta on
|
|
7549
|
+
the sub-text (0.2 vs alias 0.3) preserves
|
|
7550
|
+
the alias > status visual hierarchy at the
|
|
7551
|
+
hover scope. R211 fill 300ms transition
|
|
7552
|
+
preserved (additive letter-spacing branch
|
|
7553
|
+
+ appended 'letter-spacing 200ms ease-out'). */}
|
|
7554
|
+
{/* Round 448 / Loop: node sub-text fontWeight
|
|
7555
|
+
400 → 500 (font-medium). Sibling to R363
|
|
7556
|
+
(recent-row text fw 400→500) + R364 (legend-
|
|
7557
|
+
row label fw 400→500) — same "small mono
|
|
7558
|
+
text at fontSize=9-11 needs 500-tier weight
|
|
7559
|
+
for legibility" pattern, now applied to the
|
|
7560
|
+
per-node sub-text line. At fontSize=8-9
|
|
7561
|
+
monospace against the label-card chrome
|
|
7562
|
+
(pal.labelBox.fill cyber #020617 / light
|
|
7563
|
+
#ffffff), the default fw=400 sits at the
|
|
7564
|
+
legibility floor; fw=500 (font-medium) lifts
|
|
7565
|
+
it into a clearly readable band without
|
|
7566
|
+
changing geometry. R211 fill 300ms +
|
|
7567
|
+
R428 letter-spacing 0→0.2 hover + R427
|
|
7568
|
+
alias-text + R429 body opacity all preserved.
|
|
7569
|
+
Pure typography lift; no layout shift; the
|
|
7570
|
+
alias-text fw=700 (R427) still wins so the
|
|
7571
|
+
alias > status hierarchy holds at the type
|
|
7572
|
+
level. data-node-sub-text-font-weight attr
|
|
7573
|
+
exposes the value for tests. */}
|
|
6036
7574
|
<text
|
|
6037
7575
|
x="0" y={subY} textAnchor="middle"
|
|
6038
7576
|
fill={status.primary}
|
|
6039
7577
|
fontSize={subFs} fontFamily="monospace"
|
|
7578
|
+
fontWeight="500"
|
|
6040
7579
|
data-node-sub-text={session.alias}
|
|
6041
|
-
|
|
7580
|
+
data-node-sub-text-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
7581
|
+
data-node-sub-text-font-weight="500"
|
|
7582
|
+
style={{
|
|
7583
|
+
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
7584
|
+
letterSpacing: hoveredAlias === session.alias ? '0.2px' : '0px',
|
|
7585
|
+
}}
|
|
6042
7586
|
>
|
|
6043
7587
|
{status.label}{isOnline && sseCountFor != null ? ` sse:${sseCountFor}` : ''}
|
|
6044
7588
|
</text>
|
|
@@ -6061,6 +7605,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6061
7605
|
// CSS pseudo-class; only the transition-property
|
|
6062
7606
|
// moves to inline. Big fleets benefit most — this is
|
|
6063
7607
|
// the path users see when their dashboard is busiest.
|
|
7608
|
+
/* Round 452 / Loop: dense plain-text alias rest
|
|
7609
|
+
opacity 0.9 → 0.95. Closes the alpha gap on the
|
|
7610
|
+
dense fleet's per-node label, sibling to R449
|
|
7611
|
+
legend-count-active 0.95→1.0 and R450 minimap
|
|
7612
|
+
viewport rest 0.9→0.95 — same "close the
|
|
7613
|
+
active-presence alpha gap" idiom applied here
|
|
7614
|
+
to the dense-mode alias text at fontSize=9-10
|
|
7615
|
+
monospace. Pre-R452 dense aliases at α=0.9 sat
|
|
7616
|
+
just below full alpha; for un-hovered nodes in
|
|
7617
|
+
a busy >16-node fleet this is the only label
|
|
7618
|
+
readable, so the 10% alpha gap added a subtle
|
|
7619
|
+
"soft-focused chrome" feel where the labels
|
|
7620
|
+
should read as definitive. +0.05 lift makes
|
|
7621
|
+
them confidently present without erasing the
|
|
7622
|
+
status.text + R110 stroke halo + paintOrder
|
|
7623
|
+
layering. R26 group-hover translate + R212
|
|
7624
|
+
fill 300ms transition + R110 stroke=container-
|
|
7625
|
+
Bg halo all preserved. data-node-dense-alias-
|
|
7626
|
+
text-opacity attr exposes the resolved value
|
|
7627
|
+
for tests. */
|
|
6064
7628
|
<text
|
|
6065
7629
|
x={pos.x}
|
|
6066
7630
|
y={pos.y + radius + denseDrop}
|
|
@@ -6069,9 +7633,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6069
7633
|
fontSize={denseFs}
|
|
6070
7634
|
fontFamily="monospace"
|
|
6071
7635
|
fontWeight="700"
|
|
6072
|
-
opacity={0.
|
|
7636
|
+
opacity={0.95}
|
|
6073
7637
|
className="group-hover:-translate-y-[1.5px]"
|
|
6074
7638
|
data-node-dense-alias-text={session.alias}
|
|
7639
|
+
data-node-dense-alias-text-opacity="0.95"
|
|
6075
7640
|
style={{
|
|
6076
7641
|
pointerEvents: 'none',
|
|
6077
7642
|
paintOrder: 'stroke',
|
|
@@ -6111,26 +7676,122 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6111
7676
|
const detailY = pos.y - detailH / 2;
|
|
6112
7677
|
return (
|
|
6113
7678
|
<g transform={`translate(${detailX}, ${detailY})`} data-topo-hover-detail={session.alias} style={{ pointerEvents: 'none' }}>
|
|
7679
|
+
{/* Round 387 / Loop: hover-detail panel cyber backdrop
|
|
7680
|
+
opacity 0.94 → 0.97. The hover-detail card is
|
|
7681
|
+
ALWAYS rendered in active-hover context (it IS
|
|
7682
|
+
the hover product), so it should carry the
|
|
7683
|
+
same backdrop weight as the R348 recent-signal /
|
|
7684
|
+
legend panel HOVER state (which lifts 0.92 →
|
|
7685
|
+
0.97 cyber). Pre-R387 the card sat at 0.94
|
|
7686
|
+
cyber, leaving a 0.03 alpha gap against the
|
|
7687
|
+
R348 panel-hover state — small but visible
|
|
7688
|
+
when the hover-detail floats next to a hovered
|
|
7689
|
+
recent-signal panel. R387 unifies them at 0.97
|
|
7690
|
+
so all active-hover panels paint with the same
|
|
7691
|
+
confident backdrop opacity in cyber. Light
|
|
7692
|
+
stays at 0.98 (already at the strong end —
|
|
7693
|
+
R348 light also stays at 0.97/0.98 max).
|
|
7694
|
+
Theme-consistency / canvas-presence polish
|
|
7695
|
+
family (5th anchor):
|
|
7696
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
7697
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
7698
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
7699
|
+
R386 hub-highlight idle opacity 0.9 → 0.95
|
|
7700
|
+
R387 hover-detail panel opacity 0.94 → 0.97 cyber (this round)
|
|
7701
|
+
data-topo-hover-detail-opacity attr exposes
|
|
7702
|
+
the resolved value for tests. R348 drop-shadow
|
|
7703
|
+
+ rx=8 + stroke=pal.legendAccent + fill=pal.
|
|
7704
|
+
labelBox.fill all preserved. */}
|
|
7705
|
+
{/* Round 390 / Loop: hover-detail card rx 8 → 10.
|
|
7706
|
+
Corner-radius cascade family — the hover-detail
|
|
7707
|
+
card is a panel-tier surface (192×88 floating
|
|
7708
|
+
info card with drop-shadow + stroke), so its
|
|
7709
|
+
corner radius should match the R331 panel tier
|
|
7710
|
+
(rx=10) used by the recent-signal and legend
|
|
7711
|
+
panels. Pre-R390 it shared rx=8 with the R332
|
|
7712
|
+
minimap and R375/R376 segmented-control tier
|
|
7713
|
+
(Layout-toggle, nodeSize, zoom wrappers),
|
|
7714
|
+
which is the "compact chrome control" tier —
|
|
7715
|
+
a tier mismatch for a content-bearing panel.
|
|
7716
|
+
Corner-radius cascade (6 anchors now):
|
|
7717
|
+
R330 canvas rx 12 (root)
|
|
7718
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
7719
|
+
R332 minimap rx 8 (compact chrome)
|
|
7720
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
7721
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
7722
|
+
R390 hover-detail rx 10 (panel — this round)
|
|
7723
|
+
Pure paint change; no layout shift (rx grows
|
|
7724
|
+
the corner curve INWARD without changing the
|
|
7725
|
+
card's outer bbox). data-topo-hover-detail-
|
|
7726
|
+
rx attr exposes the resolved value for tests.
|
|
7727
|
+
R348 drop-shadow + stroke + R387 opacity all
|
|
7728
|
+
preserved. */}
|
|
6114
7729
|
<rect
|
|
6115
|
-
x="0" y="0" width={detailW} height={detailH} rx="
|
|
7730
|
+
x="0" y="0" width={detailW} height={detailH} rx="10"
|
|
6116
7731
|
fill={pal.labelBox.fill}
|
|
6117
7732
|
stroke={pal.legendAccent}
|
|
6118
|
-
opacity={isLight ? 0.98 : 0.
|
|
7733
|
+
opacity={isLight ? 0.98 : 0.97}
|
|
7734
|
+
data-topo-hover-detail-opacity={isLight ? 0.98 : 0.97}
|
|
7735
|
+
data-topo-hover-detail-rx="10"
|
|
6119
7736
|
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))' }}
|
|
6120
7737
|
/>
|
|
6121
7738
|
<text x="10" y="16" fontSize="9" fontFamily="monospace" fill={pal.legendAccent} fontWeight="700">
|
|
6122
7739
|
{v.id !== 'unknown' ? v.label : '—'}
|
|
6123
7740
|
</text>
|
|
6124
|
-
|
|
7741
|
+
{/* Round 389 / Loop: hover-detail model line (y=32)
|
|
7742
|
+
fontWeight 400 → 600. R388 lifted body lines
|
|
7743
|
+
(runtime/host/task at fontSize=9) to fw=500;
|
|
7744
|
+
R389 closes the typography hierarchy by giving
|
|
7745
|
+
the model name (the dominant subhead text in
|
|
7746
|
+
the card) its own weight tier. Three-tier
|
|
7747
|
+
ladder now reads cleanly:
|
|
7748
|
+
vendor fontSize=9 fw=700 (label badge)
|
|
7749
|
+
model fontSize=10 fw=600 (subhead — this round)
|
|
7750
|
+
body 3× fontSize=9 fw=500 (R388)
|
|
7751
|
+
One tier step per dimension (size + weight)
|
|
7752
|
+
between adjacent levels — classic editorial
|
|
7753
|
+
hierarchy idiom adapted to a 192×88 SVG card.
|
|
7754
|
+
Sibling to the chip-internal-hierarchy arc
|
|
7755
|
+
(R333-R341/R362/R369) which uses fw=600/500
|
|
7756
|
+
for digit/unit pairs; R389 applies the same
|
|
7757
|
+
fw=600 to a content-bearing identity line.
|
|
7758
|
+
data-topo-hover-detail-model-fw attr exposes
|
|
7759
|
+
the resolved value for tests. pal.legendHeadline
|
|
7760
|
+
fill preserved (R389 doesn't touch color). */}
|
|
7761
|
+
<text x="10" y="32" fontSize="10" fontFamily="monospace" fontWeight="600" fill={pal.legendHeadline} data-topo-hover-detail-model-fw="600">
|
|
6125
7762
|
{session.model || 'model · pending'}
|
|
6126
7763
|
</text>
|
|
6127
|
-
|
|
7764
|
+
{/* Round 388 / Loop: hover-detail body lines (the
|
|
7765
|
+
three fontSize=9 lines: runtime, host, task)
|
|
7766
|
+
gain fontWeight=500. Small-text fw lift family
|
|
7767
|
+
(6th anchor) — fontSize 9-10 px text reads
|
|
7768
|
+
consistently bolder at fw=500 than at the
|
|
7769
|
+
default 400 weight at small sizes, especially
|
|
7770
|
+
on the cyber-theme backdrop where stroke-
|
|
7771
|
+
rendering is the limiting factor.
|
|
7772
|
+
Sibling lifts in this family:
|
|
7773
|
+
R363 recent-row alias text 400 → 500
|
|
7774
|
+
R364 legend-row label 400 → 500
|
|
7775
|
+
R366 group-label count tspan 400 → 500
|
|
7776
|
+
R368 +N more flows footer 400 → 500
|
|
7777
|
+
R373 pressure-bar kicker (font-medium)
|
|
7778
|
+
R388 hover-detail body lines 400 → 500 (this round)
|
|
7779
|
+
Tier structure preserved:
|
|
7780
|
+
y=16 vendor (fw=700, headline)
|
|
7781
|
+
y=32 model (fontSize=10, subhead by size)
|
|
7782
|
+
y=48 runtime / y=64 host / y=80 task (body, now fw=500)
|
|
7783
|
+
The y=80 task line keeps opacity=0.7 so its
|
|
7784
|
+
caption-tier identity stays distinct from the
|
|
7785
|
+
y=48 / y=64 body lines despite shared fw.
|
|
7786
|
+
data-topo-hover-detail-body-fw attr exposes
|
|
7787
|
+
the resolved value for tests. */}
|
|
7788
|
+
<text x="10" y="48" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6128
7789
|
{rt ? rt.label : 'runtime · pending'}
|
|
6129
7790
|
</text>
|
|
6130
|
-
<text x="10" y="64" fontSize="9" fontFamily="monospace" fill={pal.legendText}>
|
|
7791
|
+
<text x="10" y="64" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6131
7792
|
host · {session.server || 'unknown'}
|
|
6132
7793
|
</text>
|
|
6133
|
-
<text x="10" y="80" fontSize="9" fontFamily="monospace" fill={pal.legendText} opacity="0.7">
|
|
7794
|
+
<text x="10" y="80" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} opacity="0.7" data-topo-hover-detail-body-fw="500">
|
|
6134
7795
|
{session.task ? truncate(session.task, 28) : 'no recent task'}
|
|
6135
7796
|
</text>
|
|
6136
7797
|
</g>
|
|
@@ -6194,14 +7855,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6194
7855
|
keySplines="0.25 0.1 0.25 1"
|
|
6195
7856
|
fill="freeze"
|
|
6196
7857
|
/>
|
|
7858
|
+
{/* Round 403 / Loop: click-ripple SMIL initial opacity
|
|
7859
|
+
0.7 → 0.8. Pre-R403 the ripple's opacity animation
|
|
7860
|
+
faded from 0.7 to 0 over 500ms, providing a clean
|
|
7861
|
+
click-feedback pulse. Theme-consistency / canvas-
|
|
7862
|
+
presence polish family (R370 hub hover-ring +
|
|
7863
|
+
R391 hub-spoke active) already lifted paired
|
|
7864
|
+
hover-state alphas from 0.7 → 0.8. R403 brings
|
|
7865
|
+
click-feedback into that same alpha — three canvas
|
|
7866
|
+
state-feedback indicators (hover-ring, active spoke,
|
|
7867
|
+
click ripple) now share a uniform 0.8 start alpha
|
|
7868
|
+
so the visual "I responded" signal carries the
|
|
7869
|
+
same weight regardless of which state fired it.
|
|
7870
|
+
Pre-R403 invariants preserved: 500ms duration,
|
|
7871
|
+
R227 calcMode='spline' + ease-out keySplines
|
|
7872
|
+
(0.25 0.1 0.25 1), fill='freeze', concurrent r
|
|
7873
|
+
animation. Theme-consistency family (8 anchors):
|
|
7874
|
+
R370 hub hover-ring 0.7 → 0.8
|
|
7875
|
+
R371 edge-badge rest 0.82 → 0.85 cyber
|
|
7876
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
7877
|
+
R386 hub-highlight idle 0.9 → 0.95
|
|
7878
|
+
R387 hover-detail panel 0.94 → 0.97 cyber
|
|
7879
|
+
R391 hub-spoke active 0.7 → 0.8
|
|
7880
|
+
R392 minimap online-dot 0.9 → 0.95
|
|
7881
|
+
R403 click-ripple start 0.7 → 0.8 (this round)
|
|
7882
|
+
data-click-ripple-start-opacity attr exposes the
|
|
7883
|
+
resolved value for tests. */}
|
|
6197
7884
|
<animate
|
|
6198
7885
|
attributeName="opacity"
|
|
6199
|
-
values="0.
|
|
7886
|
+
values="0.8;0"
|
|
6200
7887
|
dur="0.5s"
|
|
6201
7888
|
calcMode="spline"
|
|
6202
7889
|
keyTimes="0;1"
|
|
6203
7890
|
keySplines="0.25 0.1 0.25 1"
|
|
6204
7891
|
fill="freeze"
|
|
7892
|
+
data-click-ripple-start-opacity="0.8"
|
|
6205
7893
|
/>
|
|
6206
7894
|
</circle>
|
|
6207
7895
|
)}
|
|
@@ -6275,17 +7963,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6275
7963
|
<rect
|
|
6276
7964
|
x="0" y="0" width="230" height="88" rx="10"
|
|
6277
7965
|
fill={pal.legendBox.fill}
|
|
6278
|
-
stroke
|
|
6279
|
-
//
|
|
6280
|
-
//
|
|
6281
|
-
//
|
|
6282
|
-
//
|
|
6283
|
-
//
|
|
6284
|
-
//
|
|
6285
|
-
//
|
|
6286
|
-
//
|
|
6287
|
-
//
|
|
6288
|
-
//
|
|
7966
|
+
// Round 423 / Loop: panel rect stroke tints to legendAccent
|
|
7967
|
+
// (cyan) on hover — sibling to R217 label-card stroke
|
|
7968
|
+
// hover-tint at the panel scope. Pre-R423 the panel rect
|
|
7969
|
+
// stroke painted pal.legendBox.stroke (neutral) regardless
|
|
7970
|
+
// of hover state, while every other panel hover cue stacked:
|
|
7971
|
+
// R135 drop-shadow boost
|
|
7972
|
+
// R348 rect opacity 0.92 → 0.97 cyber
|
|
7973
|
+
// R345 title letter-spacing 0.3 → 0.4
|
|
7974
|
+
// R423 rect stroke → legendAccent (this round)
|
|
7975
|
+
// Four hover layers now telegraph "you're entering this
|
|
7976
|
+
// panel" through structural, paint, and typographic axes
|
|
7977
|
+
// simultaneously. R247 transition list already covers
|
|
7978
|
+
// stroke 200ms ease-out so the tint eases naturally.
|
|
7979
|
+
// Sibling change at the legend panel rect below.
|
|
7980
|
+
stroke={hoveredPanel === 'recent' ? pal.legendAccent : pal.legendBox.stroke}
|
|
6289
7981
|
opacity={hoveredPanel === 'recent' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
|
|
6290
7982
|
style={{
|
|
6291
7983
|
/* R135: drop-shadow intensifies on panel hover. Base
|
|
@@ -6409,8 +8101,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6409
8101
|
const alpha = ageSec <= 30
|
|
6410
8102
|
? 1
|
|
6411
8103
|
: ageSec <= 300
|
|
6412
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6413
|
-
: 0.25
|
|
8104
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
8105
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6414
8106
|
// Dark cyan-400 / light teal-600 with alpha — same
|
|
6415
8107
|
// palette as R161's chip bullet so the two scopes
|
|
6416
8108
|
// visually align even side-by-side.
|
|
@@ -6478,13 +8170,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6478
8170
|
tests + count value reads still resolve via
|
|
6479
8171
|
.textContent. data-recent-panel-count-unit on
|
|
6480
8172
|
the inner unit tspan for R336 introspection. */}
|
|
8173
|
+
{/* R424 — recent-signal panel count digit fontWeight
|
|
8174
|
+
600 → 700 on panel hover. Closes the 5-layer panel
|
|
8175
|
+
hover cue stack with a typographic-weight axis at
|
|
8176
|
+
the panel-header data scope: depth (R135 drop-
|
|
8177
|
+
shadow) + solidity (R348 fill opacity) + spacing
|
|
8178
|
+
(R345 title letter-spacing) + edge color (R423
|
|
8179
|
+
stroke tint) + weight (THIS, digit fw). Sibling
|
|
8180
|
+
pattern to R416 chip-digit-hover-bold at chip
|
|
8181
|
+
scope — same "data tightens under attention"
|
|
8182
|
+
idiom now at the panel-header data scope. R311
|
|
8183
|
+
base fw=600 + R225 tabular-nums + R162 fill
|
|
8184
|
+
transition + R336 unit-tspan opacity-0.7 all
|
|
8185
|
+
preserved; only the weight axis tweens via R247's
|
|
8186
|
+
transition shape (added font-weight to the list). */}
|
|
6481
8187
|
<tspan
|
|
6482
8188
|
fill={freshFill}
|
|
6483
|
-
fontWeight=
|
|
8189
|
+
fontWeight={hoveredPanel === 'recent' ? '700' : '600'}
|
|
6484
8190
|
data-recent-panel-count
|
|
6485
8191
|
data-recent-panel-count-freshness-alpha={alpha.toFixed(2)}
|
|
6486
8192
|
style={{
|
|
6487
|
-
transition: 'fill 200ms ease-out',
|
|
8193
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
6488
8194
|
fontVariantNumeric: 'tabular-nums',
|
|
6489
8195
|
}}
|
|
6490
8196
|
>{flowLinks.length}<tspan opacity="0.7" data-recent-panel-count-unit> flows</tspan></tspan>
|
|
@@ -6906,18 +8612,83 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6906
8612
|
const alpha = ageSec <= 30
|
|
6907
8613
|
? 1
|
|
6908
8614
|
: ageSec <= 300
|
|
6909
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6910
|
-
: 0.25
|
|
8615
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
8616
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6911
8617
|
return (
|
|
6912
8618
|
<circle
|
|
6913
8619
|
cx={10}
|
|
6914
8620
|
cy={38 + index * 16 - 3}
|
|
6915
|
-
|
|
8621
|
+
/* Round 359 / Loop: recency pip base radius
|
|
8622
|
+
1.6 → 1.8. Sibling lift to R358's freshness-
|
|
8623
|
+
floor bump (alpha 0.25 → 0.30) — pre-R358/
|
|
8624
|
+
R359 the stale pip painted at r=1.6 + α=0.25
|
|
8625
|
+
which read as near-invisible chrome. R358
|
|
8626
|
+
gave it more alpha; R359 gives it more area
|
|
8627
|
+
(1.8² / 1.6² ≈ 1.27, so ~27 % more glyph)
|
|
8628
|
+
so the pip stays distinguishable across the
|
|
8629
|
+
freshness ramp. Geometry: 1.8-radius dot
|
|
8630
|
+
centred at (10, row_y - 3) is bbox 3.6×3.6,
|
|
8631
|
+
still well inside the 7-px left margin
|
|
8632
|
+
(x=6 rect-start → x=13 text-start) the R160
|
|
8633
|
+
pip was placed in. Overlap-test reads the
|
|
8634
|
+
parent row rect's bbox, not this pip's, so
|
|
8635
|
+
grid+ring invariants hold. Matches the same
|
|
8636
|
+
1.6 → 1.8 visual-weight bump R295 applied
|
|
8637
|
+
to the legend swatch (5.5 → 6 base radius)
|
|
8638
|
+
and R287 to the minimap viewport stroke
|
|
8639
|
+
(1 → 1.5). data-recent-row-freshness-radius
|
|
8640
|
+
attr exposes the value for tests. */
|
|
8641
|
+
/* Round 383 / Loop: recency pip base radius
|
|
8642
|
+
1.8 → 2.0. Continues the R359 lift
|
|
8643
|
+
trajectory — pip area grows ~23 % (π·2²/
|
|
8644
|
+
π·1.8² ≈ 1.23) for a clearer at-a-glance
|
|
8645
|
+
freshness anchor in each row. Bbox 4.0×4.0
|
|
8646
|
+
still inside the 7-px R160 left margin
|
|
8647
|
+
(3-px remaining clearance vs 3.4 at r=1.8
|
|
8648
|
+
— geometry-safe margin holds). Sibling
|
|
8649
|
+
visual-weight bump family (9th anchor now):
|
|
8650
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
8651
|
+
R295 legend swatch base radius 5.5 → 6
|
|
8652
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
8653
|
+
R360 hub digit fontSize 11 → 12
|
|
8654
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
8655
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
8656
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
8657
|
+
R374 pressure-bar height 1.5 → 2
|
|
8658
|
+
R383 recent-row pip radius 1.8 → 2.0 (this round)
|
|
8659
|
+
data-recent-row-freshness-radius attr
|
|
8660
|
+
bumps to '2.0' for tests. */
|
|
8661
|
+
/* Round 447 / Loop: recent-row freshness pip
|
|
8662
|
+
radius lift on (isRowHovered || isRowPinned)
|
|
8663
|
+
— r 2.0 → 2.5 (+0.5px, sibling to R442
|
|
8664
|
+
endpoint-ring r lift). Adds a geometric
|
|
8665
|
+
axis to the recent-row hover/pin gesture
|
|
8666
|
+
alongside R143 translateY + R104 row bg-
|
|
8667
|
+
tint + R434 letter-spacing + R445 count
|
|
8668
|
+
fw. Pre-R447 the pip stayed at r=2.0 always
|
|
8669
|
+
— the freshness alpha (R162) tracked
|
|
8670
|
+
recency but didn't telegraph "this row is
|
|
8671
|
+
in focus" geometrically. R447 lifts the
|
|
8672
|
+
pip outward by 25% area (π·2.5² / π·2.0²
|
|
8673
|
+
= 1.56) on attention, closing a 5-axis
|
|
8674
|
+
row-attention signature (geometry + paint
|
|
8675
|
+
+ typography + spacing + position).
|
|
8676
|
+
SVG `r` as CSS property for interpolation
|
|
8677
|
+
(R197/R198 idiom). transition list extends
|
|
8678
|
+
to include 'r 200ms ease-out' matching the
|
|
8679
|
+
opacity cadence. data-recent-row-freshness-
|
|
8680
|
+
lifted attr exposes the gate for tests. */
|
|
6916
8681
|
fill={pal.legendAccent}
|
|
6917
8682
|
opacity={alpha}
|
|
6918
8683
|
data-recent-row-freshness={link.key}
|
|
6919
8684
|
data-recent-row-freshness-alpha={alpha.toFixed(2)}
|
|
6920
|
-
|
|
8685
|
+
data-recent-row-freshness-radius={(isRowHovered || isRowPinned) ? 2.5 : 2.0}
|
|
8686
|
+
data-recent-row-freshness-lifted={(isRowHovered || isRowPinned) ? 'true' : 'false'}
|
|
8687
|
+
style={{
|
|
8688
|
+
pointerEvents: 'none',
|
|
8689
|
+
r: `${(isRowHovered || isRowPinned) ? 2.5 : 2.0}px`,
|
|
8690
|
+
transition: 'opacity 200ms ease-out, r 200ms ease-out',
|
|
8691
|
+
} as React.CSSProperties}
|
|
6921
8692
|
/>
|
|
6922
8693
|
);
|
|
6923
8694
|
})()}
|
|
@@ -6946,11 +8717,65 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6946
8717
|
fill={isRowActive ? pal.legendHeadline : pal.legendText}
|
|
6947
8718
|
fontSize="9"
|
|
6948
8719
|
fontFamily="monospace"
|
|
8720
|
+
/* Round 363 / Loop: recent-row text fontWeight 400
|
|
8721
|
+
→ 500 (font-medium tier). At fontSize=9 the
|
|
8722
|
+
default-weight 400 glyphs read thin against the
|
|
8723
|
+
panel chrome (pal.legendBox.fill with 0.92/0.97
|
|
8724
|
+
opacity); the 100-weight bump lifts the alias→
|
|
8725
|
+
alias text into the legibility band without
|
|
8726
|
+
changing geometry. The R320 count tspan fw=600
|
|
8727
|
+
(cold) / fw=700 (hot) override still wins
|
|
8728
|
+
locally via inline fontWeight on the inner
|
|
8729
|
+
tspan, so the count-vs-alias hierarchy stays
|
|
8730
|
+
intact:
|
|
8731
|
+
alias fw 500 (R363, this round)
|
|
8732
|
+
count fw 600/700 (R320)
|
|
8733
|
+
Sibling typography lift to R362 chip-row digit
|
|
8734
|
+
500 → 600 — both nudge a within-element data
|
|
8735
|
+
tier without disturbing the surrounding family
|
|
8736
|
+
baseline. data-recent-row-text-font-weight attr
|
|
8737
|
+
exposes the value for tests. */
|
|
8738
|
+
fontWeight="500"
|
|
6949
8739
|
data-recent-row-text={link.key}
|
|
6950
8740
|
data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
|
|
8741
|
+
data-recent-row-text-hovered={!isRowPinned && isRowHovered ? 'true' : 'false'}
|
|
8742
|
+
data-recent-row-text-font-weight="500"
|
|
8743
|
+
/* Round 434 / Loop: recent-signal row text extends
|
|
8744
|
+
from R220's pin-only letter-spacing (0 → 0.5 on
|
|
8745
|
+
isRowPinned) to a 3-tier scale matching R433
|
|
8746
|
+
legend-row at the sibling panel-row scope:
|
|
8747
|
+
rest → 0px
|
|
8748
|
+
isRowHovered → 0.25px ← this round
|
|
8749
|
+
isRowPinned → 0.5px (R220 preserved)
|
|
8750
|
+
Pre-R434 R220 noted: "Hover stays at default
|
|
8751
|
+
tracking — the spread is pin-exclusive so
|
|
8752
|
+
users can read pinned vs hovered at the text
|
|
8753
|
+
alone." R427-R433 established a 3-tier pattern
|
|
8754
|
+
across 4 surfaces (node-alias, edge-badge,
|
|
8755
|
+
group-label, legend-row) where hover gets a
|
|
8756
|
+
subtler intermediate kerning step distinct
|
|
8757
|
+
from the pin tier's stronger spread — the
|
|
8758
|
+
locked vs preview discrimination R220 wanted
|
|
8759
|
+
is preserved (0.5 > 0.25) AND hover gets a
|
|
8760
|
+
typographic axis of its own. R434 completes
|
|
8761
|
+
the 5-surface arc.
|
|
8762
|
+
5-surface 3-tier letter-spacing pattern now
|
|
8763
|
+
spans every interactive label on TopoGraph
|
|
8764
|
+
that distinguishes hover from pin:
|
|
8765
|
+
node-alias (R427) 0 / 0.3 / 0.5
|
|
8766
|
+
edge-badge (R431) 0 / 0.2 / 0.4
|
|
8767
|
+
group-label (R432) 0 / 0.25 / 0.5
|
|
8768
|
+
legend-row (R433) 0 / 0.25 / 0.5
|
|
8769
|
+
recent-row (R434) 0 / 0.25 / 0.5 ← this round
|
|
8770
|
+
Hover-letter-spacing family extension
|
|
8771
|
+
(10 anchors now): R344/R345/R347/R351/R420/
|
|
8772
|
+
R427/R431/R432/R433/R434. R55 fill 150ms +
|
|
8773
|
+
R220 letter-spacing 150ms transition kept
|
|
8774
|
+
(additive conditional case, no new property). */
|
|
6951
8775
|
style={{
|
|
6952
8776
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
6953
|
-
letterSpacing: isRowPinned ? '0.5px' :
|
|
8777
|
+
letterSpacing: isRowPinned ? '0.5px' :
|
|
8778
|
+
isRowHovered ? '0.25px' : '0px',
|
|
6954
8779
|
}}
|
|
6955
8780
|
>
|
|
6956
8781
|
{/* R138 / Loop: typography unification with the rest
|
|
@@ -7010,19 +8835,60 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7010
8835
|
distinct, plus the fill flip from legendText
|
|
7011
8836
|
→ amber carries the dramatic part of the cue).
|
|
7012
8837
|
Sibling treatment in the data-weight tier. */}
|
|
8838
|
+
{/* Round 445 / Loop: extend the R320 cold/hot fw
|
|
8839
|
+
binary (600/700) to ALSO fire on isRowPinned —
|
|
8840
|
+
pinned-cold now lifts to 700 alongside the
|
|
8841
|
+
existing hot-triggered lift. Sibling to R444
|
|
8842
|
+
group-label-count-pin (500→600) at the
|
|
8843
|
+
recent-row scope. Both panel-row counts now
|
|
8844
|
+
respond to pin with a typographic weight lift,
|
|
8845
|
+
part of the "data tightens under attention"
|
|
8846
|
+
family (R416/R424/R425/R426/R444/R445).
|
|
8847
|
+
Effective tiers:
|
|
8848
|
+
cold + un-pinned → fw 600
|
|
8849
|
+
cold + pinned → fw 700 ← this round
|
|
8850
|
+
hot (any pin state) → fw 700 (R320 preserved)
|
|
8851
|
+
hot is still amber-filled (R127); cold pin
|
|
8852
|
+
stays at the parent fill, so the two routes
|
|
8853
|
+
to fw=700 are visually distinct (color vs
|
|
8854
|
+
no color). transition list adds 'font-
|
|
8855
|
+
weight 200ms ease-out' so the lift eases
|
|
8856
|
+
under the same R320 fill cadence. data-
|
|
8857
|
+
recent-row-count-pinned attr exposes the
|
|
8858
|
+
pin gate for tests. */}
|
|
7013
8859
|
<tspan
|
|
7014
8860
|
fill={isHot ? hotStroke : undefined}
|
|
7015
|
-
fontWeight={isHot ? '700' : '600'}
|
|
8861
|
+
fontWeight={(isHot || isRowPinned) ? '700' : '600'}
|
|
7016
8862
|
data-recent-row-count
|
|
8863
|
+
data-recent-row-count-pinned={isRowPinned ? 'true' : 'false'}
|
|
8864
|
+
data-recent-row-count-font-weight={(isHot || isRowPinned) ? '700' : '600'}
|
|
7017
8865
|
{...(isHot ? { 'data-recent-row-count-hot': 'true' } : {})}
|
|
7018
8866
|
style={{
|
|
7019
|
-
transition: 'fill 300ms ease-out',
|
|
8867
|
+
transition: 'fill 300ms ease-out, font-weight 200ms ease-out',
|
|
7020
8868
|
fontVariantNumeric: 'tabular-nums',
|
|
7021
8869
|
}}
|
|
7022
8870
|
>
|
|
7023
8871
|
{link.count}
|
|
7024
8872
|
</tspan>
|
|
7025
|
-
{
|
|
8873
|
+
{/* Round 418 / Loop: recent-row content preview
|
|
8874
|
+
gains opacity=0.7 wrapper — subordinate-text
|
|
8875
|
+
tier at the SVG-text scope. Pre-R418 the
|
|
8876
|
+
truncated content preview (e.g. " · hi there")
|
|
8877
|
+
inherited the row's full opacity, reading at
|
|
8878
|
+
the same emphasis as the alias text and
|
|
8879
|
+
count digit. R418 wraps it in a <tspan> at
|
|
8880
|
+
opacity=0.7 so the preview reads as
|
|
8881
|
+
subordinate metadata — sibling to R333-R341/
|
|
8882
|
+
R362/R369/R389/R410/R412 chip-internal-
|
|
8883
|
+
hierarchy "label tier" (opacity-70) at the
|
|
8884
|
+
HTML scope, and R317 subordinate-text-lift
|
|
8885
|
+
gray-500 → gray-400 family. The leading
|
|
8886
|
+
" · " separator stays at full opacity so
|
|
8887
|
+
the row punctuation rhythm holds. data-
|
|
8888
|
+
recent-row-content-tspan attr surfaces the
|
|
8889
|
+
subordinate wrapper for tests. */}
|
|
8890
|
+
{' · '}
|
|
8891
|
+
<tspan opacity="0.7" data-recent-row-content-tspan>{truncate(link.content, 8)}</tspan>
|
|
7026
8892
|
</text>
|
|
7027
8893
|
{lastAt ? (
|
|
7028
8894
|
/* Round 321 / Loop: lastAt freshness timestamp picks
|
|
@@ -7209,6 +9075,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7209
9075
|
surface. transition list extends letter-spacing
|
|
7210
9076
|
200ms ease-out alongside the existing opacity/
|
|
7211
9077
|
fill easings. */}
|
|
9078
|
+
{/* Round 368 / Loop: `+N more flows` footer text gains
|
|
9079
|
+
fontWeight=500 (font-medium tier). Sibling small-
|
|
9080
|
+
text fw lift family with R363 recent-row alias
|
|
9081
|
+
+ R364 legend-row label + R366 group-label count
|
|
9082
|
+
— all four lifts share the same theory: at small
|
|
9083
|
+
fontSize (9-11 px) against panel chrome, SVG-
|
|
9084
|
+
default fw 400 sits at the legibility floor;
|
|
9085
|
+
fw 500 brings the glyph into the deliberate-data
|
|
9086
|
+
band. fontStyle=italic + opacity 0.55 rest + R325
|
|
9087
|
+
letterSpacing 0.2 baseline + R344 hover-spread
|
|
9088
|
+
0.2 → 0.3 + R195 cyan fill on hover all preserved
|
|
9089
|
+
— the fw bump just thickens the italic stroke.
|
|
9090
|
+
Hover-state punch (R195 fill + R325 opacity 0.55
|
|
9091
|
+
→ 0.85 + R344 letter-spacing + R133 underline)
|
|
9092
|
+
stays as is, so the rest-vs-hover delta still
|
|
9093
|
+
reads clearly. data-recent-panel-more-font-weight
|
|
9094
|
+
attr exposes the value for tests. */}
|
|
7212
9095
|
<text
|
|
7213
9096
|
x="115" y="82"
|
|
7214
9097
|
textAnchor="middle"
|
|
@@ -7216,11 +9099,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7216
9099
|
fontSize="9"
|
|
7217
9100
|
fontFamily="monospace"
|
|
7218
9101
|
fontStyle="italic"
|
|
9102
|
+
fontWeight="500"
|
|
7219
9103
|
letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
|
|
7220
9104
|
opacity={hoveredRecentMore ? 0.85 : 0.55}
|
|
7221
9105
|
textDecoration={hoveredRecentMore ? 'underline' : 'none'}
|
|
7222
9106
|
data-recent-panel-more={moreCount}
|
|
7223
9107
|
data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
|
|
9108
|
+
data-recent-panel-more-font-weight="500"
|
|
7224
9109
|
style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
7225
9110
|
>
|
|
7226
9111
|
{`+ ${moreCount}`}
|
|
@@ -7272,7 +9157,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7272
9157
|
<rect
|
|
7273
9158
|
x="0" y="0" width="224" height="88" rx="10"
|
|
7274
9159
|
fill={pal.legendBox.fill}
|
|
7275
|
-
stroke
|
|
9160
|
+
// R423 sibling — legend panel rect stroke tints to
|
|
9161
|
+
// legendAccent on hover (mirrors recent-signal panel
|
|
9162
|
+
// above). 4-layer hover cue stack now symmetric across
|
|
9163
|
+
// both side panels.
|
|
9164
|
+
stroke={hoveredPanel === 'legend' ? pal.legendAccent : pal.legendBox.stroke}
|
|
7276
9165
|
// R348 sibling — legend panel rect opacity hover-state
|
|
7277
9166
|
// bump 0.92 → 0.97 (cyber) / 0.97 → 1 (light) on
|
|
7278
9167
|
// hoveredPanel === 'legend'. Pairs with the recent-signal
|
|
@@ -7364,9 +9253,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7364
9253
|
R336 introspection; the parent .textContent still
|
|
7365
9254
|
reads "{N} node(s)" so existing R310 count tests via
|
|
7366
9255
|
textContent unchanged. */}
|
|
9256
|
+
{/* R424 sibling — legend panel count digit fontWeight 600
|
|
9257
|
+
→ 700 on panel hover. Closes 5-layer panel hover cue
|
|
9258
|
+
stack symmetric across both side panels (recent-signal
|
|
9259
|
+
+ legend): depth (R135) + solidity (R348) + spacing
|
|
9260
|
+
(R345) + edge color (R423) + weight (R424). R310 base
|
|
9261
|
+
fw=600 + R292 tabular-nums + R266 fill transition + R336
|
|
9262
|
+
unit-tspan opacity-0.7 all preserved. Same "data tightens
|
|
9263
|
+
under attention" idiom R416 established at chip scope. */}
|
|
7367
9264
|
<text
|
|
7368
9265
|
x="211" y="21" textAnchor="end"
|
|
7369
|
-
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight=
|
|
9266
|
+
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight={hoveredPanel === 'legend' ? '700' : '600'}
|
|
7370
9267
|
// R349 sibling — legend panel header count picks up
|
|
7371
9268
|
// letterSpacing="0.2", one tier below the R301 panel
|
|
7372
9269
|
// title 0.3. Pairs with the recent-signal panel count
|
|
@@ -7376,7 +9273,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7376
9273
|
data-legend-panel-count
|
|
7377
9274
|
data-legend-panel-count-letter-spacing="0.2"
|
|
7378
9275
|
style={{
|
|
7379
|
-
transition: 'fill 200ms ease-out',
|
|
9276
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
7380
9277
|
fontVariantNumeric: 'tabular-nums',
|
|
7381
9278
|
}}
|
|
7382
9279
|
>{sessions.length}<tspan opacity="0.7" data-legend-panel-count-unit> node{sessions.length === 1 ? '' : 's'}</tspan></text>
|
|
@@ -7595,14 +9492,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7595
9492
|
so this legend-internal circle is invisible to
|
|
7596
9493
|
that probe. pointerEvents:none so the ring can't
|
|
7597
9494
|
intercept the row click that produced it. */}
|
|
9495
|
+
{/* Round 402 / Loop: legend pin-ring strokeWidth 1.5
|
|
9496
|
+
→ 1.75. Sibling visual-weight bump (12th anchor)
|
|
9497
|
+
to R385 hub hover-ring strokeWidth 1.5 → 1.75 —
|
|
9498
|
+
both are pin/hover state indicators painted as
|
|
9499
|
+
stroke-only circles outside their target swatch
|
|
9500
|
+
with the R51 sentinel value 1.5. R402 lifts to
|
|
9501
|
+
1.75 (matching R385's choice) so the pin signal
|
|
9502
|
+
reads slightly heavier without crossing the
|
|
9503
|
+
R51 sentinel band (3 reserved for offline node).
|
|
9504
|
+
The R51 selector is gated to g[data-node]
|
|
9505
|
+
ancestors so this legend-internal circle (lives
|
|
9506
|
+
under a <g data-legend-status>) is invisible
|
|
9507
|
+
to the probe — same lesson R177/R385 documented.
|
|
9508
|
+
Visual-weight bump family (12 anchors now):
|
|
9509
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
9510
|
+
R295 legend swatch radius 5.5 → 6
|
|
9511
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
9512
|
+
R360 hub digit fontSize 11 → 12
|
|
9513
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
9514
|
+
R365 hub-highlight radius 5 → 5.5
|
|
9515
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
9516
|
+
R374 pressure-bar height 1.5 → 2
|
|
9517
|
+
R383 recent-row pip radius 1.8 → 2.0
|
|
9518
|
+
R384 minimap online dot 1.7 → 1.9
|
|
9519
|
+
R385 hub hover-ring stroke 1.5 → 1.75
|
|
9520
|
+
R402 legend pin-ring stroke 1.5 → 1.75 (this round)
|
|
9521
|
+
R181 always-mount opacity gate + 150ms transition
|
|
9522
|
+
+ pointerEvents:none all preserved. data-legend-
|
|
9523
|
+
pin-ring-stroke-width attr exposes the value for
|
|
9524
|
+
tests. */}
|
|
7598
9525
|
<circle
|
|
7599
9526
|
cx="16" cy={row.y0} r="8"
|
|
7600
9527
|
fill="none"
|
|
7601
9528
|
stroke={row.fill}
|
|
7602
|
-
strokeWidth="1.
|
|
9529
|
+
strokeWidth="1.75"
|
|
7603
9530
|
opacity={isPinned ? 1 : 0}
|
|
7604
9531
|
data-legend-pin-ring={row.key}
|
|
7605
9532
|
data-legend-pin-ring-pinned={isPinned ? 'true' : 'false'}
|
|
9533
|
+
data-legend-pin-ring-stroke-width="1.75"
|
|
7606
9534
|
style={{
|
|
7607
9535
|
pointerEvents: 'none',
|
|
7608
9536
|
transition: 'opacity 150ms ease-out',
|
|
@@ -7629,11 +9557,61 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7629
9557
|
fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
|
|
7630
9558
|
fontSize="11"
|
|
7631
9559
|
fontFamily="monospace"
|
|
9560
|
+
/* Round 364 / Loop: legend-row label fontWeight 400
|
|
9561
|
+
→ 500. Sibling typography lift to R363 recent-row
|
|
9562
|
+
text fw 400 → 500. Both surfaces render small
|
|
9563
|
+
monospace text against panel chrome at fontSize
|
|
9564
|
+
9-11 where SVG-default fw 400 sits at the
|
|
9565
|
+
legibility floor. font-medium tier (500) gives
|
|
9566
|
+
the label a more deliberate-data register.
|
|
9567
|
+
The R309 per-row count text (separate element
|
|
9568
|
+
below at x=215 textAnchor=end) keeps its own
|
|
9569
|
+
fontWeight 600 inline override, so the count >
|
|
9570
|
+
label hierarchy stays intact at the legend
|
|
9571
|
+
scope same as R363 holds it at the recent-row
|
|
9572
|
+
scope:
|
|
9573
|
+
legend label fw 500 (R364, this round)
|
|
9574
|
+
legend count fw 600 (R309)
|
|
9575
|
+
recent alias fw 500 (R363)
|
|
9576
|
+
recent count fw 600/700 (R320)
|
|
9577
|
+
data-legend-row-label-font-weight attr exposes
|
|
9578
|
+
the value for tests. R219 letter-spacing pin
|
|
9579
|
+
tween + R55 fill transition + R181 always-mount
|
|
9580
|
+
pin ring all preserved. */
|
|
9581
|
+
fontWeight="500"
|
|
7632
9582
|
data-legend-row-label={row.key}
|
|
7633
9583
|
data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
|
|
9584
|
+
data-legend-row-label-hovered={!isPinned && hoveredStatus === row.key ? 'true' : 'false'}
|
|
9585
|
+
data-legend-row-label-font-weight="500"
|
|
9586
|
+
/* Round 433 / Loop: legend-row text extends from
|
|
9587
|
+
R219's pin-only letter-spacing (0px → 0.5px on
|
|
9588
|
+
isPinned) to a 3-tier scale matching the R432
|
|
9589
|
+
group-label pattern:
|
|
9590
|
+
rest → 0px
|
|
9591
|
+
hoveredStatus → 0.25px ← this round
|
|
9592
|
+
isPinned → 0.5px (R219 preserved)
|
|
9593
|
+
Pre-R433 hover already brightened the fill
|
|
9594
|
+
(hoveredStatus===row.key || isPinned matches the
|
|
9595
|
+
legendHeadline branch) but the letter-form
|
|
9596
|
+
stayed dead-typographic on transient hover —
|
|
9597
|
+
only the pin tier carried a kerning signature.
|
|
9598
|
+
R433 adds the missing mid tier so hover
|
|
9599
|
+
telegraphs through BOTH fill brighten AND a
|
|
9600
|
+
subtle 0.25-px kerning spread, mirroring
|
|
9601
|
+
R427/R431/R432 at legend-row scope. Pin tier
|
|
9602
|
+
still wins so the locked vs preview distinction
|
|
9603
|
+
at the type level stays intact.
|
|
9604
|
+
Hover-letter-spacing family extension (9 anchors
|
|
9605
|
+
now): R344/R345/R347/R351/R420/R427/R431/R432/
|
|
9606
|
+
R433. 3-tier letter-spacing pattern now spans 4
|
|
9607
|
+
surfaces (node-alias R427, edge-badge R431,
|
|
9608
|
+
group-label R432, legend-row R433). R55 fill
|
|
9609
|
+
150ms + R219 letter-spacing 150ms transition
|
|
9610
|
+
untouched — additive conditional case. */
|
|
7634
9611
|
style={{
|
|
7635
9612
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
7636
|
-
letterSpacing: isPinned ? '0.5px' :
|
|
9613
|
+
letterSpacing: isPinned ? '0.5px' :
|
|
9614
|
+
hoveredStatus === row.key ? '0.25px' : '0px',
|
|
7637
9615
|
}}
|
|
7638
9616
|
>{row.label}</text>
|
|
7639
9617
|
{/* R95: live count anchored to the right edge of the
|
|
@@ -7712,20 +9690,60 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7712
9690
|
labels to single status words, the count
|
|
7713
9691
|
becomes proportionally more important; this
|
|
7714
9692
|
round emphasizes that role typographically. */}
|
|
9693
|
+
{/* Round 446 / Loop: legend per-row count fontWeight
|
|
9694
|
+
lift 600 → 700 on isPinned. Mirror of R444 group-
|
|
9695
|
+
label-count + R445 recent-row-count at the
|
|
9696
|
+
legend-row scope. Closes the 3-panel-row family
|
|
9697
|
+
for the "data tightens under attention" pattern —
|
|
9698
|
+
every panel-row count now responds to pin with a
|
|
9699
|
+
typographic-weight bump:
|
|
9700
|
+
R444 group-label-count 500 → 600
|
|
9701
|
+
R445 recent-row-count 600 → 700 (cold-pin route)
|
|
9702
|
+
R446 legend-row-count 600 → 700 ← this round
|
|
9703
|
+
Hover gate (hoveredStatus===row.key) keeps rest
|
|
9704
|
+
fw=600 so the locked-vs-preview distinction at
|
|
9705
|
+
the type level stays intact — same gate R433 used
|
|
9706
|
+
on the parent <text> letter-spacing tween. R309
|
|
9707
|
+
fw=600 baseline + R204 empty-row opacity dim +
|
|
9708
|
+
R225 tabular-nums all preserved. transition list
|
|
9709
|
+
extends to include 'font-weight 150ms ease-out'
|
|
9710
|
+
matching R433 fill/letter-spacing cadence.
|
|
9711
|
+
data-legend-count-pinned + -font-weight attrs
|
|
9712
|
+
exposed for tests. */}
|
|
7715
9713
|
<text
|
|
7716
9714
|
x="215" y={row.y1}
|
|
7717
9715
|
textAnchor="end"
|
|
7718
9716
|
fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? row.fill : pal.legendText}
|
|
7719
9717
|
fontSize="11"
|
|
7720
9718
|
fontFamily="monospace"
|
|
7721
|
-
fontWeight=
|
|
9719
|
+
fontWeight={isPinned ? '700' : '600'}
|
|
9720
|
+
/* Round 449 / Loop: legend-row count active-state
|
|
9721
|
+
opacity 0.95 → 1.0 on (hoveredStatus===row.key
|
|
9722
|
+
|| isPinned). Pre-R449 R204 lifted populated-row
|
|
9723
|
+
active opacity from rest 0.65 to 0.95 — visibly
|
|
9724
|
+
brighter but kept a 5 pct alpha gap (1 - 0.95).
|
|
9725
|
+
R449 closes the gap to 1.0 so the active count
|
|
9726
|
+
reads as confidently present alongside the R446
|
|
9727
|
+
fw=600→700 + R433 letter-spacing tween. Theme-
|
|
9728
|
+
consistency / canvas-presence family extension
|
|
9729
|
+
(7th anchor on the active-presence lift sub-
|
|
9730
|
+
family): R370 hub hover-ring 0.7→0.8, R371 edge-
|
|
9731
|
+
badge rest 0.82→0.85, R372 minimap offline-dot
|
|
9732
|
+
0.5→0.6, R386 hub-highlight idle 0.9→0.95, R387
|
|
9733
|
+
hover-detail panel 0.94→0.97, R429 label-card
|
|
9734
|
+
body 0.94→1.0, R449 legend-count active 0.95→1.0
|
|
9735
|
+
← this round. Empty-row opacity (R204: 0.28
|
|
9736
|
+
light / 0.30 cyber) and idle 0.65 rest both
|
|
9737
|
+
preserved. */
|
|
7722
9738
|
opacity={row.count === 0
|
|
7723
9739
|
? (isLight ? 0.28 : 0.30)
|
|
7724
|
-
: (hoveredStatus === row.key || isPinned ?
|
|
9740
|
+
: (hoveredStatus === row.key || isPinned ? 1 : 0.65)}
|
|
7725
9741
|
data-legend-count={row.key}
|
|
7726
9742
|
data-legend-count-empty={row.count === 0 ? 'true' : 'false'}
|
|
9743
|
+
data-legend-count-pinned={isPinned ? 'true' : 'false'}
|
|
9744
|
+
data-legend-count-font-weight={isPinned ? '700' : '600'}
|
|
7727
9745
|
data-legend-count-fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? 'tier' : 'neutral'}
|
|
7728
|
-
style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out, fill 150ms ease-out', fontVariantNumeric: 'tabular-nums' }}
|
|
9746
|
+
style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out, fill 150ms ease-out, font-weight 150ms ease-out', fontVariantNumeric: 'tabular-nums' }}
|
|
7729
9747
|
>{row.count}</text>
|
|
7730
9748
|
</g>
|
|
7731
9749
|
);
|
|
@@ -7949,14 +9967,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7949
9967
|
const isOn = s.status !== 'offline' || !!sseN;
|
|
7950
9968
|
const st = nodeStatus(s, isOn, isLight);
|
|
7951
9969
|
return (
|
|
9970
|
+
/* Round 372 / Loop: minimap offline-dot opacity
|
|
9971
|
+
0.5 → 0.6. Sibling stale-state legibility lift
|
|
9972
|
+
to R358 freshness ramp floor 0.25 → 0.30 + R317
|
|
9973
|
+
subordinate-text-lift family. Pre-R372 R198
|
|
9974
|
+
drew offline dots at α=0.5 (44 % below online
|
|
9975
|
+
0.9). The minimap is a small overlay against
|
|
9976
|
+
the canvas backdrop — at α=0.5 offline dots
|
|
9977
|
+
sat at the legibility floor when the minimap
|
|
9978
|
+
mounted (only on non-default view). R372 lifts
|
|
9979
|
+
offline 0.5 → 0.6 for +20 % relative presence;
|
|
9980
|
+
online stays at 0.9 so the offline/online
|
|
9981
|
+
contrast ratio is now 0.6/0.9 ≈ 0.67 (vs prior
|
|
9982
|
+
0.5/0.9 ≈ 0.56) — still a clear two-tier
|
|
9983
|
+
distinction. R198 opacity + fill + r transition
|
|
9984
|
+
list preserved so status flips still ease
|
|
9985
|
+
smoothly. data-topo-minimap-dot-opacity attr
|
|
9986
|
+
exposes the resolved value for tests. */
|
|
7952
9987
|
<circle
|
|
7953
9988
|
key={s.alias}
|
|
7954
9989
|
cx={p.x * sx} cy={p.y * sy}
|
|
7955
|
-
|
|
9990
|
+
/* Round 384 / Loop: minimap online dot radius 1.7
|
|
9991
|
+
→ 1.9. Sibling visual-weight bump (10th anchor)
|
|
9992
|
+
to R383 recent-row pip 1.8 → 2.0. R198 designed
|
|
9993
|
+
the dots at 1.7 (online) / 1.2 (offline) — at
|
|
9994
|
+
the minimap's 120 × 82 scale these read clearly
|
|
9995
|
+
but the online ↔ offline contrast was modest
|
|
9996
|
+
(1.7/1.2 = 1.42×). R384 bumps online to 1.9 so
|
|
9997
|
+
the tier delta widens to 1.58× (1.9/1.2). Pair
|
|
9998
|
+
completes minimap-dot legibility polish:
|
|
9999
|
+
R358 (era R372) offline opacity 0.5 → 0.6
|
|
10000
|
+
R384 online radius 1.7 → 1.9 (this round)
|
|
10001
|
+
R198 transition list (opacity + fill + r 200ms)
|
|
10002
|
+
preserved so status flips still ease smoothly.
|
|
10003
|
+
data-topo-minimap-dot-radius attr exposes the
|
|
10004
|
+
resolved value for tests. */
|
|
10005
|
+
/* Round 392 / Loop: minimap online dot opacity
|
|
10006
|
+
0.9 → 0.95. Theme-consistency / canvas-presence
|
|
10007
|
+
polish family (7th anchor) — mirrors R386's
|
|
10008
|
+
hub-highlight idle 0.9 → 0.95 lift on the
|
|
10009
|
+
minimap surface: the online-dot's idle alpha
|
|
10010
|
+
gap (0.10 against full presence) halves to
|
|
10011
|
+
0.05, so the live-fleet anchors on the minimap
|
|
10012
|
+
read more confidently. Offline dot stays at
|
|
10013
|
+
R372 0.6 — the binary online/offline contrast
|
|
10014
|
+
ratio shifts from 0.6/0.9 ≈ 0.67 to 0.6/0.95
|
|
10015
|
+
≈ 0.63, preserved as a clear two-tier
|
|
10016
|
+
distinction. R198 opacity + fill + r transition
|
|
10017
|
+
list + R384 r=1.9 + R372 offline 0.6 all
|
|
10018
|
+
preserved. data-topo-minimap-dot-opacity attr
|
|
10019
|
+
bumps to '0.95' for tests. */
|
|
10020
|
+
/* Round 421 / Loop: online dot opacity 0.95 → 1.0
|
|
10021
|
+
on minimap container hover. Sibling to R346
|
|
10022
|
+
viewport rect strokeWidth/opacity hover tween.
|
|
10023
|
+
When the user hovers the minimap container,
|
|
10024
|
+
the live-fleet anchors brighten from R392
|
|
10025
|
+
baseline (0.95) to full opacity in concert
|
|
10026
|
+
with the R346 viewport rect lift. Offline
|
|
10027
|
+
stays at R372 0.6 — hover state focuses
|
|
10028
|
+
attention on the ACTIVE anchors, not the
|
|
10029
|
+
stale ones. data-topo-minimap-dot-opacity
|
|
10030
|
+
attr (R392) reflects the resolved hover-
|
|
10031
|
+
state value for tests. */
|
|
10032
|
+
r={isOn ? 1.9 : 1.2}
|
|
7956
10033
|
fill={st.primary}
|
|
7957
|
-
opacity={isOn ? 0.
|
|
10034
|
+
opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
7958
10035
|
data-topo-minimap-dot={s.alias}
|
|
7959
10036
|
data-topo-minimap-dot-online={isOn ? 'true' : 'false'}
|
|
10037
|
+
data-topo-minimap-dot-opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
10038
|
+
data-topo-minimap-dot-radius={isOn ? 1.9 : 1.2}
|
|
7960
10039
|
style={{
|
|
7961
10040
|
transition: 'opacity 200ms ease-out, fill 200ms ease-out, r 200ms ease-out',
|
|
7962
10041
|
} as React.CSSProperties}
|
|
@@ -7997,17 +10076,88 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7997
10076
|
information element to lift it above ambient
|
|
7998
10077
|
chrome. opacity 0.9 stays — strokeWidth alone
|
|
7999
10078
|
does the lifting. */}
|
|
10079
|
+
{/* Round 379 / Loop: minimap viewport rect picks up
|
|
10080
|
+
strokeLinejoin='round'. Pre-R379 the rect's 4
|
|
10081
|
+
corners painted with default 'miter' joins —
|
|
10082
|
+
sharp 90° corners with a small miter overshoot
|
|
10083
|
+
(≈ strokeWidth × 1.4 = 2.1 px at sw=1.5). R379
|
|
10084
|
+
rounds the joins so corners arc smoothly through
|
|
10085
|
+
a quarter-circle of radius ≈ strokeWidth/2. At
|
|
10086
|
+
sw=1.5 that's a 0.75-px radius — subtle but
|
|
10087
|
+
matches the same stroke-softening vocabulary R288
|
|
10088
|
+
chrome icons (zoom/reset/fullscreen) and R378
|
|
10089
|
+
flow-rail already speak. Geometry-safe: stroke-
|
|
10090
|
+
linejoin only affects the corner overshoot, the
|
|
10091
|
+
rect's bbox is unchanged. R287 strokeWidth=1.5 +
|
|
10092
|
+
R346 hover-state strokeWidth/opacity bump + R199
|
|
10093
|
+
smoothView x/y/w/h transition all preserved.
|
|
10094
|
+
data-topo-minimap-viewport-linejoin attr exposes
|
|
10095
|
+
the value for tests. */}
|
|
10096
|
+
{/* Round 393 / Loop: minimap viewport rect rx 0 → 2.
|
|
10097
|
+
Pre-R393 the cyan-stroked viewport rect (the frame
|
|
10098
|
+
showing what's currently visible on the canvas)
|
|
10099
|
+
drew with sharp corners inside the R332 rounded
|
|
10100
|
+
minimap container (rx=8). A small frame with sharp
|
|
10101
|
+
corners sitting inside a rounded container reads
|
|
10102
|
+
as visually loud — the 90° corners catch the eye
|
|
10103
|
+
against the soft container edge. R393 adds rx=2
|
|
10104
|
+
so the viewport corners get a subtle radius that
|
|
10105
|
+
matches the family's softening idiom on a sub-
|
|
10106
|
+
element scale. The R379 strokeLinejoin='round'
|
|
10107
|
+
already softens stroke joins; R393 adds a complete
|
|
10108
|
+
geometric soften via rx.
|
|
10109
|
+
Corner-radius cascade (7 anchors now):
|
|
10110
|
+
R330 canvas rx 12
|
|
10111
|
+
R331 panels rx 10
|
|
10112
|
+
R332 minimap container rx 8
|
|
10113
|
+
R375 Layout-toggle rx 8
|
|
10114
|
+
R376 nodeSize/zoom rx 8
|
|
10115
|
+
R390 hover-detail rx 10
|
|
10116
|
+
R393 minimap viewport rx 2 (this round, sub-element)
|
|
10117
|
+
The 2-px radius is intentionally small — the
|
|
10118
|
+
viewport rect is typically only 30-50px wide,
|
|
10119
|
+
where rx=2 reads as "rounded enough to not snap"
|
|
10120
|
+
without feeling pillowy. data-topo-minimap-
|
|
10121
|
+
viewport-rx attr exposes the resolved value
|
|
10122
|
+
for tests. R346 hover-state tweens (strokeWidth
|
|
10123
|
+
+ opacity) preserved verbatim. */}
|
|
8000
10124
|
<rect
|
|
8001
10125
|
x={Math.max(0, rectX)} y={Math.max(0, rectY)}
|
|
8002
10126
|
width={Math.max(0, Math.min(MW - Math.max(0, rectX), rectW))}
|
|
8003
10127
|
height={Math.max(0, Math.min(MH - Math.max(0, rectY), rectH))}
|
|
10128
|
+
rx="2"
|
|
8004
10129
|
fill="none" stroke={pal.legendAccent}
|
|
8005
10130
|
// R346: strokeWidth + opacity tween on container hover.
|
|
8006
10131
|
strokeWidth={hoveredMinimap ? '1.75' : '1.5'}
|
|
8007
|
-
|
|
10132
|
+
strokeLinejoin="round"
|
|
10133
|
+
/* Round 450 / Loop · milestone: minimap viewport rest
|
|
10134
|
+
opacity 0.9 → 0.95. Closes half the alpha gap on
|
|
10135
|
+
the wayfinding indicator while preserving the
|
|
10136
|
+
R346 hover delta to 1.0. Pre-R450 the rest viewport
|
|
10137
|
+
sat at 0.9 (10 pct alpha gap) — adequate but
|
|
10138
|
+
under-confident for the user's primary "you are
|
|
10139
|
+
here" indicator on the minimap. R450 lifts to 0.95
|
|
10140
|
+
so the rest read is more present without erasing
|
|
10141
|
+
the hover lift cue (the +0.05 rest-to-hover delta
|
|
10142
|
+
is small but pairs with R346 sw 1.5→1.75 to keep
|
|
10143
|
+
hover clearly distinguishable). Sibling to R449
|
|
10144
|
+
legend-count active opacity 0.95→1.0 — same
|
|
10145
|
+
"close the active-presence alpha gap" idiom now
|
|
10146
|
+
applied to the REST tier of the wayfinding rect
|
|
10147
|
+
(the minimap viewport stays at canvas-presence
|
|
10148
|
+
register even when un-hovered since it's the
|
|
10149
|
+
spatial referent). Theme-consistency / canvas-
|
|
10150
|
+
presence family (8th anchor on the active-
|
|
10151
|
+
presence lift sub-arc).
|
|
10152
|
+
R287 strokeWidth=1.5 + R379 strokeLinejoin='round'
|
|
10153
|
+
+ R346 hover-state tweens + R393 rx=2 + R199
|
|
10154
|
+
smoothView x/y/w/h transition all preserved. */
|
|
10155
|
+
opacity={hoveredMinimap ? '1' : '0.95'}
|
|
8008
10156
|
data-topo-minimap-viewport
|
|
10157
|
+
data-topo-minimap-viewport-rx="2"
|
|
8009
10158
|
data-topo-minimap-viewport-smooth={smoothView ? 'true' : 'false'}
|
|
8010
10159
|
data-topo-minimap-viewport-hover={hoveredMinimap ? 'true' : 'false'}
|
|
10160
|
+
data-topo-minimap-viewport-linejoin="round"
|
|
8011
10161
|
style={{
|
|
8012
10162
|
transition: smoothView
|
|
8013
10163
|
? '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'
|
|
@@ -8066,8 +10216,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8066
10216
|
own transition-colors. Same R254 holdover pattern that
|
|
8067
10217
|
R263 just closed at the canvas wrapper scope, now at the
|
|
8068
10218
|
chrome strip's nodeSize sub-wrapper scope. */}
|
|
10219
|
+
{/* Round 376 / Loop: nodeSize wrapper rounded-md → rounded-lg.
|
|
10220
|
+
Sibling polish to R375 Layout-toggle wrapper. Three
|
|
10221
|
+
chrome-strip segmented controls now all share rounded-lg
|
|
10222
|
+
at the wrapper tier:
|
|
10223
|
+
R375 Layout-toggle wrapper rounded-lg 8 px
|
|
10224
|
+
R376 nodeSize wrapper rounded-lg 8 px (this round)
|
|
10225
|
+
R376 zoom wrapper rounded-lg 8 px (this round)
|
|
10226
|
+
Individual atomic chrome buttons (reset, fullscreen) keep
|
|
10227
|
+
rounded-md (6 px) as their own atomic-button tier — the
|
|
10228
|
+
chrome strip's typography now expresses a clear two-tier
|
|
10229
|
+
hierarchy: 'segmented control container' (rounded-lg)
|
|
10230
|
+
vs 'standalone button' (rounded-md). Pure paint change,
|
|
10231
|
+
no layout shift. */}
|
|
8069
10232
|
<div
|
|
8070
|
-
className="flex items-center rounded-
|
|
10233
|
+
className="flex items-center rounded-lg border overflow-hidden"
|
|
10234
|
+
data-topo-chrome-nodesize-radius="rounded-lg"
|
|
8071
10235
|
style={{
|
|
8072
10236
|
background: pal.legendBox.fill,
|
|
8073
10237
|
borderColor: pal.containerBorder,
|
|
@@ -8147,8 +10311,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8147
10311
|
data-topo-chrome-view-group-leader marks the boundary surface
|
|
8148
10312
|
for the test probe; data-topo-chrome-fleet-group-trailer marks
|
|
8149
10313
|
the nodeSize wrapper's right edge for the gap measurement. */}
|
|
10314
|
+
{/* R376 sibling — zoom wrapper rounded-md → rounded-lg.
|
|
10315
|
+
Closes the chrome-strip segmented-control corner radius
|
|
10316
|
+
cascade (Layout R375 + nodeSize R376 + zoom R376). */}
|
|
8150
10317
|
<div
|
|
8151
|
-
className="ml-1.5 flex items-center rounded-
|
|
10318
|
+
className="ml-1.5 flex items-center rounded-lg border overflow-hidden"
|
|
10319
|
+
data-topo-chrome-zoom-wrapper-radius="rounded-lg"
|
|
8152
10320
|
style={{
|
|
8153
10321
|
background: pal.legendBox.fill,
|
|
8154
10322
|
borderColor: pal.containerBorder,
|
|
@@ -8164,7 +10332,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8164
10332
|
// R196: press-state deepens bg one tier above hover (white/5
|
|
8165
10333
|
// → white/10) so mouse-down has a tactile dim before the
|
|
8166
10334
|
// R186 icon pop fires on release.
|
|
8167
|
-
|
|
10335
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
10336
|
+
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"
|
|
8168
10337
|
style={{ color: pal.legendText }}
|
|
8169
10338
|
aria-label="Zoom out"
|
|
8170
10339
|
title="Zoom out (−)"
|
|
@@ -8172,11 +10341,44 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8172
10341
|
{/* R186: icon pop on click. CSS animation runs once;
|
|
8173
10342
|
React removes the class after 240ms so a quick
|
|
8174
10343
|
re-click can replay. */}
|
|
10344
|
+
{/* Round 352 / Loop: zoom-out icon picks up group-hover:
|
|
10345
|
+
scale-110 — sibling to R350 reset hover-rotate. Pre-
|
|
10346
|
+
R352 hovering the zoom button only changed the bg
|
|
10347
|
+
(white/5); the icon inside stayed perfectly still.
|
|
10348
|
+
R352 lifts the icon 10% on hover for a tactile "this
|
|
10349
|
+
button does something" cue. The R186 anet-chrome-pop
|
|
10350
|
+
keyframe (220ms scale 1→1.06→1) still owns transform
|
|
10351
|
+
during click via CSS-animation precedence over
|
|
10352
|
+
transition-transform; after the pop ends + className
|
|
10353
|
+
is removed, the group-hover scale-110 picks up
|
|
10354
|
+
smoothly. `transform-gpu` hint promotes the svg to
|
|
10355
|
+
its own compositor layer for crisper edges during
|
|
10356
|
+
the scale tween. Sibling change on zoom-in icon
|
|
10357
|
+
below. */}
|
|
10358
|
+
{/* Round 454 / Loop: extend R453 chrome reset icon hover
|
|
10359
|
+
sw lift to zoom +/− icons via Tailwind arbitrary class
|
|
10360
|
+
group-hover:[stroke-width:2.8]. Chrome icon hover sw
|
|
10361
|
+
lift family now 5 anchors:
|
|
10362
|
+
R208 runtime badge outer ring 1.5 → 2
|
|
10363
|
+
R443 runtime badge inner icon 2.4 → 2.8
|
|
10364
|
+
R453 chrome reset icon 2.5 → 2.8
|
|
10365
|
+
R454 chrome zoom-out icon 2.5 → 2.8 ← this round
|
|
10366
|
+
R454 chrome zoom-in icon 2.5 → 2.8 ← this round
|
|
10367
|
+
Tailwind v4 arbitrary-value group-hover variant
|
|
10368
|
+
resolves [stroke-width:2.8] as a CSS property which
|
|
10369
|
+
overrides the static strokeWidth='2.5' attribute on
|
|
10370
|
+
hover. transition-[stroke-width] appended to the
|
|
10371
|
+
existing transition-transform list so the sw tween
|
|
10372
|
+
eases under the same 200ms cadence as R352 group-
|
|
10373
|
+
hover:scale-110. R186 anet-chrome-pop keyframe still
|
|
10374
|
+
owns transform during click via CSS-animation
|
|
10375
|
+
precedence over transition-transform. Sibling change
|
|
10376
|
+
on zoom-in icon below. */}
|
|
8175
10377
|
<svg
|
|
8176
10378
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8177
10379
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8178
10380
|
aria-hidden
|
|
8179
|
-
className={chromePopping === 'zoom-out' ? 'anet-chrome-pop' :
|
|
10381
|
+
className={`transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:[stroke-width:2.8] transform-gpu${chromePopping === 'zoom-out' ? ' anet-chrome-pop' : ''}`}
|
|
8180
10382
|
data-topo-chrome-zoom-out-icon
|
|
8181
10383
|
><path d="M5 12h14" /></svg>
|
|
8182
10384
|
</button>
|
|
@@ -8233,6 +10435,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8233
10435
|
// R347: letter-spacing hover tween — extends R344/R345
|
|
8234
10436
|
// hover-letter-spacing family into the chrome strip.
|
|
8235
10437
|
letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
|
|
10438
|
+
// Round 420 / Loop: zoom-level readout gains a SECOND
|
|
10439
|
+
// hover axis — fontWeight 500 → 600 on hover. Sibling
|
|
10440
|
+
// to R347 (same element, hover letter-spacing tween).
|
|
10441
|
+
// The chrome strip's only data display now has a two-
|
|
10442
|
+
// axis hover signature (letter-spacing + fontWeight),
|
|
10443
|
+
// matching the R416 chip-row chip digit hover-bold
|
|
10444
|
+
// pattern at the chrome scope. Pre-R420 hovering only
|
|
10445
|
+
// spread the digits 0 → 0.5px; the weight stayed at
|
|
10446
|
+
// R332's 'font-medium' (500) baseline. Post-R420
|
|
10447
|
+
// hover lifts BOTH letter-spacing AND weight so the
|
|
10448
|
+
// percent reads with the same data-tier emphasis
|
|
10449
|
+
// intensification the chip-row chips do on hover.
|
|
10450
|
+
// Inline fontWeight overrides the className's
|
|
10451
|
+
// 'font-medium' since they target the same property.
|
|
10452
|
+
// 200ms transition list extends to font-weight for
|
|
10453
|
+
// smooth easing. data-topo-chrome-zoom-level-hover
|
|
10454
|
+
// attr surfaces the hover state for tests.
|
|
10455
|
+
fontWeight: hoveredZoomLevel ? 600 : 500,
|
|
8236
10456
|
/* Round 264 / Loop: zoom level readout gains theme-toggle
|
|
8237
10457
|
transition. The span has theme-driven color (pal.
|
|
8238
10458
|
legendText) + border-x (pal.containerBorder via the
|
|
@@ -8241,7 +10461,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8241
10461
|
on theme flip while siblings eased. Sibling treatment
|
|
8242
10462
|
to the nodeSize + zoom wrapper transitions added this
|
|
8243
10463
|
round. */
|
|
8244
|
-
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out',
|
|
10464
|
+
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
|
|
8245
10465
|
}}
|
|
8246
10466
|
title="Current zoom level"
|
|
8247
10467
|
>
|
|
@@ -8252,18 +10472,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8252
10472
|
data-topo-chrome-zoom-in
|
|
8253
10473
|
data-topo-chrome-zoom-in-popping={chromePopping === 'zoom-in' ? 'true' : 'false'}
|
|
8254
10474
|
// R196: press-state (mirror of zoom-out above).
|
|
8255
|
-
|
|
10475
|
+
// R352: `group` lets the inner svg respond via group-hover.
|
|
10476
|
+
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"
|
|
8256
10477
|
style={{ color: pal.legendText }}
|
|
8257
10478
|
aria-label="Zoom in"
|
|
8258
10479
|
title="Zoom in (+)"
|
|
8259
10480
|
>
|
|
8260
10481
|
{/* R186: icon pop on click. Same one-shot CSS animation
|
|
8261
10482
|
as zoom-out; React removes the class after 240ms. */}
|
|
10483
|
+
{/* R352 sibling — zoom-in icon picks up the same
|
|
10484
|
+
group-hover:scale-110 family. Mirror change at
|
|
10485
|
+
the zoom-out icon above. */}
|
|
10486
|
+
{/* R454 sibling — zoom-in icon picks up the same
|
|
10487
|
+
group-hover:[stroke-width:2.8] family lift. */}
|
|
8262
10488
|
<svg
|
|
8263
10489
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8264
10490
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8265
10491
|
aria-hidden
|
|
8266
|
-
className={chromePopping === 'zoom-in' ? 'anet-chrome-pop' :
|
|
10492
|
+
className={`transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:[stroke-width:2.8] transform-gpu${chromePopping === 'zoom-in' ? ' anet-chrome-pop' : ''}`}
|
|
8267
10493
|
data-topo-chrome-zoom-in-icon
|
|
8268
10494
|
><path d="M12 5v14M5 12h14" /></svg>
|
|
8269
10495
|
</button>
|
|
@@ -8280,7 +10506,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8280
10506
|
onBlur={() => setHoveredReset(false)}
|
|
8281
10507
|
// R196: press-state deepens before R184 reset-spin fires on
|
|
8282
10508
|
// release — mouse-down dim then 450ms spin = full handshake.
|
|
8283
|
-
|
|
10509
|
+
/* Round 400 / Loop · milestone: chrome reset + fullscreen
|
|
10510
|
+
buttons gain hover:-translate-y-px lift — closes the
|
|
10511
|
+
hover-lift gesture vocabulary across every standalone
|
|
10512
|
+
interactive HTML element in TopoGraph. Segmented
|
|
10513
|
+
controls (zoom -/+, nodeSize S/M/L, Layout Ring/Grid)
|
|
10514
|
+
intentionally stay planted: lifting one segment of a
|
|
10515
|
+
unified strip would tear the visual unity of the
|
|
10516
|
+
segmented control. Only the standalone chrome buttons
|
|
10517
|
+
(reset, fullscreen) get the lift.
|
|
10518
|
+
Gesture vocabulary post-R400 (now complete across HTML):
|
|
10519
|
+
chip-row chips (3×) -1 px R398, R399
|
|
10520
|
+
filter pin pills (4×) -1 px R397
|
|
10521
|
+
recent-signal row -1 px R143
|
|
10522
|
+
legend row -1 px R144
|
|
10523
|
+
reset button -1 px R400 (this round)
|
|
10524
|
+
fullscreen button -1 px R400 (this round)
|
|
10525
|
+
Every standalone interactive HTML surface in TopoGraph
|
|
10526
|
+
now lifts on hover. data-topo-chrome-reset-hover-lift
|
|
10527
|
+
attr surfaces the lift for tests. */
|
|
10528
|
+
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"
|
|
10529
|
+
data-topo-chrome-reset-hover-lift="true"
|
|
8284
10530
|
style={{ background: pal.legendBox.fill, borderColor: pal.containerBorder, color: pal.legendText }}
|
|
8285
10531
|
aria-label="Reset view"
|
|
8286
10532
|
title="Reset zoom + pan (0, or double-click the canvas)"
|
|
@@ -8300,13 +10546,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8300
10546
|
(2.5) all share one weight. View-box (24×24) and
|
|
8301
10547
|
display size (13×13) unchanged, so geometry stays
|
|
8302
10548
|
pixel-stable — only the stroke deepens. */}
|
|
10549
|
+
{/* Round 453 / Loop: chrome reset icon strokeWidth hover
|
|
10550
|
+
lift — 2.5 → 2.8 on hoveredReset && !resetSpinning.
|
|
10551
|
+
Sibling to R443 runtime badge inner-icon sw lift
|
|
10552
|
+
(2.4→2.8) — both chrome icons now thicken on hover
|
|
10553
|
+
for tactile feedback. Pre-R453 reset hover was a
|
|
10554
|
+
rotate-only cue (R350); R453 adds a stroke-weight
|
|
10555
|
+
axis so the affordance reads with both motion (R350
|
|
10556
|
+
rotate -8°) AND geometry (R453 sw +0.3). Gated on
|
|
10557
|
+
!resetSpinning so the R184 spin keyframe owns paint
|
|
10558
|
+
during its 450ms run. 200ms stroke-width transition
|
|
10559
|
+
appended to the style list matches R350 transform
|
|
10560
|
+
cadence. data-topo-chrome-reset-icon-stroke-width
|
|
10561
|
+
attr exposes the resolved value for tests. */}
|
|
8303
10562
|
<svg
|
|
8304
10563
|
width="13" height="13" viewBox="0 0 24 24"
|
|
8305
|
-
fill="none" stroke="currentColor"
|
|
10564
|
+
fill="none" stroke="currentColor"
|
|
10565
|
+
strokeWidth={hoveredReset && !resetSpinning ? '2.8' : '2.5'}
|
|
8306
10566
|
strokeLinecap="round" strokeLinejoin="round"
|
|
8307
10567
|
aria-hidden
|
|
8308
10568
|
className={resetSpinning ? 'anet-reset-spin' : undefined}
|
|
8309
10569
|
data-topo-chrome-reset-icon
|
|
10570
|
+
data-topo-chrome-reset-icon-stroke-width={hoveredReset && !resetSpinning ? '2.8' : '2.5'}
|
|
8310
10571
|
// R350: hover-rotate preview of the R184 click-spin.
|
|
8311
10572
|
// Gated on !resetSpinning so the anet-reset-spin keyframe
|
|
8312
10573
|
// owns transform during its 450ms run. transformOrigin
|
|
@@ -8315,7 +10576,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8315
10576
|
style={{
|
|
8316
10577
|
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
|
|
8317
10578
|
transformOrigin: 'center',
|
|
8318
|
-
transition: 'transform 200ms ease-out',
|
|
10579
|
+
transition: 'transform 200ms ease-out, stroke-width 200ms ease-out',
|
|
8319
10580
|
}}
|
|
8320
10581
|
data-topo-chrome-reset-icon-hover={hoveredReset && !resetSpinning ? 'true' : 'false'}
|
|
8321
10582
|
>
|
|
@@ -8351,11 +10612,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8351
10612
|
its inactive state benefits from the same "hover previews
|
|
8352
10613
|
active state" idiom R163 designed. Sibling treatment to
|
|
8353
10614
|
the nodeSize buttons at line ~6711. */
|
|
8354
|
-
|
|
10615
|
+
// R353: `group` lets the inner svg respond via group-hover —
|
|
10616
|
+
// sibling to R352 zoom buttons. Closes the chrome-strip per-
|
|
10617
|
+
// icon hover-affordance arc (zoom-out / zoom-in / reset /
|
|
10618
|
+
// fullscreen now all carry an icon-level hover gesture in
|
|
10619
|
+
// addition to the bg hover).
|
|
10620
|
+
// R400: hover translateY(-1px) lift — see reset button above for family doc.
|
|
10621
|
+
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 ${
|
|
8355
10622
|
isFullscreen
|
|
8356
10623
|
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
|
|
8357
10624
|
: 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
|
|
8358
10625
|
}${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
|
|
10626
|
+
data-topo-chrome-fullscreen-hover-lift="true"
|
|
8359
10627
|
style={{
|
|
8360
10628
|
borderColor: pal.containerBorder,
|
|
8361
10629
|
...(isFullscreen
|
|
@@ -8370,12 +10638,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8370
10638
|
at the reset icon above. data-topo-chrome-fullscreen-
|
|
8371
10639
|
icon attribute exposes BOTH variants (entered / exited)
|
|
8372
10640
|
for the round's stroke-width regression probe. */}
|
|
10641
|
+
{/* Round 353 / Loop: fullscreen icon (both enter + exit
|
|
10642
|
+
variants) picks up the R352 family group-hover:scale-110.
|
|
10643
|
+
Pre-R353 hovering the button only changed the bg; the
|
|
10644
|
+
icon stayed still. R353 lifts the icon 10 % on hover —
|
|
10645
|
+
same gesture vocabulary as the zoom buttons. transform-
|
|
10646
|
+
gpu hint promotes the svg to its own compositor layer
|
|
10647
|
+
for crisper edges during the scale tween. Closes the
|
|
10648
|
+
chrome-strip per-icon hover-affordance arc. */}
|
|
10649
|
+
{/* R455 — fullscreen ENTER + EXIT icons pick up the same
|
|
10650
|
+
group-hover:[stroke-width:2.8] family lift as the
|
|
10651
|
+
zoom +/− icons (R454) and chrome reset icon (R453).
|
|
10652
|
+
Chrome icon hover sw lift family now 6 anchors —
|
|
10653
|
+
R208/R443 runtime badge + R453/R454-zoom-out/zoom-in
|
|
10654
|
+
+ R455 fullscreen (this round). transition-[transform,
|
|
10655
|
+
stroke-width] expands existing transition-transform
|
|
10656
|
+
so the sw lift eases under R352 scale-110 cadence. */}
|
|
8373
10657
|
{isFullscreen ? (
|
|
8374
|
-
<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">
|
|
10658
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:[stroke-width:2.8] transform-gpu" data-topo-chrome-fullscreen-icon="exit">
|
|
8375
10659
|
<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" />
|
|
8376
10660
|
</svg>
|
|
8377
10661
|
) : (
|
|
8378
|
-
<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">
|
|
10662
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-[transform,stroke-width] duration-200 ease-out group-hover:scale-110 group-hover:[stroke-width:2.8] transform-gpu" data-topo-chrome-fullscreen-icon="enter">
|
|
8379
10663
|
<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" />
|
|
8380
10664
|
</svg>
|
|
8381
10665
|
)}
|