@sleep2agi/agent-network-dashboard 0.5.1-preview.13 → 0.5.1-preview.130
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 +7 -7
- 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.js.nft.json +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/{[root-of-the-server]__03b.f76._.js → [root-of-the-server]__0sv~g.o._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js.map +1 -0
- 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/0-at-u3ty_q5z.js +1 -0
- package/.next/static/chunks/0a4hmfvj-81x5.css +2 -0
- package/.next/static/chunks/0kz7356-vy97a.js +1 -0
- package/.next/static/chunks/{03~~oirxz7~vc.js → 0phbmewz8hp6a.js} +1 -1
- package/.next/static/chunks/11xegdodzgys0.js +4 -0
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +2528 -186
- 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-dashboard-version-attr-test.mjs +69 -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-geom-transition-test.mjs +110 -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-label-tint-geom-test.mjs +94 -0
- package/scripts/topo-group-label-tint-transition-test.mjs +97 -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-level-hover-fw-test.mjs +95 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__03b.f76._.js.map +0 -1
- package/.next/static/chunks/0is7s1ik8dy24.js +0 -4
- package/.next/static/chunks/0kt7qs66ra2.2.css +0 -2
- package/.next/static/chunks/0yl__lz0pv5_7.js +0 -1
- package/.next/static/chunks/1090s4vyw-jrc.js +0 -1
- /package/.next/static/{Fa8EZgmgYGwvcoaGKpSmo → ZPH3qUPz78tGunqc1tq8i}/_buildManifest.js +0 -0
- /package/.next/static/{Fa8EZgmgYGwvcoaGKpSmo → ZPH3qUPz78tGunqc1tq8i}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{Fa8EZgmgYGwvcoaGKpSmo → ZPH3qUPz78tGunqc1tq8i}/_ssgManifest.js +0 -0
|
@@ -8,6 +8,7 @@ import { aliasAvatarColors, aliasInitial } from './AliasAvatar';
|
|
|
8
8
|
import { ChatPopover } from './ChatPopover';
|
|
9
9
|
import { vendorForModel, runtimeIdentity, identityLine } from '../lib/vendorIdentity';
|
|
10
10
|
import { parseHubTime, relativeAgo } from '../lib/time';
|
|
11
|
+
import { DASHBOARD_VERSION } from '../lib/version';
|
|
11
12
|
|
|
12
13
|
/** v0.10.0 Hero 1+2 / §3.F server-health hook — fetches the normalized
|
|
13
14
|
* /api/hub/servers payload (preview.370 unblocked real-data via the
|
|
@@ -194,7 +195,27 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
|
|
|
194
195
|
// tier (R312-R314 family); the amber bg/text/border still does
|
|
195
196
|
// the warning-state work, the weight just keeps the chip in the
|
|
196
197
|
// same data-typography ladder as its siblings.
|
|
197
|
-
|
|
198
|
+
// Round 377 / Loop: FreshnessChip baseClass picks up `tabular-nums`.
|
|
199
|
+
// The chip-row's last untouched chip joins the R224-R357 broader
|
|
200
|
+
// tabular-nums sweep:
|
|
201
|
+
// R224 edge badge digit
|
|
202
|
+
// R225 hub digit / panel header counts / recent row count
|
|
203
|
+
// R232 chip row counts (working / online / active-links)
|
|
204
|
+
// R321 recent row timestamp
|
|
205
|
+
// R322 recent panel hot count
|
|
206
|
+
// R323 filter pin pill counts
|
|
207
|
+
// R333 vendor count suffix
|
|
208
|
+
// R357 active-links freshness suffix wrapper
|
|
209
|
+
// R377 FreshnessChip body (this round)
|
|
210
|
+
// `font-mono` already gives equal-width glyphs but `tabular-nums`
|
|
211
|
+
// is the explicit-invariant the rest of the chip row carries.
|
|
212
|
+
// FreshnessChip body reads `lag · {sec}s` — the {sec} digit grows
|
|
213
|
+
// every second; tabular-nums explicitly locks digit width so the
|
|
214
|
+
// chip stays planted as the seconds counter ticks past 9 → 10 →
|
|
215
|
+
// 99 → 100. R187 transition-colors duration-300 + R275 stale-only
|
|
216
|
+
// render gate + R315 font-medium R313 family alignment all
|
|
217
|
+
// preserved.
|
|
218
|
+
const baseClass = "hidden sm:inline px-2.5 py-1 rounded-md font-mono font-medium tabular-nums border transition-colors duration-300";
|
|
198
219
|
const colorClass = stale
|
|
199
220
|
? "bg-amber-500/10 text-amber-300 border-amber-500/20"
|
|
200
221
|
: "bg-gray-500/10 text-gray-400 border-gray-500/20";
|
|
@@ -237,7 +258,21 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
|
|
|
237
258
|
duration-300 still eases the bg/color flip. Title (hover
|
|
238
259
|
tooltip) still spells out the full meaning in either
|
|
239
260
|
state. */}
|
|
240
|
-
{
|
|
261
|
+
{/* Round 410 / Loop: FreshnessChip body picks up the chip-
|
|
262
|
+
internal-hierarchy arc. Pre-R410 the body rendered as a
|
|
263
|
+
single text node `lag · {sec}s` with the parent's font-
|
|
264
|
+
medium (fw=500) applied uniformly. R410 splits the digit
|
|
265
|
+
and unit into separate spans so the chip's internal
|
|
266
|
+
typography mirrors the family pattern R333-R341/R362/R369/
|
|
267
|
+
R389 established for the chip row:
|
|
268
|
+
digit (fw=600) data tier
|
|
269
|
+
unit (fw=500 + opacity=0.7) label tier
|
|
270
|
+
The `lag` prefix stays at the chip's baseline (fw=500
|
|
271
|
+
from parent font-medium) — it labels the state, not a
|
|
272
|
+
data value. data-freshness-chip-digit / -unit attrs
|
|
273
|
+
surface the spans for tests. tabular-nums + transition-
|
|
274
|
+
colors + R275 stale-only gate all preserved. */}
|
|
275
|
+
{stale ? 'lag' : 'live'} · <span className="font-semibold" data-freshness-chip-digit>{sec}</span><span className="opacity-70" data-freshness-chip-unit>s</span>
|
|
241
276
|
</span>
|
|
242
277
|
);
|
|
243
278
|
}
|
|
@@ -1823,12 +1858,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1823
1858
|
while honoring R328's wider baseline rhythm. data-topo-
|
|
1824
1859
|
chrome-layout-trailer attr unchanged — it still marks
|
|
1825
1860
|
the boundary surface for the gap probe. */}
|
|
1861
|
+
{/* Round 375 / Loop: Layout-toggle wrapper rounded-md → rounded-
|
|
1862
|
+
lg (6 → 8 px). Extends the corner-radius cascade family
|
|
1863
|
+
to the chrome-strip layout-toggle wrapper:
|
|
1864
|
+
R330 canvas wrapper rounded-xl 12 px
|
|
1865
|
+
R331 SVG panels rx=10 10 px
|
|
1866
|
+
R332 minimap container rounded-lg 8 px
|
|
1867
|
+
R375 Layout-toggle wrapper rounded-lg 8 px (this round)
|
|
1868
|
+
Pre-R375 the wrapper at rounded-md (6 px) was the only
|
|
1869
|
+
chrome-strip container still using the smaller corner
|
|
1870
|
+
radius — both R330 outer wrapper and R332 minimap sit at
|
|
1871
|
+
≥ 8 px, so the Layout toggle's 6 px stood out as a
|
|
1872
|
+
tighter corner against the family. R375 brings it into
|
|
1873
|
+
the rounded-lg tier where the minimap already lives.
|
|
1874
|
+
Pure paint change — overflow-hidden still clips the
|
|
1875
|
+
inner buttons' bg-cyan-500/15 tints; no layout shift.
|
|
1876
|
+
R268 border-color + 200ms transition + R329 mr-0.5 +
|
|
1877
|
+
data-topo-chrome-layout-trailer all preserved. */}
|
|
1826
1878
|
<div
|
|
1827
|
-
className="mr-0.5 inline-flex rounded-
|
|
1879
|
+
className="mr-0.5 inline-flex rounded-lg border overflow-hidden"
|
|
1828
1880
|
style={{ borderColor: pal.containerBorder, transition: 'border-color 200ms ease-out' }}
|
|
1829
1881
|
role="group"
|
|
1830
1882
|
aria-label="Topology layout"
|
|
1831
1883
|
data-topo-chrome-layout-trailer
|
|
1884
|
+
data-topo-chrome-layout-radius="rounded-lg"
|
|
1832
1885
|
>
|
|
1833
1886
|
<button
|
|
1834
1887
|
onClick={() => { popChrome('layout-ring'); if (layout !== 'ring') toggleLayout(); }}
|
|
@@ -1989,11 +2042,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
1989
2042
|
7th surface in the info-density tabular-nums
|
|
1990
2043
|
sweep — and the first on the HTML side
|
|
1991
2044
|
(previous 6 were SVG <text>/<tspan>). */
|
|
1992
|
-
|
|
2045
|
+
/* Round 398 / Loop: chip-row chips gain hover translateY
|
|
2046
|
+
(-1px) lift on the CLICKABLE variant only (workingCount
|
|
2047
|
+
> 0 here / onlineNodes.length > 0 below / activeLinks
|
|
2048
|
+
> 0 deeper). Pre-R398 the chips brightened bg + border
|
|
2049
|
+
on hover (R201) but didn't lift — only their clickable
|
|
2050
|
+
siblings (filter pin pills R397, recent rows R143,
|
|
2051
|
+
legend rows R144) acknowledged cursor entry with a
|
|
2052
|
+
translate-y. R398 closes the chip-row by extending
|
|
2053
|
+
the same gesture to the static header chips, gated
|
|
2054
|
+
on the clickable role so empty chips (which have
|
|
2055
|
+
no role="button") stay planted at their R205
|
|
2056
|
+
opacity-50 receded paint. transition-transform
|
|
2057
|
+
+ duration-200 + ease-out + transform-gpu added
|
|
2058
|
+
alongside existing transition-colors so the lift
|
|
2059
|
+
and the color tween share rhythm.
|
|
2060
|
+
Gesture-vocabulary table (post-R398):
|
|
2061
|
+
recent-signal row -1 px (R143)
|
|
2062
|
+
legend row -1 px (R144)
|
|
2063
|
+
group cluster box fill+sw lift (R142)
|
|
2064
|
+
filter pin pills -1 px (R397)
|
|
2065
|
+
chip-row chips -1 px (R398, this round)
|
|
2066
|
+
Empty chips: no lift. Pin-mirror chips: no
|
|
2067
|
+
conflict (R180 inset double-ring is a box-shadow
|
|
2068
|
+
not a transform). new data-chip-hover-lift attr
|
|
2069
|
+
surfaces the lift surface for tests. */
|
|
2070
|
+
// R414: chip-row chips gain `group` so inner unit
|
|
2071
|
+
// span brightens via group-hover:opacity-100 — sibling
|
|
2072
|
+
// to R355 filter pin pill inner-span hover-brighten.
|
|
2073
|
+
// Hover-brighten family extends from filter pills to
|
|
2074
|
+
// chip-row chips at the inner-span scope.
|
|
2075
|
+
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
2076
|
workingCount > 0
|
|
1994
|
-
? 'bg-green-500/10 text-green-300 border-green-500/20 hover:bg-green-500/15 hover:border-green-500/30'
|
|
2077
|
+
? '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
2078
|
: 'bg-green-500/10 text-green-300 border-green-500/20'
|
|
1996
2079
|
}`}
|
|
2080
|
+
data-chip-hover-lift={workingCount > 0 ? 'true' : 'false'}
|
|
2081
|
+
data-chip-group-hover-brighten="true"
|
|
1997
2082
|
data-working-chip
|
|
1998
2083
|
data-working-chip-aliases={workingAliases.join(',')}
|
|
1999
2084
|
data-pin-mirror={pinnedStatus === 'working' ? 'true' : 'false'}
|
|
@@ -2063,7 +2148,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2063
2148
|
pattern: small label spans demote, value stays
|
|
2064
2149
|
prominent. data-working-chip-unit exposes the
|
|
2065
2150
|
span for tests. */}
|
|
2066
|
-
{
|
|
2151
|
+
{/* Round 362 / Loop: digit picks up font-semibold
|
|
2152
|
+
(fw 500 → 600) for within-chip weight tier. The
|
|
2153
|
+
chip's outer className stays at font-medium (R313
|
|
2154
|
+
data-weight baseline); the digit overrides to
|
|
2155
|
+
semibold so it reads heavier than its " working"
|
|
2156
|
+
unit (which keeps fw 500 + R338 opacity-70).
|
|
2157
|
+
Joins the R333-R341 chip-internal-hierarchy arc
|
|
2158
|
+
at the chip-count scope. Sibling edits on the
|
|
2159
|
+
online + active-links chip digits below. data-
|
|
2160
|
+
working-chip-digit attr exposes the digit span. */}
|
|
2161
|
+
<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
2162
|
</span>
|
|
2068
2163
|
<span
|
|
2069
2164
|
// Round 201 / Loop: online chip — mirror of the working
|
|
@@ -2077,11 +2172,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2077
2172
|
/* Round 232 / Loop: tabular-nums on online chip
|
|
2078
2173
|
(sibling treatment to working chip — same row,
|
|
2079
2174
|
same digit-jitter physics on count crossings). */
|
|
2080
|
-
|
|
2175
|
+
// R398: hover translate-y lift on clickable variant — see working chip above.
|
|
2176
|
+
// R414: `group` parent + inner unit span group-hover-brighten — see working chip above.
|
|
2177
|
+
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
2178
|
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'
|
|
2179
|
+
? '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
2180
|
: 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'
|
|
2084
2181
|
}`}
|
|
2182
|
+
data-chip-hover-lift={onlineNodes.length > 0 ? 'true' : 'false'}
|
|
2183
|
+
data-chip-group-hover-brighten="true"
|
|
2085
2184
|
data-online-chip
|
|
2086
2185
|
data-online-chip-aliases={onlineAliases.join(',')}
|
|
2087
2186
|
data-pin-mirror={pinnedStatus === 'idle' ? 'true' : 'false'}
|
|
@@ -2126,7 +2225,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2126
2225
|
}}
|
|
2127
2226
|
>
|
|
2128
2227
|
{/* R337 sibling — online chip unit demotion. */}
|
|
2129
|
-
{
|
|
2228
|
+
{/* R362 sibling — online-chip digit gains font-semibold. */}
|
|
2229
|
+
<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
2230
|
</span>
|
|
2131
2231
|
</>
|
|
2132
2232
|
);
|
|
@@ -2253,8 +2353,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2253
2353
|
title={`${w} working · ${i} idle · ${o} offline`}
|
|
2254
2354
|
data-fleet-pressure
|
|
2255
2355
|
>
|
|
2256
|
-
|
|
2257
|
-
|
|
2356
|
+
{/* Round 373 / Loop: pressure-bar kicker label gains
|
|
2357
|
+
font-medium (fw 400 → 500). Sibling small-text fw
|
|
2358
|
+
lift family with R363 recent-row alias + R364
|
|
2359
|
+
legend-row label + R366 group-label count + R368
|
|
2360
|
+
+N more flows footer — extends to a 5th surface
|
|
2361
|
+
(the chip-row's 'pressure' label). At fontSize
|
|
2362
|
+
10 px tracking-wide against the chip's gray bg,
|
|
2363
|
+
the default fw 400 sat below the deliberate-data
|
|
2364
|
+
band; fw 500 brings it into parity with the
|
|
2365
|
+
chip-row 'working / online / active links' unit
|
|
2366
|
+
spans (chip-level font-medium R313). data-fleet-
|
|
2367
|
+
pressure-kicker attr exposes the kicker for tests. */}
|
|
2368
|
+
<span className="text-[10px] tracking-wide font-medium" data-fleet-pressure-kicker>pressure</span>
|
|
2369
|
+
{/* Round 374 / Loop: pressure-bar height h-1.5 → h-2
|
|
2370
|
+
(6 → 8 px) — sibling visual-weight bump (8th anchor
|
|
2371
|
+
in the family):
|
|
2372
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
2373
|
+
R295 legend swatch base radius 5.5 → 6
|
|
2374
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
2375
|
+
R360 hub digit fontSize 11 → 12
|
|
2376
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
2377
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
2378
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
2379
|
+
R374 pressure-bar height 1.5 → 2 (this round)
|
|
2380
|
+
+33 % bar height gives the working/idle/offline
|
|
2381
|
+
segments more visibility — at h-1.5 the 3-segment
|
|
2382
|
+
proportion bar was readable but slim; at h-2 the
|
|
2383
|
+
segments parse cleanly even when one tier is
|
|
2384
|
+
< 10 % share. Geometry-safe: items-center flex
|
|
2385
|
+
centers the bar inside the chip's py-1 (4 px top +
|
|
2386
|
+
4 px bottom) — bar at 8 px stays comfortably
|
|
2387
|
+
inside the 10-px text-row height. R165 segment
|
|
2388
|
+
width transitions + R210 brightness hover + R83
|
|
2389
|
+
pin-mirror box-shadow on segments all preserved
|
|
2390
|
+
(segments inherit width from parent so the height
|
|
2391
|
+
bump propagates without segment-side edits).
|
|
2392
|
+
data-fleet-pressure-bar-height attr exposes the
|
|
2393
|
+
height token for tests. */}
|
|
2394
|
+
<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
2395
|
{seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
|
|
2259
2396
|
{seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
|
|
2260
2397
|
{seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
|
|
@@ -2311,7 +2448,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2311
2448
|
data-active-filter="status"
|
|
2312
2449
|
data-filter-match-count={matchCount}
|
|
2313
2450
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2314
|
-
|
|
2451
|
+
// R355: `group` lets the inner opacity-70 spans (prefix
|
|
2452
|
+
// `filter:` + count `· N`) brighten to 100 % on pill hover.
|
|
2453
|
+
// Sibling treatment on group + vendor pills below.
|
|
2454
|
+
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
2455
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2316
2456
|
onClick={() => setPinnedStatus(null)}
|
|
2317
2457
|
style={{
|
|
@@ -2325,12 +2465,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2325
2465
|
cursor: 'pointer',
|
|
2326
2466
|
}}
|
|
2327
2467
|
>
|
|
2328
|
-
|
|
2468
|
+
{/* Round 412 / Loop: filter pin pill VALUE picks up the
|
|
2469
|
+
chip-internal-hierarchy arc. Pre-R412 the value span
|
|
2470
|
+
(pinnedStatus / pinnedGroup / pinnedVendor) inherited
|
|
2471
|
+
the parent's font-medium (fw=500); prefix and suffix
|
|
2472
|
+
were opacity-70 label-tier but the VALUE itself sat
|
|
2473
|
+
at the same baseline weight. R412 wraps the value in
|
|
2474
|
+
a font-semibold span (fw=600) so the pill now reads
|
|
2475
|
+
with proper data-tier emphasis — sibling treatment
|
|
2476
|
+
to R333/R335-R341/R362/R369/R389/R410. data-filter-
|
|
2477
|
+
value attr surfaces the value span for tests.
|
|
2478
|
+
4-pill replace family — status / group / vendor / edge. */}
|
|
2479
|
+
<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
2480
|
<button
|
|
2330
2481
|
type="button"
|
|
2331
2482
|
aria-label={`Clear ${pinnedStatus} filter`}
|
|
2332
2483
|
onClick={(e) => { e.stopPropagation(); setPinnedStatus(null); }}
|
|
2333
|
-
|
|
2484
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2485
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2486
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2487
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2488
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2489
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2490
|
+
scale on hover so the click-target reads as "press me"
|
|
2491
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2492
|
+
button to its own compositor layer for crisper edges
|
|
2493
|
+
during the scale tween. transition-transform duration-
|
|
2494
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2495
|
+
inline-block is default for <button> so no display
|
|
2496
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2497
|
+
pills (status / group / vendor / edge) at once. */
|
|
2498
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2334
2499
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2335
2500
|
>×</button>
|
|
2336
2501
|
</span>
|
|
@@ -2349,7 +2514,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2349
2514
|
data-active-filter="group"
|
|
2350
2515
|
data-filter-match-count={matchCount}
|
|
2351
2516
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2352
|
-
|
|
2517
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2518
|
+
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
2519
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
|
|
2354
2520
|
onClick={() => setPinnedGroup(null)}
|
|
2355
2521
|
style={{
|
|
@@ -2359,12 +2525,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2359
2525
|
cursor: 'pointer',
|
|
2360
2526
|
}}
|
|
2361
2527
|
>
|
|
2362
|
-
|
|
2528
|
+
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2529
|
+
<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
2530
|
<button
|
|
2364
2531
|
type="button"
|
|
2365
2532
|
aria-label={`Clear group filter ${pinnedGroup}`}
|
|
2366
2533
|
onClick={(e) => { e.stopPropagation(); setPinnedGroup(null); }}
|
|
2367
|
-
|
|
2534
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2535
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2536
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2537
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2538
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2539
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2540
|
+
scale on hover so the click-target reads as "press me"
|
|
2541
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2542
|
+
button to its own compositor layer for crisper edges
|
|
2543
|
+
during the scale tween. transition-transform duration-
|
|
2544
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2545
|
+
inline-block is default for <button> so no display
|
|
2546
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2547
|
+
pills (status / group / vendor / edge) at once. */
|
|
2548
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2368
2549
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2369
2550
|
>×</button>
|
|
2370
2551
|
</span>
|
|
@@ -2399,7 +2580,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2399
2580
|
data-active-filter="vendor"
|
|
2400
2581
|
data-filter-match-count={matchCount}
|
|
2401
2582
|
data-filter-match-aliases={matchAliases.join(',')}
|
|
2402
|
-
|
|
2583
|
+
// R355 sibling — `group` parent + group-hover on inner spans.
|
|
2584
|
+
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
2585
|
title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
|
|
2404
2586
|
onClick={() => setPinnedVendor(null)}
|
|
2405
2587
|
style={{
|
|
@@ -2409,12 +2591,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2409
2591
|
cursor: 'pointer',
|
|
2410
2592
|
}}
|
|
2411
2593
|
>
|
|
2412
|
-
|
|
2594
|
+
{/* R412: see status pill above — filter value fw=600 data tier. */}
|
|
2595
|
+
<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
2596
|
<button
|
|
2414
2597
|
type="button"
|
|
2415
2598
|
aria-label={`Clear vendor filter ${pinnedVendor}`}
|
|
2416
2599
|
onClick={(e) => { e.stopPropagation(); setPinnedVendor(null); }}
|
|
2417
|
-
|
|
2600
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2601
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2602
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2603
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2604
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2605
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2606
|
+
scale on hover so the click-target reads as "press me"
|
|
2607
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2608
|
+
button to its own compositor layer for crisper edges
|
|
2609
|
+
during the scale tween. transition-transform duration-
|
|
2610
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2611
|
+
inline-block is default for <button> so no display
|
|
2612
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2613
|
+
pills (status / group / vendor / edge) at once. */
|
|
2614
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2418
2615
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2419
2616
|
>×</button>
|
|
2420
2617
|
</span>
|
|
@@ -2447,7 +2644,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2447
2644
|
data-filter-match-count={link.count}
|
|
2448
2645
|
data-filter-match-aliases={`${link.from},${link.to}`}
|
|
2449
2646
|
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"
|
|
2647
|
+
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
2648
|
title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
|
|
2452
2649
|
onClick={() => setPinnedEdgeKey(null)}
|
|
2453
2650
|
style={{
|
|
@@ -2457,9 +2654,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2457
2654
|
cursor: 'pointer',
|
|
2458
2655
|
}}
|
|
2459
2656
|
>
|
|
2657
|
+
{/* R412: filter pin pill value (edge variant) picks up fw=600.
|
|
2658
|
+
Sibling treatment to the status/group/vendor pills above. */}
|
|
2460
2659
|
<span>
|
|
2461
2660
|
<span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>
|
|
2462
|
-
{link.from}→{link.to}
|
|
2661
|
+
<span className="font-semibold" data-filter-value>{link.from}→{link.to}</span>
|
|
2463
2662
|
{/* Round 323 / Loop: edge filter pill count digit picks
|
|
2464
2663
|
up tabular-nums (Tailwind class on both cold +
|
|
2465
2664
|
hot branches). Sibling treatment to the status /
|
|
@@ -2491,7 +2690,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2491
2690
|
type="button"
|
|
2492
2691
|
aria-label={`Clear edge filter ${link.from} → ${link.to}`}
|
|
2493
2692
|
onClick={(e) => { e.stopPropagation(); setPinnedEdgeKey(null); }}
|
|
2494
|
-
|
|
2693
|
+
/* Round 356 / Loop: filter pin pill × buttons gain
|
|
2694
|
+
hover:scale-110 (Tailwind 4 modern CSS `scale` property,
|
|
2695
|
+
not legacy transform). Sibling polish to R354 vendor
|
|
2696
|
+
letter glyph + R350/R352/R353 chrome icon hover-scales.
|
|
2697
|
+
Pre-R356 the × had only hover:opacity-70 — the target
|
|
2698
|
+
dimmed under cursor but didn't lift. R356 adds a 10 %
|
|
2699
|
+
scale on hover so the click-target reads as "press me"
|
|
2700
|
+
alongside the dim. transform-gpu hint promotes the
|
|
2701
|
+
button to its own compositor layer for crisper edges
|
|
2702
|
+
during the scale tween. transition-transform duration-
|
|
2703
|
+
200 matches the chrome icon hover-scale timing family.
|
|
2704
|
+
inline-block is default for <button> so no display
|
|
2705
|
+
tweak needed. replace_all covers all 4 filter pin
|
|
2706
|
+
pills (status / group / vendor / edge) at once. */
|
|
2707
|
+
className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
|
|
2495
2708
|
style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
|
|
2496
2709
|
>×</button>
|
|
2497
2710
|
</span>
|
|
@@ -2756,9 +2969,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2756
2969
|
vendor letter chips ('A:N', 'O:N', '书:N',
|
|
2757
2970
|
'?:N'). They display vendor-distribution
|
|
2758
2971
|
data; same tier as the sibling data chips. */
|
|
2759
|
-
|
|
2972
|
+
/* Round 401 / Loop: vendor letter chip closes the
|
|
2973
|
+
hover-lift gesture family at its last unaddressed
|
|
2974
|
+
interactive HTML surface. R397/R398/R399 lifted
|
|
2975
|
+
filter pin pills + chip-row chips (working /
|
|
2976
|
+
online / active-links); R400 lifted standalone
|
|
2977
|
+
chrome buttons (reset / fullscreen). The vendor
|
|
2978
|
+
letter chips (A:N / O:N / 书:N / ?:N) are
|
|
2979
|
+
sibling interactive chips in the same chip-row
|
|
2980
|
+
— clickable to toggle the vendor filter pin —
|
|
2981
|
+
but were not yet on the hover-lift family.
|
|
2982
|
+
R401 closes the gap with hover:-translate-y-px
|
|
2983
|
+
+ transition-transform + transform-gpu added
|
|
2984
|
+
to the className. The inline transition list
|
|
2985
|
+
(box-shadow + background-color) keeps eaching
|
|
2986
|
+
independently — different property axes compose
|
|
2987
|
+
cleanly. Existing R354 glyph scale-1.1 (inner
|
|
2988
|
+
span) + R202 chip bg color-mix + R180 pin-mirror
|
|
2989
|
+
box-shadow + R354 glyph hover transform all
|
|
2990
|
+
preserved. data-vendor-letter-hover-lift attr
|
|
2991
|
+
surfaces the lift for tests. */
|
|
2992
|
+
// R417: `group` parent enables the count suffix to
|
|
2993
|
+
// brighten on chip hover via group-hover:opacity-100
|
|
2994
|
+
// — sibling to R355 filter-pill prefix/suffix + R414
|
|
2995
|
+
// chip-row unit brighten. Closes the inner-span
|
|
2996
|
+
// hover-brighten family at the vendor chip surface.
|
|
2997
|
+
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
2998
|
data-vendor-letter={v.initial}
|
|
2761
2999
|
data-vendor-letter-count={v.count}
|
|
3000
|
+
data-vendor-letter-hover-lift="true"
|
|
2762
3001
|
data-vendor-pinned={isPinned ? 'true' : 'false'}
|
|
2763
3002
|
data-vendor-hovered={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
2764
3003
|
data-vendor-aliases={aliases.join(',')}
|
|
@@ -2802,7 +3041,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2802
3041
|
}
|
|
2803
3042
|
}}
|
|
2804
3043
|
>
|
|
2805
|
-
|
|
3044
|
+
{/* Round 354 / Loop: vendor letter glyph scales
|
|
3045
|
+
1.0 → 1.1 on hover. R88 already dims OTHER
|
|
3046
|
+
vendors on hover via canvas-wide opacity
|
|
3047
|
+
masking; R202 added a chip-level bg tint
|
|
3048
|
+
(color-mix 12 % alpha) so the chip itself
|
|
3049
|
+
responds. R354 closes the trio with a glyph-
|
|
3050
|
+
level lift: the focused vendor LETTER actively
|
|
3051
|
+
rises (transform scale) rather than the chip
|
|
3052
|
+
merely changing colour. Three layers of positive
|
|
3053
|
+
feedback on the hovered vendor + canvas-wide
|
|
3054
|
+
negative feedback on the others — a clean
|
|
3055
|
+
figure/ground separation.
|
|
3056
|
+
|
|
3057
|
+
display: inline-block is required for transform
|
|
3058
|
+
to apply (inline elements ignore transform).
|
|
3059
|
+
transformOrigin: 'center' so the glyph pivots
|
|
3060
|
+
around its centre instead of arcing from the
|
|
3061
|
+
baseline anchor. transition rides the existing
|
|
3062
|
+
Tailwind 4 transform/scale list (no new
|
|
3063
|
+
property — Tailwind already lists transform in
|
|
3064
|
+
the default transition-property set). 200ms
|
|
3065
|
+
matches the R202 chip bg-tint timing so the
|
|
3066
|
+
glyph lift and chip background ease in concert. */}
|
|
3067
|
+
{/* Round 369 / Loop: vendor letter glyph picks up
|
|
3068
|
+
fontWeight 600 (font-semibold). The glyph is the
|
|
3069
|
+
vendor identifier — the DATA the operator scans
|
|
3070
|
+
in this chip (A / O / 书 / C / G / ?). R333 set
|
|
3071
|
+
the count suffix `:N` to text-gray-400 + tabular-
|
|
3072
|
+
nums and (via parent inheritance) fw 500. Pre-
|
|
3073
|
+
R369 the LETTER also inherited fw 500 from the
|
|
3074
|
+
chip's font-medium — letter and count read at
|
|
3075
|
+
the same weight, contradicting the data-vs-label
|
|
3076
|
+
hierarchy the rest of the chip-row already speaks.
|
|
3077
|
+
R369 lifts the letter to fw 600 so the chip now
|
|
3078
|
+
reads as the same two-tier pattern R362 closed
|
|
3079
|
+
on the working / online / active-links chips:
|
|
3080
|
+
chip digit/letter fw 600 (data)
|
|
3081
|
+
chip unit/count fw 500 (label)
|
|
3082
|
+
Sibling treatment to R362 — extends the R333-R341
|
|
3083
|
+
chip-internal-hierarchy arc to the vendor-letter
|
|
3084
|
+
chip surface (9th surface family). R354 transform-
|
|
3085
|
+
scale-on-hover + R88 canvas-dim-others + R202
|
|
3086
|
+
chip bg color-mix all preserved on the same span.
|
|
3087
|
+
data-vendor-letter-glyph-font-weight attr exposes
|
|
3088
|
+
the value for tests. */}
|
|
3089
|
+
<span
|
|
3090
|
+
data-vendor-letter-glyph={v.initial}
|
|
3091
|
+
data-vendor-letter-glyph-hover={hoveredVendor === v.initial ? 'true' : 'false'}
|
|
3092
|
+
data-vendor-letter-glyph-font-weight="600"
|
|
3093
|
+
style={{
|
|
3094
|
+
color: v.color,
|
|
3095
|
+
display: 'inline-block',
|
|
3096
|
+
fontWeight: 600,
|
|
3097
|
+
transform: hoveredVendor === v.initial ? 'scale(1.1)' : 'scale(1)',
|
|
3098
|
+
transformOrigin: 'center',
|
|
3099
|
+
transition: 'transform 200ms ease-out',
|
|
3100
|
+
}}
|
|
3101
|
+
>{v.initial}</span>
|
|
2806
3102
|
{/* Round 333 / Loop: vendor count suffix `:{N}` joins
|
|
2807
3103
|
the R317 subordinate-text-lift family (gray-500 →
|
|
2808
3104
|
gray-400) plus picks up tabular-nums for digit
|
|
@@ -2815,8 +3111,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2815
3111
|
reads it as "deliberate subordinate metadata"
|
|
2816
3112
|
rather than near-invisible chrome. data-vendor-
|
|
2817
3113
|
letter-count exposes the span for tests. */}
|
|
3114
|
+
{/* R417: count suffix opacity-70 + group-hover:
|
|
3115
|
+
opacity-100 brightens on chip hover. Inner-span
|
|
3116
|
+
hover-brighten family (3rd anchor) — sibling to
|
|
3117
|
+
R355 filter pill prefix/suffix and R414 chip-row
|
|
3118
|
+
unit. Effective shade at rest: text-gray-400 ×
|
|
3119
|
+
70 % alpha; on hover: full gray-400. The label-
|
|
3120
|
+
tier-vs-glyph differentiation persists on hover
|
|
3121
|
+
since the glyph (R369 fw=600) stays at full
|
|
3122
|
+
opacity. R333 :{count} format preserved. */}
|
|
2818
3123
|
<span
|
|
2819
|
-
className="text-gray-400 tabular-nums"
|
|
3124
|
+
className="text-gray-400 tabular-nums opacity-70 transition-opacity duration-200 group-hover:opacity-100"
|
|
2820
3125
|
data-vendor-letter-count-suffix
|
|
2821
3126
|
>:{v.count}</span>
|
|
2822
3127
|
</span>
|
|
@@ -2904,11 +3209,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2904
3209
|
(third chip in the row — matches working + online
|
|
2905
3210
|
chip treatment so all three digits in the chip row
|
|
2906
3211
|
stay width-stable across counter crossings). */
|
|
2907
|
-
|
|
3212
|
+
/* Round 399 / Loop: active-links chip closes the 3-chip
|
|
3213
|
+
chip-row by extending R398's hover translateY(-1px)
|
|
3214
|
+
lift onto the third (rightmost) chip. The R398 family
|
|
3215
|
+
already covered working + online chips on the
|
|
3216
|
+
clickable variant; R399 adds the same gate (isInter-
|
|
3217
|
+
active = flowLinks.length > 0) so empty active-links
|
|
3218
|
+
stays planted at R206's opacity-50 receded paint.
|
|
3219
|
+
transition-transform + ease-out + transform-gpu join
|
|
3220
|
+
the inline transition list (different property axes
|
|
3221
|
+
compose cleanly: inline handles color/bg/border/
|
|
3222
|
+
opacity, className handles transform).
|
|
3223
|
+
Gesture-vocabulary table (post-R399 — now complete
|
|
3224
|
+
across the chip-row):
|
|
3225
|
+
working chip -1 px (R398)
|
|
3226
|
+
online chip -1 px (R398)
|
|
3227
|
+
active-links chip -1 px (R399, this round)
|
|
3228
|
+
filter pin pills -1 px (R397)
|
|
3229
|
+
recent-signal row -1 px (R143)
|
|
3230
|
+
legend row -1 px (R144)
|
|
3231
|
+
Every interactive chip in TopoGraph lifts on hover.
|
|
3232
|
+
data-chip-hover-lift attr exposes the lift surface
|
|
3233
|
+
state ('true' clickable, 'false' empty) for tests. */
|
|
3234
|
+
// R414: `group` parent + inner unit span group-hover-brighten — see working chip above.
|
|
3235
|
+
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
3236
|
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'
|
|
3237
|
+
? '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
3238
|
: 'bg-gray-500/10 text-gray-400 border-gray-500/20'
|
|
2911
3239
|
}`}
|
|
3240
|
+
data-chip-hover-lift={isInteractive ? 'true' : 'false'}
|
|
3241
|
+
data-chip-group-hover-brighten="true"
|
|
2912
3242
|
data-active-links-chip
|
|
2913
3243
|
data-active-links-flow-count={flowLinks.length}
|
|
2914
3244
|
data-active-links-clickable={isInteractive ? 'true' : 'false'}
|
|
@@ -2936,7 +3266,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2936
3266
|
the 5th chip surface in the R333/R335/R336/R337
|
|
2937
3267
|
chip-internal-hierarchy arc. data-active-links-
|
|
2938
3268
|
chip-unit exposes the unit span for tests. */}
|
|
2939
|
-
{
|
|
3269
|
+
{/* R362 sibling — active-links chip digit gains font-semibold. */}
|
|
3270
|
+
<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
3271
|
{rel ? (() => {
|
|
2941
3272
|
// Round 161 / Loop: extend R160's recency-pip
|
|
2942
3273
|
// vocabulary up one scope — from per-flow row to
|
|
@@ -2961,8 +3292,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2961
3292
|
const alpha = ageSec <= 30
|
|
2962
3293
|
? 1
|
|
2963
3294
|
: ageSec <= 300
|
|
2964
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
2965
|
-
: 0.25
|
|
3295
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
3296
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
2966
3297
|
// Cyan dark / teal light to match palette legendAccent.
|
|
2967
3298
|
const dotColor = isLight
|
|
2968
3299
|
? `rgba(13, 148, 136, ${alpha.toFixed(2)})`
|
|
@@ -2979,7 +3310,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
2979
3310
|
// color: dotColor — the lift only affects the trailing
|
|
2980
3311
|
// literal "last {rel}" text.
|
|
2981
3312
|
return (
|
|
2982
|
-
|
|
3313
|
+
// Round 357 / Loop: active-links chip freshness
|
|
3314
|
+
// suffix wrapper picks up `tabular-nums` for digit
|
|
3315
|
+
// width-lock. Pre-R357 the literal "last {rel}"
|
|
3316
|
+
// text (e.g. "last 5s ago", "last 10s ago",
|
|
3317
|
+
// "last 1m ago") had natural-figure digits — the
|
|
3318
|
+
// freshness ticker updates every second, so the
|
|
3319
|
+
// 9→10 boundary on the seconds counter and the
|
|
3320
|
+
// 59→60s → 1m flip both jittered ~1-2 px of glyph
|
|
3321
|
+
// width which propagated through the chip-row's
|
|
3322
|
+
// inline-flex layout, nudging the freshness DOT
|
|
3323
|
+
// and the chip's left edge. Tabular-nums on the
|
|
3324
|
+
// wrapper applies to all descendant digits only
|
|
3325
|
+
// (letters render at natural widths) so the
|
|
3326
|
+
// ticker stays planted across every count cross.
|
|
3327
|
+
// Joins the R224-R232 info-density tabular-nums
|
|
3328
|
+
// sweep at the chip-row freshness scope. Pure
|
|
3329
|
+
// paint-level change, no geometry shift on rest.
|
|
3330
|
+
// The R342 text-gray-400 lift + R161 dot freshness
|
|
3331
|
+
// alpha ramp + R317 subordinate-text-lift family
|
|
3332
|
+
// all preserved. data-active-links-freshness-
|
|
3333
|
+
// wrapper attr exposes the wrapper for tests.
|
|
3334
|
+
<span className="text-gray-400 tabular-nums" data-active-links-freshness-wrapper>
|
|
2983
3335
|
<span
|
|
2984
3336
|
data-active-links-freshness-dot
|
|
2985
3337
|
data-active-links-freshness-alpha={alpha.toFixed(2)}
|
|
@@ -3106,6 +3458,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3106
3458
|
return `Agent network topology — ${parts.join(' · ')}. Tab to navigate nodes, double-click canvas to reset view.`;
|
|
3107
3459
|
})()}
|
|
3108
3460
|
data-topo-canvas-aria
|
|
3461
|
+
/* Round 462 / Loop — surface DASHBOARD_VERSION on the root SVG
|
|
3462
|
+
element as `data-dashboard-version`. Directly closes the
|
|
3463
|
+
feedback_dash_zombie_port_3000.md memory rule: "verify ships
|
|
3464
|
+
via SVG DOM, not tmux 'Ready' — zombie next-servers + stale
|
|
3465
|
+
global installs silently serve old code". Pre-R462 the only
|
|
3466
|
+
ways to know which preview the dash was serving were:
|
|
3467
|
+
1. parse the npm registry for the latest tag (network)
|
|
3468
|
+
2. fetch /api/dashboard/version (API surface, no DOM)
|
|
3469
|
+
3. inspect the /login footer or /settings page (off-route)
|
|
3470
|
+
Test scripts that probe TopoGraph DOM (overlap, group-label
|
|
3471
|
+
tint, pip strip, etc.) couldn't tell whether the dash was
|
|
3472
|
+
actually serving the build they expected to verify. R462
|
|
3473
|
+
threads DASHBOARD_VERSION through to the root <svg> so:
|
|
3474
|
+
- Playwright probes can read svg[data-dashboard-version]
|
|
3475
|
+
directly + fail-fast on stale-build mismatch
|
|
3476
|
+
- the memory rule's manual zombie check ("inspect SVG
|
|
3477
|
+
dom") becomes a one-attr probe
|
|
3478
|
+
- operators DOM-inspect to confirm the live version
|
|
3479
|
+
matches the npm tag without leaving the topology page
|
|
3480
|
+
Geometry/visual impact: ZERO (data-* attrs don't paint).
|
|
3481
|
+
The version string is build-time injected via the existing
|
|
3482
|
+
DASHBOARD_VERSION constant (R51 footer + R51 settings page
|
|
3483
|
+
already consume it from app/lib/version.ts → reads
|
|
3484
|
+
package.json pkg.version). No business logic added. */
|
|
3485
|
+
data-dashboard-version={DASHBOARD_VERSION}
|
|
3109
3486
|
onPointerDown={onPointerDown}
|
|
3110
3487
|
onPointerMove={onPointerMove}
|
|
3111
3488
|
onPointerUp={onPointerUp}
|
|
@@ -3643,19 +4020,174 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3643
4020
|
active surfaces the activity state for test probes
|
|
3644
4021
|
(active spokes don't carry the bucket/dur attrs so
|
|
3645
4022
|
they need their own data anchor). */
|
|
4023
|
+
// Round 382 / Loop: hub-spoke path picks up
|
|
4024
|
+
// strokeLinecap='round'. Sibling polish to R378 flow-
|
|
4025
|
+
// rail dashes + R380 group box dashes — three dashed-
|
|
4026
|
+
// stroke surfaces now share 'round' linecap:
|
|
4027
|
+
// R378 flow-rail '2 12' -> soft 3-px pills
|
|
4028
|
+
// R380 group box '6 6' -> soft 7.5-px pills
|
|
4029
|
+
// R382 hub spoke '6 14' -> soft 7-px pills (this round)
|
|
4030
|
+
// For idle spokes (dashed at sw=1), each 6-px dash gains
|
|
4031
|
+
// 0.5-px round caps and reads as a soft pill instead of
|
|
4032
|
+
// a sharp 6 x 1 rectangle. Active spokes (solid, no
|
|
4033
|
+
// dasharray) have caps mostly hidden by the hub center +
|
|
4034
|
+
// node radius. Geometry-safe; paint-only. R51 sentinel
|
|
4035
|
+
// strokeWidth 1.5/3 untouched (idle=1, active=2). data-
|
|
4036
|
+
// topo-hub-spoke-linecap attr exposes the value for tests.
|
|
4037
|
+
// Round 419 / Loop: hub-spoke idle opacity 0.45 → 0.50.
|
|
4038
|
+
// Stale-state legibility lift family 9th anchor — pairs
|
|
4039
|
+
// with R391 (active 0.7 → 0.8) and R415 (active sw 2 →
|
|
4040
|
+
// 2.25) so the same spoke path is now polished on BOTH
|
|
4041
|
+
// active AND idle tiers. Pre-R419 idle spokes painted
|
|
4042
|
+
// at α=0.45 with R46 anet-topo-spoke-flow dashed
|
|
4043
|
+
// animation; the dashed pulses sat at the "background
|
|
4044
|
+
// chatter" floor — visible but understated. R419
|
|
4045
|
+
// lifts to 0.50 so idle spokes read more confidently
|
|
4046
|
+
// while the active/idle contrast ratio stays clear
|
|
4047
|
+
// (0.8/0.50 = 1.6× vs prior 0.8/0.45 = 1.78×; still
|
|
4048
|
+
// a sharp two-tier distinction).
|
|
4049
|
+
// Stale-state legibility lift family (9 anchors now):
|
|
4050
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
4051
|
+
// R358 freshness floor 0.25 → 0.30
|
|
4052
|
+
// R372 minimap offline-dot 0.5 → 0.6
|
|
4053
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
4054
|
+
// R405 hub-halo light trough 0.32 → 0.34
|
|
4055
|
+
// R406 edge freshness floor 0.35 → 0.40
|
|
4056
|
+
// R407 node halo offline opacity (cyber + light)
|
|
4057
|
+
// R413 active-node pulse trough (cyber + light)
|
|
4058
|
+
// R419 hub-spoke idle opacity 0.45 → 0.50 (this round)
|
|
4059
|
+
// data-topo-hub-spoke-opacity attr (R391) updates to
|
|
4060
|
+
// surface the resolved per-state value.
|
|
4061
|
+
//
|
|
4062
|
+
// Round 415 / Loop: hub-spoke active strokeWidth 2 → 2.25.
|
|
4063
|
+
// Pairs with R391 (active opacity 0.7 → 0.8) so the same
|
|
4064
|
+
// active-state path lifts BOTH stroke weight AND opacity
|
|
4065
|
+
// in concert. Pre-R415 active strokes sat at sw=2 — clear
|
|
4066
|
+
// step over idle sw=1, but a touch lighter than the
|
|
4067
|
+
// weight family's other "active" indicators (R385 hub
|
|
4068
|
+
// hover-ring sw=1.75 / R402 legend pin-ring sw=1.75 /
|
|
4069
|
+
// R367 edge-badge rest sw=1.25). R415 bumps to 2.25 so
|
|
4070
|
+
// the active spoke reads with proportional weight to its
|
|
4071
|
+
// role — the line connecting the focal point to the
|
|
4072
|
+
// active node deserves the heaviest active stroke in the
|
|
4073
|
+
// family (after pin/hot edge-badge sw=2). Stays clear of
|
|
4074
|
+
// R51 sentinels (1.5 / 3) at 2.25.
|
|
4075
|
+
// Visual-weight bump family (14 anchors now):
|
|
4076
|
+
// R287 minimap viewport stroke 1 → 1.5
|
|
4077
|
+
// R295 legend swatch radius 5.5 → 6
|
|
4078
|
+
// R359 recent-row pip radius 1.6 → 1.8
|
|
4079
|
+
// R360 hub digit fontSize 11 → 12
|
|
4080
|
+
// R361 edge-badge digit fontSize 10 → 11
|
|
4081
|
+
// R365 hub-highlight radius 5 → 5.5
|
|
4082
|
+
// R367 edge-badge rest stroke 1 → 1.25
|
|
4083
|
+
// R374 pressure-bar height 1.5 → 2
|
|
4084
|
+
// R383 recent-row pip radius 1.8 → 2.0
|
|
4085
|
+
// R384 minimap online dot 1.7 → 1.9
|
|
4086
|
+
// R385 hub hover-ring stroke 1.5 → 1.75
|
|
4087
|
+
// R402 legend pin-ring stroke 1.5 → 1.75
|
|
4088
|
+
// R408 hub-halo radius 18 → 20
|
|
4089
|
+
// R415 hub-spoke active stroke 2 → 2.25 (this round)
|
|
4090
|
+
// R382 strokeLinecap='round' + R391 opacity 0.45/0.8 +
|
|
4091
|
+
// R51-safe idle sw=1 all preserved. 250ms transition
|
|
4092
|
+
// list already covers stroke-width — the new tier eases
|
|
4093
|
+
// naturally. data-topo-hub-spoke-stroke-width-active
|
|
4094
|
+
// attr surfaces the active value for tests.
|
|
4095
|
+
//
|
|
4096
|
+
// Round 391 / Loop: hub-spoke active opacity 0.7 → 0.8.
|
|
4097
|
+
// Pre-R391 active spokes (the spoke connecting the hub
|
|
4098
|
+
// to the currently-active alias — hovered or pinned)
|
|
4099
|
+
// lifted opacity from rest 0.45 to active 0.7 — a clear
|
|
4100
|
+
// step but slightly understated against the canvas
|
|
4101
|
+
// chrome. R391 lifts active to 0.8 so the "this spoke
|
|
4102
|
+
// connects to your active node" signal reads with
|
|
4103
|
+
// matching weight to the R370 hub hover-ring opacity
|
|
4104
|
+
// (0.7 → 0.8 cyber) — paired canvas signals now share
|
|
4105
|
+
// the same active-state alpha (0.8) so when a user
|
|
4106
|
+
// hovers a node, both the spoke and the hub-ring lift
|
|
4107
|
+
// to identical opacity. Rest 0.45 invariant preserved.
|
|
4108
|
+
// Theme-consistency / canvas-presence polish family
|
|
4109
|
+
// (6th anchor):
|
|
4110
|
+
// R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
4111
|
+
// R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
4112
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
4113
|
+
// R386 hub-highlight idle opacity 0.9 → 0.95
|
|
4114
|
+
// R387 hover-detail panel opacity 0.94 → 0.97 cyber
|
|
4115
|
+
// R391 hub-spoke active opacity 0.7 → 0.8 (this round)
|
|
4116
|
+
// Idle path (45% alpha + dashed flow animation) entirely
|
|
4117
|
+
// untouched — R391 is an active-state-only lift.
|
|
4118
|
+
// data-topo-hub-spoke-opacity attr exposes the resolved
|
|
4119
|
+
// value for tests. R382 strokeLinecap='round' + R51
|
|
4120
|
+
// sentinel-safe sw (1 idle / 2 active) preserved.
|
|
4121
|
+
/* Round 430 / Loop: hub-spoke opacity hover lift on
|
|
4122
|
+
hoveredAlias === session.alias. Adds a "this node's
|
|
4123
|
+
spoke" affordance to the node-hover gesture — in a
|
|
4124
|
+
dense ring layout the spokes are visually quiet
|
|
4125
|
+
(idle α=0.50 dashed, active α=0.80 solid) so hovering
|
|
4126
|
+
a node didn't telegraph which line connects to it.
|
|
4127
|
+
R430 lifts the matched spoke's opacity:
|
|
4128
|
+
idle 0.50 → 0.70 (hover-α=0.70, +0.20)
|
|
4129
|
+
active 0.80 → 0.95 (hover-α=0.95, +0.15)
|
|
4130
|
+
The +0.15-to-0.20 lift keeps the active/idle two-tier
|
|
4131
|
+
distinction (0.95 vs 0.70 still a clear gap) while
|
|
4132
|
+
making the hovered-node's spoke visibly brighter than
|
|
4133
|
+
every other spoke at its own activity tier. R241
|
|
4134
|
+
transition list already covers opacity 250ms so the
|
|
4135
|
+
lift eases for free. Sibling to R429 label-card body
|
|
4136
|
+
solidity lift — both surface a single-node-focused
|
|
4137
|
+
attention cue with the same easing cadence.
|
|
4138
|
+
Stacks with the 6-layer node hover cue stack at the
|
|
4139
|
+
inter-node-link scope:
|
|
4140
|
+
R26 group translateY -2px (per-node)
|
|
4141
|
+
R217 stroke tint legendAccent (per-node card)
|
|
4142
|
+
R142 drop-shadow boost (per-node card)
|
|
4143
|
+
R427 alias letter-spacing (per-node text)
|
|
4144
|
+
R428 sub-text letter-spacing (per-node text)
|
|
4145
|
+
R429 body opacity 0.94 → 1.0 (per-node card)
|
|
4146
|
+
R430 spoke opacity α+ (this round) (link to hub)
|
|
4147
|
+
data-topo-hub-spoke-hovered exposes the gate. */
|
|
4148
|
+
const isHoveredSpoke = !reducedMotion && hoveredAlias === session.alias;
|
|
4149
|
+
const spokeOpacity = isActiveSpoke
|
|
4150
|
+
? (isHoveredSpoke ? 0.95 : 0.80)
|
|
4151
|
+
: (isHoveredSpoke ? 0.70 : 0.50);
|
|
4152
|
+
/* Round 435 / Loop: hub-spoke stroke-width hover lift —
|
|
4153
|
+
sibling to R430 opacity hover at the same surface. When
|
|
4154
|
+
hoveredAlias matches, BOTH opacity AND stroke-width
|
|
4155
|
+
lift on the matched spoke so the eye registers a
|
|
4156
|
+
2-axis "this node's spoke" gesture (paint + geometry).
|
|
4157
|
+
idle 1.00 → 1.25 (Δ +0.25, +25%)
|
|
4158
|
+
active 2.25 → 2.50 (Δ +0.25, +11%)
|
|
4159
|
+
Same +0.25 absolute delta keeps the idle/active visual
|
|
4160
|
+
progression consistent — at rest sw ratio 2.25:1 = 2.25,
|
|
4161
|
+
on hover 2.50:1.25 = 2.0; both still clearly two-tier.
|
|
4162
|
+
R241 transition list already covers stroke-width 250ms
|
|
4163
|
+
so the lift eases for free.
|
|
4164
|
+
R51 sentinel-safe: spoke is canvas <path>, not
|
|
4165
|
+
data-node <circle> (the sentinel selector is gated to
|
|
4166
|
+
g[data-node] descendants). 1.25 and 2.5 are not in the
|
|
4167
|
+
reserved {1.5, 3} set so the overlap-test sentinel
|
|
4168
|
+
attribute selector wouldn't match either way. */
|
|
4169
|
+
const spokeStrokeWidth = isActiveSpoke
|
|
4170
|
+
? (isHoveredSpoke ? 2.5 : 2.25)
|
|
4171
|
+
: (isHoveredSpoke ? 1.25 : 1);
|
|
3646
4172
|
return (
|
|
3647
4173
|
<path
|
|
3648
4174
|
key={`hub-${session.alias}`}
|
|
3649
4175
|
d={path}
|
|
3650
4176
|
fill="none"
|
|
3651
4177
|
stroke={isActiveSpoke ? pal.spokeStroke.active : pal.spokeStroke.idle}
|
|
3652
|
-
strokeWidth={
|
|
4178
|
+
strokeWidth={spokeStrokeWidth}
|
|
3653
4179
|
strokeDasharray={isActiveSpoke ? 'none' : '6 14'}
|
|
3654
|
-
|
|
4180
|
+
strokeLinecap="round"
|
|
4181
|
+
opacity={spokeOpacity}
|
|
3655
4182
|
className={isActiveSpoke ? undefined : 'anet-topo-spoke-flow'}
|
|
3656
4183
|
data-topo-spoke-bucket={isActiveSpoke ? undefined : busy}
|
|
3657
4184
|
data-topo-spoke-dur={isActiveSpoke ? undefined : spokeDur}
|
|
3658
4185
|
data-topo-hub-spoke-active={isActiveSpoke ? 'true' : 'false'}
|
|
4186
|
+
data-topo-hub-spoke-hovered={isHoveredSpoke ? 'true' : 'false'}
|
|
4187
|
+
data-topo-hub-spoke-opacity={spokeOpacity}
|
|
4188
|
+
data-topo-hub-spoke-stroke-width={spokeStrokeWidth}
|
|
4189
|
+
data-topo-hub-spoke-stroke-width-active="2.25"
|
|
4190
|
+
data-topo-hub-spoke-linecap="round"
|
|
3659
4191
|
style={{
|
|
3660
4192
|
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
|
|
3661
4193
|
...(isActiveSpoke ? {} : {
|
|
@@ -3747,7 +4279,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3747
4279
|
stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
|
|
3748
4280
|
strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
|
|
3749
4281
|
strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
|
|
4282
|
+
/* Round 380 / Loop: cluster box stroke gets round
|
|
4283
|
+
linecap + round linejoin. Sibling SVG stroke-
|
|
4284
|
+
softening polish to R378 flow-rail linecap + R379
|
|
4285
|
+
minimap viewport linejoin — extends the family to
|
|
4286
|
+
the group cluster boundary box (grid layout only):
|
|
4287
|
+
R288 chrome icons strokeLinecap='round'
|
|
4288
|
+
R378 flow-rail dashes strokeLinecap='round'
|
|
4289
|
+
R380 group box dashes strokeLinecap='round' (this round)
|
|
4290
|
+
R379 viewport rect strokeLinejoin='round'
|
|
4291
|
+
R380 group box corners strokeLinejoin='round' (this round)
|
|
4292
|
+
Linecap rounds the R85 '6 6' marching-ants dash
|
|
4293
|
+
pills at rest — each 6 px dash gains a ~0.75 px
|
|
4294
|
+
round cap (sw=1.5 idle), reading as soft pills
|
|
4295
|
+
instead of sharp 6 × 1.5 px rectangles. Linejoin
|
|
4296
|
+
rounds the 4 sharp 90° corners (any state — solid
|
|
4297
|
+
or dashed); at sw=1.5 the join arc is ~0.75 px,
|
|
4298
|
+
matching R379 viewport vocabulary. Geometry-safe:
|
|
4299
|
+
stroke-* properties only affect paint, not bbox.
|
|
4300
|
+
The R51 sentinel 1.5/3 strokeWidth values stay
|
|
4301
|
+
intact (the overlap probe is gated to g[data-
|
|
4302
|
+
node], so this cluster-internal rect is invisible
|
|
4303
|
+
to it anyway). data-group-box-linecap + -linejoin
|
|
4304
|
+
attrs expose the values for tests. */
|
|
4305
|
+
strokeLinecap="round"
|
|
4306
|
+
strokeLinejoin="round"
|
|
3750
4307
|
data-group-box-pinned={isPinned ? 'true' : 'false'}
|
|
4308
|
+
data-group-box-linecap="round"
|
|
4309
|
+
data-group-box-linejoin="round"
|
|
4310
|
+
data-group-box-geom-transition="x,y,width,height"
|
|
3751
4311
|
// R85: ambient "marching ants" drift on the perimeter
|
|
3752
4312
|
// when this group has at least one working member, and
|
|
3753
4313
|
// neither pin nor hover is active (those treatments
|
|
@@ -3785,8 +4345,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3785
4345
|
while stroke / fill-opacity / filter all eased.
|
|
3786
4346
|
Closes the last theme-toggle snap on the group
|
|
3787
4347
|
box surface — same idiom R246 + R247 used at
|
|
3788
|
-
per-node label-card and side-panel scopes.
|
|
3789
|
-
|
|
4348
|
+
per-node label-card and side-panel scopes.
|
|
4349
|
+
Round 461 / Loop: extend the transition list to
|
|
4350
|
+
all 4 geometry axes (x, y, width, height) so
|
|
4351
|
+
when a cluster grows / shrinks (member joins,
|
|
4352
|
+
leaves, prefix rebalance, dense toggle, status
|
|
4353
|
+
flip) the BIG outer container slides into the
|
|
4354
|
+
new bounds at the same 200ms cadence the R460
|
|
4355
|
+
inner hitbox tint rect now uses. Pre-R461 the
|
|
4356
|
+
outer 200×140 px box snap-jumped on cluster
|
|
4357
|
+
resize while the inner 160×18 hitbox slid —
|
|
4358
|
+
jarring two-rate motion at the same surface.
|
|
4359
|
+
R461 unifies both rects to slide as one, with
|
|
4360
|
+
the parent box driving the visual envelope and
|
|
4361
|
+
the inner hitbox tracking the bottom-edge tint.
|
|
4362
|
+
Hero D #147 motion-coherence at the FULL cluster
|
|
4363
|
+
container tier (not just the label tint).
|
|
4364
|
+
data-group-box-geom-transition attr exposed. */
|
|
4365
|
+
transition: 'stroke 200ms ease-out, stroke-width 200ms ease-out, fill-opacity 200ms ease-out, filter 200ms ease-out, fill 200ms ease-out, x 200ms ease-out, y 200ms ease-out, width 200ms ease-out, height 200ms ease-out',
|
|
3790
4366
|
pointerEvents: 'none',
|
|
3791
4367
|
// CSS var consumed by `.anet-topo-groupbox-live`
|
|
3792
4368
|
// (line 877 of globals.css). React's CSSProperties
|
|
@@ -3864,27 +4440,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3864
4440
|
].filter(Boolean).join('\n')}</title>
|
|
3865
4441
|
);
|
|
3866
4442
|
})()}
|
|
4443
|
+
{/* v0.11.0 #147 Hero D — Vincent 5401: "太大太丑,
|
|
4444
|
+
都放到框的右下角的小字". First-cut bottom-right
|
|
4445
|
+
placement collided with bottom-row nodes (cluster
|
|
4446
|
+
geometry has no bottom padding; only GROUP_TOP=12
|
|
4447
|
+
top band). Pivoted to Option C from #147 spec:
|
|
4448
|
+
keep top-left anchor BUT shrink fontSize (13 → 9)
|
|
4449
|
+
and dim default opacity (1 → 0.55, hover/pin
|
|
4450
|
+
restore to 1). Satisfies "太大太丑" via the size +
|
|
4451
|
+
opacity axes while keeping the existing geometry
|
|
4452
|
+
contract that topo-overlap-test gates. Hitbox
|
|
4453
|
+
rect width tightens to min(box.w-12, 160) to
|
|
4454
|
+
track the narrower label render. */}
|
|
3867
4455
|
<rect
|
|
3868
4456
|
x={box.x + 6}
|
|
3869
4457
|
y={box.y + 2}
|
|
3870
|
-
width={Math.min(box.w - 12,
|
|
3871
|
-
height={
|
|
4458
|
+
width={Math.min(box.w - 12, 160)}
|
|
4459
|
+
height={18}
|
|
3872
4460
|
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
4461
|
fill={pinnedGroup === box.key || hoveredGroupLabel === box.key ? pal.legendAccent : 'transparent'}
|
|
3883
4462
|
opacity={pinnedGroup === box.key ? (isLight ? 0.16 : 0.20)
|
|
3884
4463
|
: hoveredGroupLabel === box.key ? (isLight ? 0.09 : 0.13)
|
|
3885
4464
|
: 1}
|
|
3886
4465
|
data-group-label-tinted={pinnedGroup === box.key ? 'pinned' : hoveredGroupLabel === box.key ? 'hover' : 'none'}
|
|
3887
|
-
|
|
4466
|
+
/* Round 459 / Loop — cadence-sync follow-on to codex
|
|
4467
|
+
preview.125 (Hero D #147). Codex's parent <text>
|
|
4468
|
+
transition list now reads:
|
|
4469
|
+
'fill 200ms, letter-spacing 200ms,
|
|
4470
|
+
font-weight 200ms, opacity 200ms'
|
|
4471
|
+
— 200ms ease-out across every axis. The label
|
|
4472
|
+
hitbox tint rect underneath was still at 150ms
|
|
4473
|
+
(legacy R107 cadence), so the tint snapped in
|
|
4474
|
+
50ms ahead of the parent label brightening —
|
|
4475
|
+
a small but perceivable mistimed cascade when
|
|
4476
|
+
hovering or clicking to pin a cluster. R459
|
|
4477
|
+
lifts both axes to 200ms to lock the tint
|
|
4478
|
+
under the label as one motion-coherent state
|
|
4479
|
+
flip. Hover/pin/unpin all feel as a single
|
|
4480
|
+
unified ease rather than "tint pops, label
|
|
4481
|
+
follows". data-group-label-tint-transition
|
|
4482
|
+
attr exposes the timing for tests. */
|
|
4483
|
+
/* Round 460 / Loop — extend the R459-200ms tint rect
|
|
4484
|
+
transition list to include `x` + `width` so the
|
|
4485
|
+
hitbox slides into place when a cluster grows or
|
|
4486
|
+
shrinks (member joins / leaves / status change
|
|
4487
|
+
re-pricing box.w). Pre-R460 every resize snap-
|
|
4488
|
+
jumped the hitbox bounds — a small but visible
|
|
4489
|
+
glitch right at the moment the operator's
|
|
4490
|
+
attention is on the cluster. SVG2 CSS animation
|
|
4491
|
+
on geometry attrs has shipped in Chrome 95+ /
|
|
4492
|
+
Safari 16+ / FF 70+; the runtime gracefully
|
|
4493
|
+
no-ops on older browsers. Sibling motion idiom
|
|
4494
|
+
to R134 / R141 / R142 (panel rect transitions)
|
|
4495
|
+
at the group-label hitbox tier.
|
|
4496
|
+
data-group-label-tint-geom-transition attr
|
|
4497
|
+
exposes the geometry-axis presence for tests. */
|
|
4498
|
+
data-group-label-tint-transition="200ms"
|
|
4499
|
+
data-group-label-tint-geom-transition="x,width"
|
|
4500
|
+
style={{ transition: 'fill 200ms ease-out, opacity 200ms ease-out, x 200ms ease-out, width 200ms ease-out' }}
|
|
3888
4501
|
/>
|
|
3889
4502
|
{/* Round 218 / Loop: group label gains a letter-spacing
|
|
3890
4503
|
transition on pin — the text subtly spaces out
|
|
@@ -3904,16 +4517,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3904
4517
|
matches R142 fill timing so all the group-label
|
|
3905
4518
|
state-flip channels (fill colour, rect stroke,
|
|
3906
4519
|
rect drop-shadow, label tracking) ease as one. */}
|
|
4520
|
+
{/* Round 432 / Loop: extend the group-label letter-
|
|
4521
|
+
spacing tween from 2-tier (rest/pin) to 3-tier
|
|
4522
|
+
(rest/hover/pin → 0/0.25/0.5). Pre-R432 R218
|
|
4523
|
+
spread the text only on pin; hover got an
|
|
4524
|
+
R63 fill brighten (legendText → legendHeadline)
|
|
4525
|
+
but no typographic axis of its own. R432 adds
|
|
4526
|
+
the missing mid tier so hover telegraphs through
|
|
4527
|
+
BOTH the fill brighten AND a subtle kerning
|
|
4528
|
+
spread — sibling pattern to R427 node-alias
|
|
4529
|
+
(0/0.3/0.5) and R431 edge-badge (0/0.2/0.4) at
|
|
4530
|
+
group-label scope. Pin tier (0.5) still wins.
|
|
4531
|
+
Subtler mid tier (0.25 vs alias 0.3) because the
|
|
4532
|
+
group label is a structural anchor — too much
|
|
4533
|
+
spread would steal weight from the per-node
|
|
4534
|
+
alias identity it groups. Hover-letter-spacing
|
|
4535
|
+
family extension (8 anchors now):
|
|
4536
|
+
R344 chip count digit
|
|
4537
|
+
R345 panel title
|
|
4538
|
+
R347 active-links chip
|
|
4539
|
+
R351 vendor chip
|
|
4540
|
+
R420 zoom-level chip
|
|
4541
|
+
R427 node alias text
|
|
4542
|
+
R431 edge-badge digit
|
|
4543
|
+
R432 group label text (this round)
|
|
4544
|
+
R218 transition list ('fill 200ms, letter-spacing
|
|
4545
|
+
200ms') untouched — additive conditional case. */}
|
|
4546
|
+
{/* Round 457 / Loop: group label parent text fontWeight
|
|
4547
|
+
700 → 800 on isPinned. Adds typographic weight axis
|
|
4548
|
+
to the group-label parent text, sibling to R432
|
|
4549
|
+
letter-spacing tween at the same surface. Pre-R457
|
|
4550
|
+
pin lifted ls 0 → 0.5px (R218→R432 3-tier) but the
|
|
4551
|
+
fw stayed planted at R63's 700 — locked groups
|
|
4552
|
+
read as wider-but-same-weight. R457 adds the
|
|
4553
|
+
weight axis so pinned groups read as tightened
|
|
4554
|
+
AND wider, matching the R416/R424/R425/R426/R444/
|
|
4555
|
+
R445/R446 "data tightens under attention" idiom
|
|
4556
|
+
(now extended to the parent-text scope at the
|
|
4557
|
+
group-label tier). R63 fill brighten + R432
|
|
4558
|
+
letter-spacing 0/0.25/0.5 3-tier + R55 transition
|
|
4559
|
+
list all preserved; extends to include 'font-
|
|
4560
|
+
weight 200ms ease-out' so the bump eases under
|
|
4561
|
+
the same cadence. */}
|
|
4562
|
+
{/* v0.11.0 #147 Hero D — Vincent 5401 ask: "dash 网络
|
|
4563
|
+
图里面这个工程的名字也太大了, 超级丑". Per Vincent
|
|
4564
|
+
screenshot 实测. Initial attempt moved label to
|
|
4565
|
+
bottom-right (#147 spec Option A); topo-overlap-test
|
|
4566
|
+
caught 7 grid collisions because cluster boxes have
|
|
4567
|
+
no bottom padding. Pivot to Option C: keep top-left
|
|
4568
|
+
anchor, shrink fontSize 13 → 9 (-31%, watermark
|
|
4569
|
+
register), dim default opacity 1 → 0.55 (hover/pin
|
|
4570
|
+
restore to 1). Net Twitter-grok improvement:
|
|
4571
|
+
cluster labels no longer dominate the canvas at
|
|
4572
|
+
rest; operator still hovers to find specific groups.
|
|
4573
|
+
Position unchanged to preserve the existing
|
|
4574
|
+
geometry that overlap-test gates. */}
|
|
3907
4575
|
<text
|
|
3908
4576
|
x={box.x + 12}
|
|
3909
|
-
y={box.y +
|
|
4577
|
+
y={box.y + 12}
|
|
3910
4578
|
fill={isHovered ? pal.legendHeadline : pal.legendText}
|
|
3911
|
-
fontSize="
|
|
4579
|
+
fontSize="9"
|
|
3912
4580
|
fontFamily="monospace"
|
|
3913
|
-
fontWeight=
|
|
4581
|
+
fontWeight={isPinned ? '800' : '700'}
|
|
4582
|
+
opacity={isPinned || isHovered ? 1 : 0.55}
|
|
4583
|
+
data-group-label-hovered={isHovered && !isPinned ? 'true' : 'false'}
|
|
4584
|
+
data-group-label-font-weight={isPinned ? '800' : '700'}
|
|
3914
4585
|
style={{
|
|
3915
|
-
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
|
|
3916
|
-
letterSpacing: isPinned ? '0.5px' :
|
|
4586
|
+
transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, opacity 200ms ease-out',
|
|
4587
|
+
letterSpacing: isPinned ? '0.5px' :
|
|
4588
|
+
isHovered ? '0.25px' : '0px',
|
|
3917
4589
|
}}
|
|
3918
4590
|
data-group-label={box.key}
|
|
3919
4591
|
data-group-label-pinned={isPinned ? 'true' : 'false'}
|
|
@@ -3947,13 +4619,67 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
3947
4619
|
lives at a fixed dx=6 offset from the name, so a
|
|
3948
4620
|
digit-width jitter at 9→10 used to shift the
|
|
3949
4621
|
whole count visibly. Tabular locks it. */}
|
|
4622
|
+
{/* Round 366 / Loop: group label member-count tspan
|
|
4623
|
+
fontWeight 400 → 500. Sibling polish to R363
|
|
4624
|
+
recent-row alias text fw 400 → 500 + R364 legend-
|
|
4625
|
+
row label fw 400 → 500 — closes the per-row 'count
|
|
4626
|
+
is fw 500 against label-tier fw 700' pattern at
|
|
4627
|
+
the group-label scope (grid layout cluster mark).
|
|
4628
|
+
Hierarchy snapshot post-R366 across all 3 row
|
|
4629
|
+
surfaces:
|
|
4630
|
+
recent count(hot/cold) fw 700/600 (R320)
|
|
4631
|
+
recent alias fw 500 (R363)
|
|
4632
|
+
legend count fw 600 (R309)
|
|
4633
|
+
legend label fw 500 (R364)
|
|
4634
|
+
group name fw 700 (legacy)
|
|
4635
|
+
group count fw 500 (R366, this round)
|
|
4636
|
+
Monospace family + R225 tabular-nums lock digit
|
|
4637
|
+
width, so the fw bump is paint-only — bbox
|
|
4638
|
+
unchanged + overlap-test invariants hold. R229
|
|
4639
|
+
fill-inherit from parent label (hover-deepen-own-
|
|
4640
|
+
hue family) preserved. data-group-label-count-
|
|
4641
|
+
font-weight attr exposes the value for tests. */}
|
|
4642
|
+
{/* Round 444 / Loop: group label count tspan
|
|
4643
|
+
fontWeight 500 → 600 on isPinned. Extends the
|
|
4644
|
+
"data tightens under attention" typographic-
|
|
4645
|
+
weight pattern to a 5th anchor at the group-
|
|
4646
|
+
label-count scope:
|
|
4647
|
+
R416 chip-digit (chip hover)
|
|
4648
|
+
R424 panel-digit (panel hover)
|
|
4649
|
+
R425 hub-digit (hub hover)
|
|
4650
|
+
R426 edge-badge-digit (pin/hot)
|
|
4651
|
+
R444 group-label-count (pinned) ← this round
|
|
4652
|
+
Same idiom — when the group is locked, its
|
|
4653
|
+
member-count tightens typographically alongside
|
|
4654
|
+
the R432 letter-spacing spread (0 → 0.5px) on
|
|
4655
|
+
the parent label. Hover keeps rest fw (500) so
|
|
4656
|
+
the locked vs preview distinction at the type
|
|
4657
|
+
level stays intact — same gate R432 used.
|
|
4658
|
+
Monospace + R225 tabular-nums lock the digit
|
|
4659
|
+
width across fw changes; bbox unchanged; overlap-
|
|
4660
|
+
test invariants hold. transition list adds
|
|
4661
|
+
'font-weight 200ms ease-out' matching R432
|
|
4662
|
+
letter-spacing cadence. R229 fill-inherit
|
|
4663
|
+
preserved (parent text fill still drives the
|
|
4664
|
+
hover/pin color). data-group-label-count-font-
|
|
4665
|
+
weight + -pinned attrs exposed for tests. */}
|
|
4666
|
+
{/* v0.11.0 #147 — count tspan tracks parent fontSize:
|
|
4667
|
+
11 → 8 to match the new 9px label scale (parent
|
|
4668
|
+
dropped 13 → 9 with same -2px gap to the count
|
|
4669
|
+
suffix). dx="4" replaces dx="6" — the smaller
|
|
4670
|
+
glyph baseline doesn't need the wider gutter. */}
|
|
3950
4671
|
<tspan
|
|
3951
|
-
dx="
|
|
3952
|
-
fontSize="
|
|
3953
|
-
fontWeight=
|
|
4672
|
+
dx="4"
|
|
4673
|
+
fontSize="8"
|
|
4674
|
+
fontWeight={isPinned ? '600' : '500'}
|
|
3954
4675
|
data-group-label-count={box.key}
|
|
3955
4676
|
data-group-label-count-value={box.count}
|
|
3956
|
-
|
|
4677
|
+
data-group-label-count-pinned={isPinned ? 'true' : 'false'}
|
|
4678
|
+
data-group-label-count-font-weight={isPinned ? '600' : '500'}
|
|
4679
|
+
style={{
|
|
4680
|
+
fontVariantNumeric: 'tabular-nums',
|
|
4681
|
+
transition: 'font-weight 200ms ease-out',
|
|
4682
|
+
}}
|
|
3957
4683
|
>· {box.count}</tspan>
|
|
3958
4684
|
{/* Round 58 / Loop: status mix pip strip. Compact text-
|
|
3959
4685
|
based chips (e.g. "2w 1i") so the strip stays inside
|
|
@@ -4010,11 +4736,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4010
4736
|
breakdown. Multi-tier groups (e.g. `alpha · 3
|
|
4011
4737
|
2w 1i`) render unchanged — those pips genuinely
|
|
4012
4738
|
add breakdown info that the total doesn't carry. */}
|
|
4739
|
+
{/* Round 458 / Loop — Hero D #147 finishing polish on top of
|
|
4740
|
+
N站牛/codex preview.125 (Option C: top-left label fontSize
|
|
4741
|
+
13→9 + opacity 0.55 rest / 1 hover+pin, count tspan 11→8).
|
|
4742
|
+
That ship left the 3 status pips at fontSize=11 — visibly
|
|
4743
|
+
DOMINATING the now-9px parent label they trail. Result on
|
|
4744
|
+
a 5-member cluster: `alpha · 5 3w 2i` renders inside-out
|
|
4745
|
+
as "tiny name + tiny count + BIG bright pips" rather than
|
|
4746
|
+
a coherent right-tail of metadata. R458 scales the 3 pips
|
|
4747
|
+
to fontSize=8 (matches count tspan) and tightens dx 8/4/4
|
|
4748
|
+
→ 6/3/3 (gutter ratio 0.73/0.36 glyph-widths @ 11px ≈
|
|
4749
|
+
0.75/0.38 glyph-widths @ 8px — same visual rhythm at the
|
|
4750
|
+
smaller scale). The whole group-label bottom-right strip
|
|
4751
|
+
now reads as a unified 9/8/8/8 typographic ladder:
|
|
4752
|
+
name (parent <text>) fontSize 9 fw 700/800
|
|
4753
|
+
· count (1st tspan) fontSize 8 fw 500/600
|
|
4754
|
+
Nw (2nd tspan) fontSize 8 fw 600
|
|
4755
|
+
Ni (3rd tspan) fontSize 8 fw 600
|
|
4756
|
+
No (4th tspan) fontSize 8 fw 600
|
|
4757
|
+
Closes Vincent /goal 5401 ("太大太丑") at the pip-strip
|
|
4758
|
+
tier; with codex preview.125 the spec is fully realized.
|
|
4759
|
+
Geometry-only attribute changes — bbox tightens slightly
|
|
4760
|
+
(8px chars vs 11px chars stay inside the original 240px
|
|
4761
|
+
hitbox max) so topo-overlap-test invariants hold.
|
|
4762
|
+
tabular-nums + anet-fade-in + theme-eased fill 200ms
|
|
4763
|
+
preserved on every tspan. */}
|
|
4013
4764
|
{box.statuses.working > 0 && box.statuses.working !== box.count && (
|
|
4014
4765
|
<tspan
|
|
4015
|
-
dx="
|
|
4766
|
+
dx="6"
|
|
4016
4767
|
fill={isLight ? '#059669' : '#22c55e'}
|
|
4017
|
-
fontSize="
|
|
4768
|
+
fontSize="8"
|
|
4018
4769
|
fontWeight="600"
|
|
4019
4770
|
className="anet-fade-in"
|
|
4020
4771
|
data-group-pip="working"
|
|
@@ -4023,9 +4774,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4023
4774
|
)}
|
|
4024
4775
|
{box.statuses.idle > 0 && box.statuses.idle !== box.count && (
|
|
4025
4776
|
<tspan
|
|
4026
|
-
dx="
|
|
4777
|
+
dx="3"
|
|
4027
4778
|
fill={isLight ? '#0d9488' : '#2dd4bf'}
|
|
4028
|
-
fontSize="
|
|
4779
|
+
fontSize="8"
|
|
4029
4780
|
fontWeight="600"
|
|
4030
4781
|
className="anet-fade-in"
|
|
4031
4782
|
data-group-pip="idle"
|
|
@@ -4034,9 +4785,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4034
4785
|
)}
|
|
4035
4786
|
{box.statuses.offline > 0 && box.statuses.offline !== box.count && (
|
|
4036
4787
|
<tspan
|
|
4037
|
-
dx="
|
|
4788
|
+
dx="3"
|
|
4038
4789
|
fill={isLight ? '#94a3b8' : '#6b7280'}
|
|
4039
|
-
fontSize="
|
|
4790
|
+
fontSize="8"
|
|
4040
4791
|
fontWeight="600"
|
|
4041
4792
|
className="anet-fade-in"
|
|
4042
4793
|
data-group-pip="offline"
|
|
@@ -4083,13 +4834,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4083
4834
|
// synchronised per-edge animation set.
|
|
4084
4835
|
const stagger = (index * 0.37) % duration;
|
|
4085
4836
|
// 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
|
|
4837
|
+
// stays at full intensity; over 5 minutes it decays to a
|
|
4838
|
+
// floor. Surfaces "what's happening now" vs background
|
|
4839
|
+
// chatter without hiding old flow entirely (some context
|
|
4840
|
+
// still useful). `now` captured at useMemo-recompute time
|
|
4841
|
+
// (every 5s message refresh) — accuracy is within the poll
|
|
4842
|
+
// interval, plenty.
|
|
4843
|
+
//
|
|
4844
|
+
// Round 406 / Loop: edge freshness fade floor 0.35 → 0.40.
|
|
4845
|
+
// Stale-state legibility lift family (6th anchor) — pre-
|
|
4846
|
+
// R406 edges older than 5 minutes faded to α=0.35 (a 65 %
|
|
4847
|
+
// dim against full intensity). The decay rate is the same
|
|
4848
|
+
// 1 - ageMs/300s curve; only the FLOOR shifts. Sibling
|
|
4849
|
+
// treatment to:
|
|
4850
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
4851
|
+
// R358 freshness ramp floor 0.25 → 0.30
|
|
4852
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
4853
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
4854
|
+
// R405 hub-halo light trough 0.32 → 0.34
|
|
4855
|
+
// R406 edge freshness floor 0.35 → 0.40 (this round)
|
|
4856
|
+
// Edges past 5min now sit at 40% intensity instead of 35%
|
|
4857
|
+
// — they still recede against fresh edges but read
|
|
4858
|
+
// legibly enough to convey "this conversation existed".
|
|
4859
|
+
// ageMs threshold for the 5-minute decay unchanged; the
|
|
4860
|
+
// decay curve shape (linear) unchanged. The visual delta
|
|
4861
|
+
// is most pronounced on edges between 5-60 minutes old —
|
|
4862
|
+
// where the floor was binding pre-R406.
|
|
4091
4863
|
const ageMs = link.last_at ? Math.max(0, Date.now() - Date.parse(link.last_at)) : 0;
|
|
4092
|
-
const fresh = Math.max(0.
|
|
4864
|
+
const fresh = Math.max(0.40, 1 - ageMs / (5 * 60 * 1000));
|
|
4093
4865
|
// Round 16 arrow-tier binning — keep `topo-arrow` as the
|
|
4094
4866
|
// medium tier id so the legend swatch picks it up unchanged.
|
|
4095
4867
|
const arrowId = link.count <= 2 ? 'topo-arrow-s'
|
|
@@ -4154,7 +4926,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4154
4926
|
// tracks it even at low message counts (width was 3 → 4.5 on
|
|
4155
4927
|
// hover). 1.4× is enough to read as "lifted" without
|
|
4156
4928
|
// breaching the 16-px hitbox bound.
|
|
4157
|
-
|
|
4929
|
+
// Round 436 / Loop: extend the thickening to the
|
|
4930
|
+
// "hovered-endpoint" case — when hoveredAlias matches one
|
|
4931
|
+
// of this edge's endpoints, lift width by 1.15× (capped at
|
|
4932
|
+
// 8 px to stay clear of the 16-px hitbox). Pre-R436 the
|
|
4933
|
+
// edgeOpacityMul=1.7 (line 4703) lifted the matched edge's
|
|
4934
|
+
// OPACITY when an endpoint was hovered but the stroke-WIDTH
|
|
4935
|
+
// stayed at base — so the edge faded brighter without
|
|
4936
|
+
// thickening, leaving the paint+geometry axes mismatched.
|
|
4937
|
+
// Mirror of R430/R435 hub-spoke pattern (opacity + stroke-
|
|
4938
|
+
// width co-lift on hoveredAlias); R436 brings the same
|
|
4939
|
+
// dual-axis "this node's link" gesture to the edge scope.
|
|
4940
|
+
// 1.15× is subtler than isHoveredEdge=1.4× because
|
|
4941
|
+
// endpoint-hover lifts MANY edges at once (every edge
|
|
4942
|
+
// incident on the hovered node) while edge-hover lifts ONE
|
|
4943
|
+
// — the gesture should read as "highlighted" not "loud".
|
|
4944
|
+
// R166 stroke-width 300ms transition already in the
|
|
4945
|
+
// visible-path style list so the lift eases for free.
|
|
4946
|
+
const isEndpointHoveredEdge = !!hoveredAlias && (link.from === hoveredAlias || link.to === hoveredAlias);
|
|
4947
|
+
const renderWidth = isHoveredEdge ? Math.min(width * 1.4, 10)
|
|
4948
|
+
: isEndpointHoveredEdge ? Math.min(width * 1.15, 8)
|
|
4949
|
+
: width;
|
|
4158
4950
|
return (
|
|
4159
4951
|
<g
|
|
4160
4952
|
key={link.key}
|
|
@@ -4241,30 +5033,89 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4241
5033
|
online chips to splice in additional properties
|
|
4242
5034
|
beside Tailwind's). data-edge-flow-rail attr
|
|
4243
5035
|
surfaces the path for test introspection. */}
|
|
5036
|
+
{/* Round 381 / Loop: edge visible flow path picks up
|
|
5037
|
+
strokeLinecap='round'. Sibling polish to R378
|
|
5038
|
+
flow-rail dashed linecap — both flow-element paths
|
|
5039
|
+
(visible primary + dashed secondary rail) now share
|
|
5040
|
+
'round' linecap vocabulary. The visible path runs
|
|
5041
|
+
source-node → dest-node as one continuous line, so
|
|
5042
|
+
the dest-end is covered by the markerEnd arrow and
|
|
5043
|
+
the source-end usually sits inside the source-node
|
|
5044
|
+
circle. At certain alignments (post-zoom, post-
|
|
5045
|
+
layout-switch transitions), the source-end may peek
|
|
5046
|
+
out by a fraction of a px past the node edge —
|
|
5047
|
+
round caps render that overshoot as a smooth half-
|
|
5048
|
+
disc instead of a sharp rectangle. Pure paint
|
|
5049
|
+
refinement, geometry-safe (bbox of the stroke
|
|
5050
|
+
unchanged at the join with the arrow marker).
|
|
5051
|
+
data-edge-visible-linecap attr exposes the value
|
|
5052
|
+
for tests. */}
|
|
4244
5053
|
<path
|
|
4245
5054
|
d={path}
|
|
4246
5055
|
fill="none"
|
|
4247
5056
|
stroke={pal.flowEdge}
|
|
4248
5057
|
strokeWidth={renderWidth}
|
|
5058
|
+
strokeLinecap="round"
|
|
4249
5059
|
opacity={Math.min(1, (isLight ? 0.22 : 0.28) * fresh * edgeOpacityMul)}
|
|
4250
5060
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4251
5061
|
markerEnd={`url(#${arrowId})`}
|
|
4252
5062
|
data-edge-visible={link.key}
|
|
5063
|
+
data-edge-visible-linecap="round"
|
|
5064
|
+
data-edge-visible-endpoint-hovered={isEndpointHoveredEdge ? 'true' : 'false'}
|
|
5065
|
+
data-edge-visible-stroke-width={renderWidth}
|
|
4253
5066
|
style={{
|
|
4254
5067
|
pointerEvents: 'none',
|
|
4255
5068
|
transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
|
|
4256
5069
|
}}
|
|
4257
5070
|
/>
|
|
5071
|
+
{/* Round 378 / Loop: edge flow-path dashed-rail picks
|
|
5072
|
+
up strokeLinecap='round'. Pre-R378 the rail
|
|
5073
|
+
rendered '2 12' dashes as sharp 1×2 rectangles
|
|
5074
|
+
against the canvas backdrop; default 'butt' caps
|
|
5075
|
+
leave dash ends square. R378 rounds each cap so
|
|
5076
|
+
the dashes read as soft 3-px pills (1 px stroke +
|
|
5077
|
+
0.5 px round cap each end). The flow-rail is the
|
|
5078
|
+
secondary 'invisible-spine' line that gives the
|
|
5079
|
+
R57 spoke flow a directional rail to slide along
|
|
5080
|
+
— rounding the dashes softens its presence
|
|
5081
|
+
against the primary visible flow path (R245 has
|
|
5082
|
+
no strokeLinecap so it inherits 'butt' on a
|
|
5083
|
+
continuous line, irrelevant). Geometry-safe:
|
|
5084
|
+
round caps only widen the visible dash; the
|
|
5085
|
+
bbox of the path is unchanged so overlap-test
|
|
5086
|
+
invariants hold. data-edge-flow-rail-linecap
|
|
5087
|
+
attr exposes the value for tests. */}
|
|
4258
5088
|
<path
|
|
4259
5089
|
id={`flow-path-${index}`}
|
|
4260
5090
|
d={path}
|
|
4261
5091
|
fill="none"
|
|
4262
5092
|
stroke={pal.flowPath}
|
|
4263
|
-
strokeWidth
|
|
5093
|
+
/* Round 437 / Loop: flow-rail strokeWidth hover lift —
|
|
5094
|
+
1 → 1.5 on (isHoveredEdge || isEndpointHoveredEdge).
|
|
5095
|
+
Pre-R437 the dashed rail sat at sw=1 always while the
|
|
5096
|
+
visible flow path above it lifted (R50 ×1.4 on
|
|
5097
|
+
isHoveredEdge / R436 ×1.15 on isEndpointHoveredEdge).
|
|
5098
|
+
The two edge paint layers were mismatched on hover:
|
|
5099
|
+
top layer thickened, underline stayed thin — so the
|
|
5100
|
+
hover gesture lifted only half the edge surface.
|
|
5101
|
+
R437 lifts the underline too so the whole edge
|
|
5102
|
+
reads as "raised" on hover, not just its bright
|
|
5103
|
+
top stripe. Same +0.5 absolute delta R435 used at
|
|
5104
|
+
hub-spoke scope (1→1.25 there, slightly bigger
|
|
5105
|
+
here because the rail's base 1 is at the kerning
|
|
5106
|
+
floor and needs more lift to register).
|
|
5107
|
+
Transition list extends to include stroke-width
|
|
5108
|
+
300ms so the new lift eases under the same R166
|
|
5109
|
+
cadence as the visible path's stroke-width. */
|
|
5110
|
+
strokeWidth={(isHoveredEdge || isEndpointHoveredEdge) ? 1.5 : 1}
|
|
4264
5111
|
strokeDasharray="2 12"
|
|
5112
|
+
strokeLinecap="round"
|
|
4265
5113
|
opacity={Math.min(1, (isLight ? 0.4 : 0.75) * fresh * edgeOpacityMul)}
|
|
4266
5114
|
data-edge-flow-rail={link.key}
|
|
4267
|
-
|
|
5115
|
+
data-edge-flow-rail-linecap="round"
|
|
5116
|
+
data-edge-flow-rail-stroke-width={(isHoveredEdge || isEndpointHoveredEdge) ? 1.5 : 1}
|
|
5117
|
+
data-edge-flow-rail-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5118
|
+
style={{ transition: 'opacity 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out' }}
|
|
4268
5119
|
/>
|
|
4269
5120
|
{!reducedMotion && (
|
|
4270
5121
|
/* Round 103 / Loop: phase-stagger the particles so
|
|
@@ -4279,25 +5130,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4279
5130
|
multiple). Edge order is stable (sorted by recent
|
|
4280
5131
|
activity), so the offsets feel calm rather than
|
|
4281
5132
|
reshuffling each refresh. */
|
|
5133
|
+
/* Round 422 / Loop: edge flow particle radius 4 → 4.5.
|
|
5134
|
+
Visual-weight bump family (15th anchor) — particles
|
|
5135
|
+
riding along the edge animateMotion path get +0.5px
|
|
5136
|
+
radius lift, increasing visual area by ~27%
|
|
5137
|
+
(π·4.5² / π·4² = 1.27). Sibling magnitude to R383
|
|
5138
|
+
recent-row pip 1.8 → 2.0 (+25% area), R384 minimap
|
|
5139
|
+
online dot 1.7 → 1.9 (+25% area). R251 fill +
|
|
5140
|
+
R252 transitions + R103 phase-stagger animateMotion
|
|
5141
|
+
all preserved. data-edge-particle-radius attr
|
|
5142
|
+
exposes the value for tests. */
|
|
4282
5143
|
<circle
|
|
4283
|
-
|
|
5144
|
+
/* Round 439 / Loop: edge flow particle radius hover
|
|
5145
|
+
lift — r 4.5 → 5.5 on (isHoveredEdge ||
|
|
5146
|
+
isEndpointHoveredEdge). Continues edge paint-
|
|
5147
|
+
layer parity arc (R436 visible path sw / R437
|
|
5148
|
+
flow-rail sw / R439 particle r) so the whole
|
|
5149
|
+
edge surface — including the moving particle —
|
|
5150
|
+
lifts on hover, not just the static stripes.
|
|
5151
|
+
+1px radius gives ~50% area boost. Subtler than
|
|
5152
|
+
1.4× sw bump on visible path because the
|
|
5153
|
+
particle is already small + motion-bright;
|
|
5154
|
+
+1px reads as "the dot caught attention"
|
|
5155
|
+
without overshadowing the path lift. R252
|
|
5156
|
+
transition list extends to include r 200ms so
|
|
5157
|
+
the size change eases under the same fill/
|
|
5158
|
+
opacity cadence. */
|
|
5159
|
+
r={(isHoveredEdge || isEndpointHoveredEdge) ? 5.5 : 4.5}
|
|
4284
5160
|
fill={pal.flowParticle}
|
|
4285
5161
|
filter={isLight ? undefined : 'url(#topo-glow)'}
|
|
4286
5162
|
opacity={Math.min(1, fresh * edgeOpacityMul)}
|
|
4287
5163
|
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' }}
|
|
5164
|
+
data-edge-particle-radius={(isHoveredEdge || isEndpointHoveredEdge) ? 5.5 : 4.5}
|
|
5165
|
+
data-edge-particle-lifted={(isHoveredEdge || isEndpointHoveredEdge) ? 'true' : 'false'}
|
|
5166
|
+
style={{ transition: 'fill 200ms ease-out, opacity 200ms ease-out, r 200ms ease-out' }}
|
|
4301
5167
|
>
|
|
4302
5168
|
<animateMotion
|
|
4303
5169
|
dur={`${duration}s`}
|
|
@@ -4628,14 +5494,137 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4628
5494
|
R251 closes the per-edge surface theme-toggle
|
|
4629
5495
|
smoothness — every theme-driven property on
|
|
4630
5496
|
every edge element now eases under cyber↔light. */}
|
|
5497
|
+
{/* Round 367 / Loop: edge midpoint badge rest
|
|
5498
|
+
stroke-width 1 → 1.25. Sibling visual-weight
|
|
5499
|
+
bump family (7th canvas anchor now):
|
|
5500
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5501
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5502
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5503
|
+
R360 hub digit fontSize 11 → 12
|
|
5504
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
5505
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
5506
|
+
R367 edge-badge rest stroke 1 → 1.25 (this round)
|
|
5507
|
+
Cold edge badges gain ~25 % stroke presence
|
|
5508
|
+
(1.25/1.0 = 1.25). Stays clear of the R51
|
|
5509
|
+
overlap-test sentinel values (1.5 / 3 reserved
|
|
5510
|
+
for node strokes — the test selector is gated
|
|
5511
|
+
to g[data-node] ancestors so this edge-internal
|
|
5512
|
+
circle is invisible to that probe anyway, but
|
|
5513
|
+
1.25 is a safe non-sentinel value regardless).
|
|
5514
|
+
R188 transition list 'stroke-width 300ms ease-
|
|
5515
|
+
out' still smoothes the hot/pin flip — now
|
|
5516
|
+
1.25 → 2 instead of 1 → 2, same ease pace.
|
|
5517
|
+
data-edge-badge-stroke-width-rest exposes the
|
|
5518
|
+
new baseline for tests. */}
|
|
5519
|
+
{/* Round 371 / Loop: edge-badge cyber opacity 0.82
|
|
5520
|
+
→ 0.85. Sibling theme-consistency polish to R370
|
|
5521
|
+
hub hover-ring 0.7 → 0.8. R251 designed this
|
|
5522
|
+
badge with opacity 0.82 (cyber) / 0.95 (light)
|
|
5523
|
+
— 13 % delta. Cyber-theme dark bg needs more
|
|
5524
|
+
alpha to read as 'present'; R371 narrows the
|
|
5525
|
+
gap to 10 %, bringing the badge closer to light
|
|
5526
|
+
theme's 0.95 floor. Light stays at 0.95
|
|
5527
|
+
(already in the legibility band). data-edge-
|
|
5528
|
+
badge-opacity attr exposes the resolved value.
|
|
5529
|
+
Theme-consistency polish family:
|
|
5530
|
+
R246/R247 panel transition family
|
|
5531
|
+
R251 edge badge fill/opacity baseline
|
|
5532
|
+
R370 hub hover-ring cyber 0.7 → 0.8
|
|
5533
|
+
R371 edge badge cyber 0.82 → 0.85 (this round)
|
|
5534
|
+
R164 r=9/10.5 hover-lift + R188/R251 transition
|
|
5535
|
+
list + R367 strokeWidth=1.25 cold rest preserved. */}
|
|
5536
|
+
{/* Round 394 / Loop: edge-badge gains a hover
|
|
5537
|
+
strokeWidth tier (1.5) between cold rest
|
|
5538
|
+
(R367 1.25) and pin/hot (2). Pre-R394 the
|
|
5539
|
+
badge lifted only its radius on hover (R164
|
|
5540
|
+
9 → 10.5); the stroke stayed at cold rest
|
|
5541
|
+
1.25 unless pin/hot kicked in, so a plain
|
|
5542
|
+
hover felt half-lifted — geometry expanded
|
|
5543
|
+
while the contour stayed thin. R394 adds
|
|
5544
|
+
strokeWidth=1.5 on isHoveredEdge so hover
|
|
5545
|
+
now lifts both r AND stroke in concert —
|
|
5546
|
+
same pattern R385 used for the hub hover-
|
|
5547
|
+
ring (1.5 → 1.75) where the ring's three
|
|
5548
|
+
hover axes (r grow / opacity fade-in /
|
|
5549
|
+
stroke thicken) all rise together.
|
|
5550
|
+
Three-tier stroke hierarchy now:
|
|
5551
|
+
cold rest 1.25 (R367)
|
|
5552
|
+
hovered 1.5 (R394 — this round)
|
|
5553
|
+
pinned / hot 2.0 (R188)
|
|
5554
|
+
R51 sentinel concern: strokeWidth=1.5 is
|
|
5555
|
+
one of the two sentinels reserved for node
|
|
5556
|
+
detection, but the R51 selector is gated
|
|
5557
|
+
to `g[data-node]` ancestors so this edge-
|
|
5558
|
+
internal circle is invisible to the probe
|
|
5559
|
+
(same lesson R177 hub hover-ring + R367
|
|
5560
|
+
cold rest documented). 300ms strokeWidth
|
|
5561
|
+
transition already in the style list eases
|
|
5562
|
+
the new tier naturally. data-edge-badge-
|
|
5563
|
+
stroke-width-hover attr exposes the hover
|
|
5564
|
+
value for tests. */}
|
|
5565
|
+
{/* Round 395 / Loop: edge-badge gains a third
|
|
5566
|
+
hover axis — opacity 0.85 (cyber) / 0.95
|
|
5567
|
+
(light) → 1.0 on isHoveredEdge. Pre-R395
|
|
5568
|
+
hovering thickened the stroke (R394 1.25 →
|
|
5569
|
+
1.5) and grew the radius (R164 9 → 10.5)
|
|
5570
|
+
but the badge's translucency stayed put at
|
|
5571
|
+
R371's rest alpha (cyber 0.85 / light 0.95).
|
|
5572
|
+
R395 lifts hover to a clean 1.0 — fully
|
|
5573
|
+
opaque — so the hovered badge reads as
|
|
5574
|
+
"in focus" against the dim siblings.
|
|
5575
|
+
Three-axis hover-lift parity now complete:
|
|
5576
|
+
hub hover-ring (R177/R370/R385):
|
|
5577
|
+
r 14 → 17, opacity 0 → 0.8 cyber, sw 1.5 → 1.75
|
|
5578
|
+
edge badge (R164/R394/R395):
|
|
5579
|
+
r 9 → 10.5, sw 1.25 → 1.5, opacity → 1.0
|
|
5580
|
+
200ms opacity transition (already in the
|
|
5581
|
+
style list) eases the new axis naturally.
|
|
5582
|
+
R371 rest opacity (0.85 cyber / 0.95 light)
|
|
5583
|
+
preserved as the resting alpha — R395
|
|
5584
|
+
adds an isHoveredEdge override on top.
|
|
5585
|
+
data-edge-badge-opacity-hover attr exposes
|
|
5586
|
+
the hover value for tests. */}
|
|
5587
|
+
{/* Round 396 / Loop: extend the R395 opacity → 1.0
|
|
5588
|
+
lift to the pinned state. Pre-R396 the badge
|
|
5589
|
+
shared `r=10.5` on both hover AND pin (R164
|
|
5590
|
+
unified-lift) but R395's opacity lift fired
|
|
5591
|
+
ONLY on isHoveredEdge — pinned badges stayed
|
|
5592
|
+
at R371 rest alpha (cyber 0.85 / light 0.95).
|
|
5593
|
+
That left pin (sticky selection) reading
|
|
5594
|
+
softer than hover (transient preview), even
|
|
5595
|
+
though pin is the stronger commitment.
|
|
5596
|
+
R396 unifies hover + pin at opacity=1.0
|
|
5597
|
+
so the same data-edge-badge-lifted='true'
|
|
5598
|
+
surface uniformly carries full alpha. Pin
|
|
5599
|
+
stroke (R188 sw=2 + pal.legendHeadline color)
|
|
5600
|
+
continues to differentiate pin from hover —
|
|
5601
|
+
the opacity track now closes the lift parity.
|
|
5602
|
+
The new gate (isHoveredEdge || isPinned)
|
|
5603
|
+
mirrors the existing R164 r-lift gate, so
|
|
5604
|
+
the badge has a single "active state"
|
|
5605
|
+
signature across r + opacity.
|
|
5606
|
+
200ms opacity transition (already in style
|
|
5607
|
+
list) eases pin/unpin naturally. R371 rest
|
|
5608
|
+
opacity preserved as the resting alpha.
|
|
5609
|
+
data-edge-badge-opacity-hover renamed
|
|
5610
|
+
semantically to -active (covers hover+pin)
|
|
5611
|
+
via the new -opacity-active attr; the
|
|
5612
|
+
legacy -opacity-hover attr kept for R395
|
|
5613
|
+
test compatibility. */}
|
|
4631
5614
|
<circle
|
|
4632
5615
|
cx={badgeX} cy={badgeY}
|
|
4633
5616
|
r={isHoveredEdge || isPinned ? 10.5 : 9}
|
|
4634
5617
|
fill={pal.legendBox.fill}
|
|
4635
5618
|
stroke={isPinned ? pal.legendHeadline : isHot ? hotStroke : pal.flowEdge}
|
|
4636
|
-
strokeWidth={isPinned ? 2 : isHot ? 2 : 1}
|
|
4637
|
-
opacity={isLight ? 0.95 : 0.
|
|
5619
|
+
strokeWidth={isPinned ? 2 : isHot ? 2 : isHoveredEdge ? 1.5 : 1.25}
|
|
5620
|
+
opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
4638
5621
|
data-edge-badge-lifted={(isHoveredEdge || isPinned) ? 'true' : 'false'}
|
|
5622
|
+
data-edge-badge-stroke-width-rest="1.25"
|
|
5623
|
+
data-edge-badge-stroke-width-hover="1.5"
|
|
5624
|
+
data-edge-badge-opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
|
|
5625
|
+
data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
|
|
5626
|
+
data-edge-badge-opacity-hover="1"
|
|
5627
|
+
data-edge-badge-opacity-active="1"
|
|
4639
5628
|
style={{ transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out' }}
|
|
4640
5629
|
/>
|
|
4641
5630
|
{/* Round 224 / Loop: edge badge text gains the 4th
|
|
@@ -4674,16 +5663,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4674
5663
|
x={badgeX} y={badgeY + 3}
|
|
4675
5664
|
textAnchor="middle"
|
|
4676
5665
|
fill={pal.legendHeadline}
|
|
4677
|
-
|
|
5666
|
+
/* Round 361 / Loop: edge midpoint badge text
|
|
5667
|
+
fontSize 10 → 11. Sibling visual-weight bump
|
|
5668
|
+
to R360 hub digit 11 → 12. The badge digit
|
|
5669
|
+
is the per-edge equivalent of the hub digit
|
|
5670
|
+
— a high-information scalar (link.count) at
|
|
5671
|
+
a stable canvas position. Pre-R361 fontSize=
|
|
5672
|
+
10 + R220 letter-spacing 0.4 + R224 tabular-
|
|
5673
|
+
nums made the digit READABLE but small
|
|
5674
|
+
against the r=9 / 18-px badge envelope;
|
|
5675
|
+
fontSize=11 nudges the glyph ~10 % bigger
|
|
5676
|
+
(bbox ~7×10 px from ~6×9 px) so the count
|
|
5677
|
+
reads more cleanly at glance — still well
|
|
5678
|
+
inside the r=9 idle circle and the r=10.5
|
|
5679
|
+
hover/pin lift (R164). y=badgeY+3 empirical
|
|
5680
|
+
vertical centring kept (1px drift at the
|
|
5681
|
+
bumped size is below the noise floor in
|
|
5682
|
+
the on-curve flow path).
|
|
5683
|
+
Visual-weight bump family:
|
|
5684
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
5685
|
+
R295 legend swatch base radius 5.5 → 6
|
|
5686
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
5687
|
+
R360 hub digit fontSize 11 → 12
|
|
5688
|
+
R361 edge-badge digit fontSize 10 → 11 (this round)
|
|
5689
|
+
data-edge-badge-text-font-size attr exposes
|
|
5690
|
+
the value for tests. R220 pin/hot letter-
|
|
5691
|
+
spacing tween + R224 tabular-nums + R188
|
|
5692
|
+
stroke-width pin/hot transitions all preserved. */
|
|
5693
|
+
fontSize="11"
|
|
4678
5694
|
fontFamily="monospace"
|
|
4679
|
-
fontWeight
|
|
5695
|
+
/* R426 — edge-badge digit fontWeight 700 → 800 on
|
|
5696
|
+
(isPinned || isHot). 4th anchor on the "data
|
|
5697
|
+
tightens under attention" typographic-weight
|
|
5698
|
+
pattern:
|
|
5699
|
+
R416 chip-digit (chip-row hover trigger)
|
|
5700
|
+
R424 panel-digit (panel hover trigger)
|
|
5701
|
+
R425 hub-digit (hub hover trigger)
|
|
5702
|
+
R426 edge-badge-digit (pin/hot trigger) ← this
|
|
5703
|
+
The badge digit is the per-edge equivalent of
|
|
5704
|
+
the hub digit (R361 sibling fontSize bump
|
|
5705
|
+
reasoning). Stacks with R188 stroke-width pin/
|
|
5706
|
+
hot lift (1.25 → 1.5) + R220 letter-spacing pin/
|
|
5707
|
+
hot tween (0 → 0.4) for a 3-axis pin/hot signa-
|
|
5708
|
+
ture (edge structure + text spacing + text
|
|
5709
|
+
weight). The R408 transition is letter-spacing
|
|
5710
|
+
300ms; R426 appends font-weight 300ms so the
|
|
5711
|
+
weight bump co-eases under the same cadence. */
|
|
5712
|
+
fontWeight={(isPinned || isHot) ? '800' : '700'}
|
|
4680
5713
|
data-edge-badge-text={link.key}
|
|
4681
5714
|
data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
|
|
5715
|
+
data-edge-badge-text-font-size="11"
|
|
4682
5716
|
style={{
|
|
4683
5717
|
pointerEvents: 'none',
|
|
4684
5718
|
fontVariantNumeric: 'tabular-nums',
|
|
4685
|
-
|
|
4686
|
-
|
|
5719
|
+
/* R431 — edge-badge digit 3-tier letter-spacing:
|
|
5720
|
+
rest 0 / isHoveredEdge 0.2 / (isPinned || isHot) 0.4.
|
|
5721
|
+
Mirrors R427 node-alias 3-tier (rest/hover/chat-
|
|
5722
|
+
target → 0/0.3/0.5) at edge-badge scope. Pre-R431
|
|
5723
|
+
letter-spacing only fired on pin/hot (R220) while
|
|
5724
|
+
pure edge hover lifted stroke (R394) + opacity
|
|
5725
|
+
(R395) + radius (R164) but left the text dead-
|
|
5726
|
+
typographic. R431 adds the missing typographic
|
|
5727
|
+
spacing axis to the edge-hover gesture so the
|
|
5728
|
+
text rises with the badge geometry. Pin/hot
|
|
5729
|
+
tier (0.4) still wins; hover is the mid step.
|
|
5730
|
+
Hover-letter-spacing family extension (7 anchors
|
|
5731
|
+
now): R344/R345/R347/R351/R420/R427/R431. */
|
|
5732
|
+
letterSpacing: (isPinned || isHot) ? '0.4px' :
|
|
5733
|
+
isHoveredEdge ? '0.2px' : '0px',
|
|
5734
|
+
transition: 'letter-spacing 300ms ease-out, font-weight 300ms ease-out',
|
|
4687
5735
|
}}
|
|
4688
5736
|
>{link.count}</text>
|
|
4689
5737
|
</g>
|
|
@@ -4794,27 +5842,103 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4794
5842
|
: workingCount <= 2 ? 1
|
|
4795
5843
|
: workingCount <= 5 ? 2
|
|
4796
5844
|
: 3;
|
|
5845
|
+
// Round 404 / Loop: hub-halo cyber trough opacity 0.08 →
|
|
5846
|
+
// 0.10. Pre-R404 the breath's low-point sat at α=0.08
|
|
5847
|
+
// cyber (per R84 family tuning) — the halo nearly faded
|
|
5848
|
+
// out at trough on the dark canvas. R404 lifts cyber
|
|
5849
|
+
// trough to 0.10. Per-bucket peak amplitudes [0.16/0.20/
|
|
5850
|
+
// 0.26/0.32] stay exactly tuned.
|
|
5851
|
+
//
|
|
5852
|
+
// Round 405 / Loop: hub-halo LIGHT trough 0.32 → 0.34 —
|
|
5853
|
+
// symmetric +0.02 lift to mirror R404's cyber treatment
|
|
5854
|
+
// across both themes. Pre-R405 only cyber got the lift
|
|
5855
|
+
// (R404 docstring noted "light already at the strong
|
|
5856
|
+
// end" as deliberate); but the cyber/light delta in
|
|
5857
|
+
// R404 was an inconsistency in the family pattern.
|
|
5858
|
+
// R405 closes the symmetry — both themes get +0.02
|
|
5859
|
+
// baseline lift, so the breath low-point reads with
|
|
5860
|
+
// matching confidence regardless of theme. Light peak
|
|
5861
|
+
// array [0.52/0.58/0.65/0.72] stays tuned.
|
|
5862
|
+
//
|
|
5863
|
+
// Stale-state legibility lift family (5 anchors now):
|
|
5864
|
+
// R317 subordinate-text gray-500 → gray-400
|
|
5865
|
+
// R358 freshness floor 0.25 → 0.30
|
|
5866
|
+
// R372 minimap offline-dot opacity 0.5 → 0.6
|
|
5867
|
+
// R404 hub-halo cyber trough 0.08 → 0.10
|
|
5868
|
+
// R405 hub-halo light trough 0.32 → 0.34 (this round)
|
|
5869
|
+
//
|
|
5870
|
+
// R84 per-bucket peak/dur + R245 ease-in-out spline
|
|
5871
|
+
// keySplines all preserved. Test fixture probes the
|
|
5872
|
+
// SMIL <animate> values via data-topo-hub-halo-trough
|
|
5873
|
+
// attr (now exposes both light + cyber resolved values).
|
|
4797
5874
|
const peakLight = [0.52, 0.58, 0.65, 0.72][busy];
|
|
4798
5875
|
const peakDark = [0.16, 0.20, 0.26, 0.32][busy];
|
|
4799
|
-
const troughLight = 0.
|
|
4800
|
-
const troughDark = 0.
|
|
5876
|
+
const troughLight = 0.34;
|
|
5877
|
+
const troughDark = 0.10;
|
|
4801
5878
|
const dur = [4.0, 3.2, 2.7, 2.4][busy];
|
|
4802
5879
|
const valuesLight = `${troughLight};${peakLight};${troughLight}`;
|
|
4803
5880
|
const valuesDark = `${troughDark};${peakDark};${troughDark}`;
|
|
5881
|
+
// Round 408 / Loop: hub-halo radius 18 → 20. The
|
|
5882
|
+
// grounding halo (the breathing outer circle around
|
|
5883
|
+
// the hub center) is the canvas's signature breath
|
|
5884
|
+
// element — R84 family. R408 bumps r=18 → 20 so the
|
|
5885
|
+
// breath extends slightly further while keeping 4px
|
|
5886
|
+
// clearance before the spoke origin (still room for
|
|
5887
|
+
// spoke start anchors). Visual presence on the
|
|
5888
|
+
// canvas focal point lifts ~23% area (π·20²/π·18²
|
|
5889
|
+
// = 1.23) without changing the per-bucket opacity
|
|
5890
|
+
// envelope or breath rhythm. Visual-weight bump
|
|
5891
|
+
// family 13th anchor — pairs with R404/R405 trough
|
|
5892
|
+
// lifts so the halo now breathes both with more
|
|
5893
|
+
// visible amplitude AND more visual footprint.
|
|
5894
|
+
// R84 per-bucket peak/dur invariants + R244 calc-
|
|
5895
|
+
// Mode='spline' + R245 ease-in-out keySplines all
|
|
5896
|
+
// preserved. data-topo-hub-halo-radius attr exposes
|
|
5897
|
+
// value for tests.
|
|
5898
|
+
/* Round 451 / Loop: hub center halo radius lift on
|
|
5899
|
+
hoveredHub — r 20 → 22 (+2px, ~21% area). Adds another
|
|
5900
|
+
geometric axis to the hub-hover signature stack
|
|
5901
|
+
alongside R177 ring radius lift + R209 digit scale +
|
|
5902
|
+
R425 digit fw + R370 halo opacity + R386 highlight
|
|
5903
|
+
opacity + R441 core fill chroma. Pre-R451 the halo
|
|
5904
|
+
r stayed planted at R408's 20px while the rest of
|
|
5905
|
+
the hub structure responded to hover. R451 makes
|
|
5906
|
+
the halo breath outward on hover so the focal pulse
|
|
5907
|
+
intensifies under attention. SMIL `<animate>` on
|
|
5908
|
+
opacity continues independently (animateAttr=
|
|
5909
|
+
'opacity' vs CSS-property r — non-conflicting). R408
|
|
5910
|
+
base radius 20 preserved as rest; +2 hover delta
|
|
5911
|
+
keeps clearance from the R177 hub-hover-ring at
|
|
5912
|
+
r=17 hover (halo is BEHIND the ring, halo r=22 sits
|
|
5913
|
+
5px beyond the ring's hover-r=17, still well within
|
|
5914
|
+
the hub canvas envelope). data-topo-hub-halo-radius
|
|
5915
|
+
attr now reports the dynamic value. */
|
|
5916
|
+
const isHaloHovered = !reducedMotion && hoveredHub;
|
|
5917
|
+
const haloR = isHaloHovered ? 22 : 20;
|
|
4804
5918
|
return (
|
|
4805
5919
|
<circle
|
|
4806
|
-
cx={cx} cy={cy}
|
|
5920
|
+
cx={cx} cy={cy}
|
|
4807
5921
|
fill={isLight ? '#d1fae5' : '#10b981'}
|
|
4808
5922
|
opacity={isLight ? 0.42 : 0.12}
|
|
4809
5923
|
data-hub-busyness={busy}
|
|
5924
|
+
data-topo-hub-halo-radius={haloR}
|
|
5925
|
+
data-topo-hub-halo-hovered={isHaloHovered ? 'true' : 'false'}
|
|
5926
|
+
data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
|
|
5927
|
+
data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
|
|
4810
5928
|
/* Round 253 / Loop: hub grounding halo fill transition
|
|
4811
5929
|
for theme toggle. Pre-R253 the base fill (cyber
|
|
4812
5930
|
#10b981 ↔ light #d1fae5) snapped while R244's SMIL
|
|
4813
5931
|
animate on opacity continued running. CSS fill
|
|
4814
5932
|
transition is independent of the SMIL animate
|
|
4815
5933
|
(different attributes), so they compose without
|
|
4816
|
-
conflict.
|
|
4817
|
-
|
|
5934
|
+
conflict.
|
|
5935
|
+
R451: r as CSS property (R197/R198 idiom) so the
|
|
5936
|
+
hover-radius tween eases smoothly under the same
|
|
5937
|
+
200ms cadence as fill. */
|
|
5938
|
+
style={{
|
|
5939
|
+
r: `${haloR}px`,
|
|
5940
|
+
transition: 'fill 200ms ease-out, r 200ms ease-out',
|
|
5941
|
+
} as React.CSSProperties}
|
|
4818
5942
|
>
|
|
4819
5943
|
{/* Round 244 / Loop: hub grounding halo breath gets
|
|
4820
5944
|
ease-in-out keySplines, matching the active-node
|
|
@@ -4859,12 +5983,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4859
5983
|
attr added for test introspection (the parent <g> at
|
|
4860
5984
|
line 3587 has data-topo-hub but the core specifically
|
|
4861
5985
|
is the canvas anchor). */}
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
5986
|
+
{(() => {
|
|
5987
|
+
/* Round 441 / Loop: hub center core fill brighten on
|
|
5988
|
+
hoveredHub. Pre-R441 the core was static (cyber
|
|
5989
|
+
emerald-500 #10b981 / light emerald-600 #059669) and
|
|
5990
|
+
the hub-hover gesture lifted ring radius (R177) +
|
|
5991
|
+
digit scale (R209) + digit fw (R425) + halo opacity
|
|
5992
|
+
(R370) + highlight opacity (R386) but the focal core
|
|
5993
|
+
ITSELF stayed planted at rest tone. R441 shifts the
|
|
5994
|
+
fill one emerald tier brighter on hover so the canvas
|
|
5995
|
+
anchor itself responds:
|
|
5996
|
+
cyber emerald-500 → emerald-400 (#10b981 → #34d399)
|
|
5997
|
+
light emerald-600 → emerald-500 (#059669 → #10b981)
|
|
5998
|
+
Same +100 step on the emerald scale across both themes.
|
|
5999
|
+
Pure paint axis; no geometry change. R248 fill 200ms
|
|
6000
|
+
transition already in the style list eases the shift.
|
|
6001
|
+
Closes the chroma axis on the hub-hover gesture stack:
|
|
6002
|
+
R177 ring radius lift geometry
|
|
6003
|
+
R209 digit scale 1.08 geometry
|
|
6004
|
+
R425 digit fw 700 → 800 typography
|
|
6005
|
+
R370 halo opacity 0.7 → 0.8 paint
|
|
6006
|
+
R386 highlight opacity paint
|
|
6007
|
+
R441 core fill brighten chroma ← this round
|
|
6008
|
+
data-topo-hub-core-hovered + -fill attrs exposed
|
|
6009
|
+
for tests. */
|
|
6010
|
+
const isCoreHovered = !reducedMotion && hoveredHub;
|
|
6011
|
+
const coreFill = isLight
|
|
6012
|
+
? (isCoreHovered ? '#10b981' : '#059669')
|
|
6013
|
+
: (isCoreHovered ? '#34d399' : '#10b981');
|
|
6014
|
+
return (
|
|
6015
|
+
<circle
|
|
6016
|
+
cx={cx} cy={cy} r="10"
|
|
6017
|
+
fill={coreFill}
|
|
6018
|
+
data-topo-hub-core
|
|
6019
|
+
data-topo-hub-core-hovered={isCoreHovered ? 'true' : 'false'}
|
|
6020
|
+
data-topo-hub-core-fill={coreFill}
|
|
6021
|
+
style={{ transition: 'fill 200ms ease-out' }}
|
|
6022
|
+
/>
|
|
6023
|
+
);
|
|
6024
|
+
})()}
|
|
4868
6025
|
{/* R130 / Loop: when workingCount > 0, the decorative inner
|
|
4869
6026
|
highlight gets replaced with the workingCount digit. The
|
|
4870
6027
|
R84 busyness breath already encodes the same metric
|
|
@@ -4905,11 +6062,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4905
6062
|
textAnchor="middle"
|
|
4906
6063
|
dy="0.36em"
|
|
4907
6064
|
fill={isLight ? '#d1fae5' : '#ecfdf5'}
|
|
4908
|
-
fontSize
|
|
6065
|
+
/* Round 360 / Loop: hub working-count digit fontSize 11
|
|
6066
|
+
→ 12. The hub is the canvas's focal point — its digit
|
|
6067
|
+
is the most-read scalar on the whole topology. R130
|
|
6068
|
+
sized it at 11 (well inside the r=10 / 20-px core);
|
|
6069
|
+
R360 nudges it to 12 (~13 px wide × 12 px tall, still
|
|
6070
|
+
well inside the 20-px diameter) for ~9 % more presence.
|
|
6071
|
+
Sibling visual-weight bump family:
|
|
6072
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
6073
|
+
R295 legend swatch base radius 5.5 → 6
|
|
6074
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
6075
|
+
R360 hub digit fontSize 11 → 12 (this round)
|
|
6076
|
+
The R209 scale-1.08-on-hub-hover, R225 tabular-nums,
|
|
6077
|
+
R253 fill transition, R213 always-mount opacity gate
|
|
6078
|
+
all preserved. data-topo-hub-working-count-font-size
|
|
6079
|
+
attr exposes the value for tests. */
|
|
6080
|
+
fontSize="12"
|
|
4909
6081
|
fontFamily="monospace"
|
|
4910
|
-
fontWeight
|
|
6082
|
+
/* R425 — hub digit fontWeight 700 → 800 on hoveredHub.
|
|
6083
|
+
Closes the "data tightens under attention" pattern
|
|
6084
|
+
across three focal scopes: chip-digit (R416, chip
|
|
6085
|
+
scope) → panel-digit (R424, panel-header scope) →
|
|
6086
|
+
hub-digit (R425, hub focal scope). The hub digit is
|
|
6087
|
+
the most-read scalar on the topology; adding a weight
|
|
6088
|
+
axis on hover stacks with the R209 scale-1.08 + R177
|
|
6089
|
+
ring grow + R370 halo opacity + R386 highlight
|
|
6090
|
+
opacity hub-hover gestures, giving the focal point
|
|
6091
|
+
a typographic axis alongside its scale/structure cues.
|
|
6092
|
+
R360 fontSize=12 + R225 tabular-nums + R209 scale +
|
|
6093
|
+
R253 fill transition all preserved. Transition list
|
|
6094
|
+
extends to include font-weight 200ms ease-out. */
|
|
6095
|
+
fontWeight={hoveredHub ? '800' : '700'}
|
|
4911
6096
|
opacity={workingCount > 0 ? 1 : 0}
|
|
4912
6097
|
data-topo-hub-working-count={workingCount}
|
|
6098
|
+
data-topo-hub-working-count-font-size="12"
|
|
4913
6099
|
data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
|
|
4914
6100
|
data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
|
|
4915
6101
|
// Round 209 / Loop: hub workingCount digit scales 1.0 →
|
|
@@ -4943,19 +6129,63 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4943
6129
|
transform: !reducedMotion && hoveredHub ? 'scale(1.08)' : 'scale(1)',
|
|
4944
6130
|
transformBox: 'fill-box',
|
|
4945
6131
|
transformOrigin: 'center',
|
|
4946
|
-
|
|
6132
|
+
/* R425: font-weight 200ms appended so the hover fw
|
|
6133
|
+
bump 700 → 800 eases under the same cadence as
|
|
6134
|
+
R209 scale + R253 fill + R213 opacity. */
|
|
6135
|
+
transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out',
|
|
4947
6136
|
fontVariantNumeric: 'tabular-nums',
|
|
4948
6137
|
}}
|
|
4949
6138
|
>
|
|
4950
6139
|
{workingCount}
|
|
4951
6140
|
</text>
|
|
4952
6141
|
{/* decorative highlight (visible when workingCount === 0) */}
|
|
6142
|
+
{/* Round 365 / Loop: hub-center 'lit-lamp' decorative highlight
|
|
6143
|
+
circle r 5 → 5.5. Sibling visual-weight bump family —
|
|
6144
|
+
each round lifts one canvas anchor's geometric presence
|
|
6145
|
+
without disturbing its bbox envelope:
|
|
6146
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
6147
|
+
R295 legend swatch base radius 5.5 → 6
|
|
6148
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
6149
|
+
R360 hub digit fontSize 11 → 12
|
|
6150
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
6151
|
+
R365 hub-highlight base radius 5 → 5.5 (this round)
|
|
6152
|
+
The highlight only renders when workingCount === 0
|
|
6153
|
+
(decorative 'lamp lit but idle' state per R130 + R213
|
|
6154
|
+
always-mount opacity-gate). At idle, the 0.5-px radius
|
|
6155
|
+
bump (21 % area, π*5.5² / π*5² = 1.21) lifts the lamp's
|
|
6156
|
+
presence — still well inside the r=10 hub-core (R130).
|
|
6157
|
+
opacity=0 when working preserved so the hub-digit's R130
|
|
6158
|
+
takeover stays seamless. R213 always-mount opacity-gate
|
|
6159
|
+
+ 300ms opacity transition + pointerEvents:none all
|
|
6160
|
+
preserved. data-topo-hub-highlight-radius attr exposes
|
|
6161
|
+
the value for tests. */}
|
|
6162
|
+
{/* Round 386 / Loop: hub-highlight idle opacity 0.9 → 0.95.
|
|
6163
|
+
When workingCount===0 the highlight paints as the visible
|
|
6164
|
+
idle "lamp lit but no work" core (R130 takeover gate).
|
|
6165
|
+
Pre-R386 idle opacity was 0.9 — a ~6 % fade against full
|
|
6166
|
+
paint that read as slightly-dimmed-ghost on the focal
|
|
6167
|
+
point. R386 lifts to 0.95 (idle alpha gap halved 0.10
|
|
6168
|
+
→ 0.05) so the canvas anchor reads more confidently
|
|
6169
|
+
as a present-but-idle state rather than a faded ghost.
|
|
6170
|
+
Theme-consistency / canvas-presence polish family (4th
|
|
6171
|
+
anchor):
|
|
6172
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
6173
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
6174
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
6175
|
+
R386 hub-highlight idle opacity 0.9 → 0.95 (this round)
|
|
6176
|
+
opacity=0 when working preserved so the hub-digit's
|
|
6177
|
+
R130 takeover stays seamless. 300ms opacity transition
|
|
6178
|
+
+ R213 always-mount opacity-gate + pointerEvents:none
|
|
6179
|
+
+ R365 r=5.5 all preserved. data-topo-hub-highlight-
|
|
6180
|
+
opacity attr exposes the resolved value for tests. */}
|
|
4953
6181
|
<circle
|
|
4954
|
-
cx={cx} cy={cy} r="5"
|
|
6182
|
+
cx={cx} cy={cy} r="5.5"
|
|
4955
6183
|
fill="#d1fae5"
|
|
4956
|
-
opacity={workingCount > 0 ? 0 : 0.
|
|
6184
|
+
opacity={workingCount > 0 ? 0 : 0.95}
|
|
4957
6185
|
data-topo-hub-highlight
|
|
4958
6186
|
data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
|
|
6187
|
+
data-topo-hub-highlight-radius="5.5"
|
|
6188
|
+
data-topo-hub-highlight-opacity={workingCount > 0 ? 0 : 0.95}
|
|
4959
6189
|
style={{
|
|
4960
6190
|
pointerEvents: 'none',
|
|
4961
6191
|
transition: 'opacity 300ms ease-out',
|
|
@@ -4986,15 +6216,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4986
6216
|
R142 group boxes, R143/R144 rows, R164 edge badges,
|
|
4987
6217
|
R177 hub ring). prefers-reduced-motion respected via
|
|
4988
6218
|
R29 globals.css blanket. */}
|
|
6219
|
+
{/* Round 385 / Loop: hub hover-ring strokeWidth 1.5 → 1.75.
|
|
6220
|
+
Sibling visual-weight bump (11th anchor) to R367 edge-
|
|
6221
|
+
badge rest stroke 1 → 1.25. The ring is only visible
|
|
6222
|
+
during hub hover (opacity=0 rest, R177 + R370 control
|
|
6223
|
+
the hover-state alpha) so the change manifests purely
|
|
6224
|
+
as a thicker hover-state ring on the canvas focal
|
|
6225
|
+
point. R177 r 14 → 17 grow + R370 opacity 0 → 0.8
|
|
6226
|
+
already lift the hover cue; R385 adds stroke weight
|
|
6227
|
+
as the third lift axis. Stays clear of R51 overlap-
|
|
6228
|
+
test sentinel value 3 (1.75 is non-sentinel); the
|
|
6229
|
+
R51 selector is gated to g[data-node] ancestors so
|
|
6230
|
+
this hub-internal circle is invisible to the probe
|
|
6231
|
+
regardless. R253 stroke transition + pointerEvents:
|
|
6232
|
+
none preserved. data-topo-hub-hover-ring-stroke-width
|
|
6233
|
+
attr exposes the value for tests. */}
|
|
4989
6234
|
<circle
|
|
4990
6235
|
cx={cx} cy={cy}
|
|
4991
6236
|
r={hoveredHub ? 17 : 14}
|
|
4992
6237
|
fill="none"
|
|
4993
6238
|
stroke={isLight ? '#059669' : '#10b981'}
|
|
4994
|
-
strokeWidth="1.
|
|
4995
|
-
|
|
6239
|
+
strokeWidth="1.75"
|
|
6240
|
+
/* Round 370 / Loop: hub hover-ring cyber opacity 0.7 →
|
|
6241
|
+
0.8. R177 designed the hub hover-ring at opacity-0 →
|
|
6242
|
+
0.85 (light) / 0 → 0.7 (cyber). The 15 % gap between
|
|
6243
|
+
the two themes meant cyber-theme operators got a
|
|
6244
|
+
noticeably softer hover cue than light-theme users
|
|
6245
|
+
against backgrounds that should equalise (dark bg
|
|
6246
|
+
needs more luminance to read as 'on'). R370 bumps
|
|
6247
|
+
cyber 0.7 → 0.8, narrowing the theme gap to 5 % —
|
|
6248
|
+
sibling theme-consistency polish to R251 edge badge
|
|
6249
|
+
fill/opacity (cyber 0.82 / light 0.95) and R246/R247
|
|
6250
|
+
panel transition families. Light theme 0.85 stays
|
|
6251
|
+
as is (already in the legibility band). data-topo-
|
|
6252
|
+
hub-hover-ring-opacity attr exposes the value for
|
|
6253
|
+
tests. */
|
|
6254
|
+
opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4996
6255
|
data-topo-hub-hover-ring
|
|
4997
6256
|
data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
|
|
6257
|
+
data-topo-hub-hover-ring-stroke-width="1.75"
|
|
6258
|
+
data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
|
|
4998
6259
|
/* Round 253 / Loop: hub hover ring also gets stroke
|
|
4999
6260
|
transition for theme toggle (cyber #10b981 ↔ light
|
|
5000
6261
|
#059669). The opacity + r transitions stay for hover
|
|
@@ -5423,14 +6684,51 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5423
6684
|
keyTimes="0;0.5;1"
|
|
5424
6685
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
5425
6686
|
/>
|
|
6687
|
+
{/* Round 409 / Loop: active-node pulse peak
|
|
6688
|
+
opacity lift — cyber 0.18 → 0.20 / light
|
|
6689
|
+
0.12 → 0.14. Theme-consistency / canvas-
|
|
6690
|
+
presence family 9th anchor. R243 family
|
|
6691
|
+
rhythm preserved.
|
|
6692
|
+
Round 413 / Loop: trough lift mirrors R409
|
|
6693
|
+
peak — cyber 0.04 → 0.05 / light 0.02 →
|
|
6694
|
+
0.03. Stale-state legibility lift family
|
|
6695
|
+
8th anchor — pairs with R404 (hub-halo
|
|
6696
|
+
cyber trough 0.08 → 0.10) and R405 (light
|
|
6697
|
+
trough 0.32 → 0.34). The per-node breath's
|
|
6698
|
+
low-point now reads slightly above the
|
|
6699
|
+
"nearly gone" zone while preserving the
|
|
6700
|
+
breath amplitude (cyber Δ 0.16 vs Δ pre-
|
|
6701
|
+
R409+R413 of 0.14; light Δ 0.11 vs 0.10).
|
|
6702
|
+
Both peak (R409) AND trough (R413) lift
|
|
6703
|
+
together so the active-pulse signal stays
|
|
6704
|
+
confidently present at both ends of its
|
|
6705
|
+
2.4s cycle.
|
|
6706
|
+
Stale-state legibility lift family (8):
|
|
6707
|
+
R317 subordinate-text gray-500→400
|
|
6708
|
+
R358 freshness floor 0.25→0.30
|
|
6709
|
+
R372 minimap offline-dot 0.5→0.6
|
|
6710
|
+
R404 hub-halo cyber trough 0.08→0.10
|
|
6711
|
+
R405 hub-halo light trough 0.32→0.34
|
|
6712
|
+
R406 edge freshness floor 0.35→0.40
|
|
6713
|
+
R407 node halo offline opacity (cyber+light)
|
|
6714
|
+
R413 active-node pulse trough (this round)
|
|
6715
|
+
cyber 0.04 → 0.05
|
|
6716
|
+
light 0.02 → 0.03
|
|
6717
|
+
R243 always-mount opacity-gate + R243
|
|
6718
|
+
ease-in-out keySplines + r animation
|
|
6719
|
+
(radius+8 ↔ radius+22) preserved.
|
|
6720
|
+
data-node-pulse-peak + new -pulse-trough
|
|
6721
|
+
attrs expose resolved per-theme values. */}
|
|
5426
6722
|
<animate
|
|
5427
6723
|
attributeName="opacity"
|
|
5428
|
-
values={isLight ? '0.
|
|
6724
|
+
values={isLight ? '0.14;0.03;0.14' : '0.20;0.05;0.20'}
|
|
5429
6725
|
dur="2.4s"
|
|
5430
6726
|
repeatCount="indefinite"
|
|
5431
6727
|
calcMode="spline"
|
|
5432
6728
|
keyTimes="0;0.5;1"
|
|
5433
6729
|
keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
|
|
6730
|
+
data-node-pulse-peak={isLight ? '0.14' : '0.20'}
|
|
6731
|
+
data-node-pulse-trough={isLight ? '0.03' : '0.05'}
|
|
5434
6732
|
/>
|
|
5435
6733
|
</circle>
|
|
5436
6734
|
</g>
|
|
@@ -5475,12 +6773,107 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5475
6773
|
parent stays for status flips. data-node-halo-
|
|
5476
6774
|
breath-offset surfaces the chosen offset for
|
|
5477
6775
|
test introspection. */}
|
|
6776
|
+
{/* Round 407 / Loop: offline node halo opacity lift —
|
|
6777
|
+
cyber 0.25 → 0.30 and light 0.4 → 0.45. Pre-R407
|
|
6778
|
+
offline node halos faded to α=0.25 cyber (75 %
|
|
6779
|
+
dim) / α=0.4 light. On the dark canvas the 0.25
|
|
6780
|
+
halo read as "nearly gone" — exactly the
|
|
6781
|
+
legibility floor R404/R405 just lifted on the
|
|
6782
|
+
hub-halo and R372 lifted on minimap offline dots.
|
|
6783
|
+
R407 closes the same family at the per-node halo
|
|
6784
|
+
surface: +0.05 lift on both themes so offline
|
|
6785
|
+
anchors stay legibly present without crossing into
|
|
6786
|
+
"could be online" territory (online cyber 0.65 /
|
|
6787
|
+
light 0.85 unchanged — the 0.30/0.65 cyber ratio
|
|
6788
|
+
still gives 2.17× contrast for online/offline).
|
|
6789
|
+
Stale-state legibility lift family (7 anchors now):
|
|
6790
|
+
R317 subordinate-text gray-500 → gray-400
|
|
6791
|
+
R358 freshness floor 0.25 → 0.30
|
|
6792
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
6793
|
+
R404 hub-halo cyber trough 0.08 → 0.10
|
|
6794
|
+
R405 hub-halo light trough 0.32 → 0.34
|
|
6795
|
+
R406 edge freshness floor 0.35 → 0.40
|
|
6796
|
+
R407 node halo offline opacity (this round)
|
|
6797
|
+
cyber 0.25 → 0.30
|
|
6798
|
+
light 0.4 → 0.45
|
|
6799
|
+
R278 retired-breath gate + R12 status.halo color
|
|
6800
|
+
+ R226 phase stagger code-path preserved (the
|
|
6801
|
+
breath stays disabled per Vincent's R278 ask;
|
|
6802
|
+
only the BASE opacity floor shifts here). transi-
|
|
6803
|
+
tion list ('fill,opacity' 300ms ease-out) unchanged.
|
|
6804
|
+
data-node-halo-offline-opacity attr exposes the
|
|
6805
|
+
resolved value for tests. */}
|
|
6806
|
+
{(() => {
|
|
6807
|
+
/* Round 440 / Loop: node halo opacity hover lift —
|
|
6808
|
+
lifts toward full on the matched node. Pure paint
|
|
6809
|
+
axis: rest values unchanged for un-hovered halos,
|
|
6810
|
+
hover state lifts the matched halo's alpha by
|
|
6811
|
+
+0.15 on each tier:
|
|
6812
|
+
online cyber 0.65 → 0.80
|
|
6813
|
+
online light 0.85 → 1.00 (capped)
|
|
6814
|
+
offline cyber 0.30 → 0.45
|
|
6815
|
+
offline light 0.45 → 0.60
|
|
6816
|
+
Same paint-only mental model as R430 hub-spoke
|
|
6817
|
+
opacity lift + R429 label-card body opacity lift,
|
|
6818
|
+
now at the per-node halo scope. No geometry
|
|
6819
|
+
change so R51 sentinels stay safe and the overlap-
|
|
6820
|
+
test invariant is unchanged (test runs at rest).
|
|
6821
|
+
Closes a chroma/presence axis on the per-node
|
|
6822
|
+
hover signature alongside the 12-layer cue stack
|
|
6823
|
+
(R26/R217/R142/R427/R428/R429 card + R430/R435/
|
|
6824
|
+
R436/R437/R94 link + R438 ring). R407 offline
|
|
6825
|
+
halo opacity floor (cyber 0.30 / light 0.45) is
|
|
6826
|
+
the rest branch unchanged. Existing transition-
|
|
6827
|
+
[fill,opacity] duration-300 className handles
|
|
6828
|
+
the easing. data-node-halo-hovered exposes the
|
|
6829
|
+
gate; data-node-halo-resolved-opacity exposes
|
|
6830
|
+
the four-state resolved value for tests. */
|
|
6831
|
+
const isHaloHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
6832
|
+
/* Round 456 / Loop: light-theme offline node halo
|
|
6833
|
+
rest opacity 0.45 → 0.50. Stale-state legibility
|
|
6834
|
+
lift family extension (10th anchor) at the per-
|
|
6835
|
+
node halo light-theme scope:
|
|
6836
|
+
R317 subordinate-text gray-500 → gray-400
|
|
6837
|
+
R358 freshness floor 0.25 → 0.30
|
|
6838
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
6839
|
+
R404 hub-halo cyber trough 0.08 → 0.10
|
|
6840
|
+
R405 hub-halo light trough 0.32 → 0.34
|
|
6841
|
+
R406 edge freshness floor 0.35 → 0.40
|
|
6842
|
+
R407 node halo offline opacity
|
|
6843
|
+
cyber 0.25 → 0.30
|
|
6844
|
+
light 0.4 → 0.45
|
|
6845
|
+
R419 hub-spoke idle 0.45 → 0.50
|
|
6846
|
+
R452 dense alias rest 0.9 → 0.95
|
|
6847
|
+
R456 node halo offline LIGHT 0.45 → 0.50 ← this round
|
|
6848
|
+
Pre-R456 light-theme offline halo at 0.45 sat at
|
|
6849
|
+
the upper end of "near-floor" but read as soft-
|
|
6850
|
+
focus on the lighter canvas; +0.05 (~11 % opacity
|
|
6851
|
+
gain) lifts it to 0.50 — the midpoint between
|
|
6852
|
+
R407 rest 0.45 and R440 hover 0.60 — closing the
|
|
6853
|
+
gap so offline halos read more confidently as
|
|
6854
|
+
present-but-stale anchors. Cyber theme stays at
|
|
6855
|
+
R407's 0.30 (cyber backdrop is dark; the cyber
|
|
6856
|
+
offline halo against #080814 contains a stronger
|
|
6857
|
+
contrast envelope than light, so doesn't need
|
|
6858
|
+
the same lift). R440 hover 0.45→0.60 light + R12
|
|
6859
|
+
status.halo color + R407 transition list all
|
|
6860
|
+
preserved. */
|
|
6861
|
+
const haloOpacity = (() => {
|
|
6862
|
+
if (isOnline) {
|
|
6863
|
+
return isLight ? (isHaloHovered ? 1 : 0.85) : (isHaloHovered ? 0.80 : 0.65);
|
|
6864
|
+
}
|
|
6865
|
+
return isLight ? (isHaloHovered ? 0.60 : 0.50) : (isHaloHovered ? 0.45 : 0.30);
|
|
6866
|
+
})();
|
|
6867
|
+
return (
|
|
5478
6868
|
<circle
|
|
5479
6869
|
cx={pos.x}
|
|
5480
6870
|
cy={pos.y}
|
|
5481
6871
|
r={radius + 8}
|
|
5482
6872
|
fill={status.halo}
|
|
5483
|
-
opacity={
|
|
6873
|
+
opacity={haloOpacity}
|
|
6874
|
+
data-node-halo-offline-opacity={isOnline ? undefined : (isLight ? 0.45 : 0.30)}
|
|
6875
|
+
data-node-halo-hovered={isHaloHovered ? 'true' : 'false'}
|
|
6876
|
+
data-node-halo-resolved-opacity={haloOpacity}
|
|
5484
6877
|
className="transition-[fill,opacity] duration-300 ease-out"
|
|
5485
6878
|
data-node-halo-breath={!reducedMotion && session.status === 'working' ? 'on' : 'off'}
|
|
5486
6879
|
data-node-halo-breath-offset={
|
|
@@ -5539,6 +6932,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5539
6932
|
/>
|
|
5540
6933
|
)}
|
|
5541
6934
|
</circle>
|
|
6935
|
+
);
|
|
6936
|
+
})()}
|
|
5542
6937
|
{/* Round 111 / Loop: edge-endpoint emphasis ring. R49
|
|
5543
6938
|
already keeps endpoint nodes at opacity 1 while
|
|
5544
6939
|
others dim when an edge is hovered, but the
|
|
@@ -5595,11 +6990,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5595
6990
|
ring stroke-width). data-edge-endpoint-ring-
|
|
5596
6991
|
stroke-width attr surfaces the chosen value for
|
|
5597
6992
|
test introspection. */
|
|
6993
|
+
/* Round 442 / Loop: endpoint emphasis ring radius
|
|
6994
|
+
hover lift — r=radius+7 → radius+8 on isEndpoint,
|
|
6995
|
+
closing a 3-axis hover-elevation parity at endpoint
|
|
6996
|
+
ring scope (r + sw + opacity):
|
|
6997
|
+
opacity R182 0 → 0.85/0.9
|
|
6998
|
+
sw R233 1.6 → 2.4
|
|
6999
|
+
r R442 +7 → +8 ← this round
|
|
7000
|
+
Mirrors the 3-axis trios already established at
|
|
7001
|
+
hub hover-ring (R177/R370/R385) and edge badge
|
|
7002
|
+
(R164/R394/R395). Pre-R442 the endpoint ring
|
|
7003
|
+
faded in + thickened on edge-hover but its radius
|
|
7004
|
+
stayed locked at radius+7 — only the paint/weight
|
|
7005
|
+
axes lifted while the GEOMETRY stayed unchanged.
|
|
7006
|
+
+1px (~radius+7 to radius+8) gives a subtle outward
|
|
7007
|
+
pulse on hover without crowding the status ring
|
|
7008
|
+
(which sits at radius from R438 sw3.5 hover) or
|
|
7009
|
+
the halo (radius+8 from R440 opacity hover — the
|
|
7010
|
+
endpoint ring sits at the SAME radius as the halo
|
|
7011
|
+
but with stroke=cyan vs fill=status.halo so they
|
|
7012
|
+
don't visually collide). The transition list
|
|
7013
|
+
extends to include 'r 180ms ease-out' so the new
|
|
7014
|
+
axis eases under the same R233 cadence. SVG `r`
|
|
7015
|
+
on a <circle> uses CSS-property syntax for inter-
|
|
7016
|
+
polation (same idiom R197/R198 used on the
|
|
7017
|
+
legend swatch). data-edge-endpoint-ring-radius
|
|
7018
|
+
attr exposes the resolved value for tests. */
|
|
7019
|
+
const endpointR = isEndpoint ? radius + 8 : radius + 7;
|
|
5598
7020
|
return (
|
|
5599
7021
|
<circle
|
|
5600
7022
|
cx={pos.x}
|
|
5601
7023
|
cy={pos.y}
|
|
5602
|
-
r={radius + 7}
|
|
5603
7024
|
fill="none"
|
|
5604
7025
|
stroke={pal.flowEdge}
|
|
5605
7026
|
strokeWidth={isEndpoint ? 2.4 : 1.6}
|
|
@@ -5607,7 +7028,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5607
7028
|
data-edge-endpoint-ring
|
|
5608
7029
|
data-edge-endpoint-active={isEndpoint ? 'true' : 'false'}
|
|
5609
7030
|
data-edge-endpoint-ring-stroke-width={isEndpoint ? 2.4 : 1.6}
|
|
5610
|
-
|
|
7031
|
+
data-edge-endpoint-ring-radius={endpointR}
|
|
7032
|
+
style={{
|
|
7033
|
+
pointerEvents: 'none',
|
|
7034
|
+
r: `${endpointR}px`,
|
|
7035
|
+
transition: 'opacity 180ms ease-out, stroke-width 180ms ease-out, r 180ms ease-out',
|
|
7036
|
+
} as React.CSSProperties}
|
|
5611
7037
|
/>
|
|
5612
7038
|
);
|
|
5613
7039
|
})()}
|
|
@@ -5632,20 +7058,62 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5632
7058
|
stroke-width="3"/"1.5" still works against the
|
|
5633
7059
|
DOM attribute value (React-rendered, not
|
|
5634
7060
|
interpolated). */}
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
7061
|
+
{(() => {
|
|
7062
|
+
/* Round 438 / Loop: status ring strokeWidth hover lift —
|
|
7063
|
+
when hoveredAlias matches, the node's status ring
|
|
7064
|
+
thickens by +0.5: online 3 → 3.5, offline 1.5 → 2.
|
|
7065
|
+
Same absolute delta as R435 hub-spoke (idle 1→1.25
|
|
7066
|
+
used Δ +0.25 because rest base was thinner; status
|
|
7067
|
+
ring's heavier rest values 1.5/3 need a bigger
|
|
7068
|
+
+0.5 to register as visible thickening).
|
|
7069
|
+
Status-ring axis joins the node-hover cue stack
|
|
7070
|
+
(now 9 layers including link surfaces):
|
|
7071
|
+
R26 group translateY -2px per-node geometry
|
|
7072
|
+
R217 stroke tint legendAccent per-node card
|
|
7073
|
+
R142 drop-shadow boost per-node card
|
|
7074
|
+
R427 alias letter-spacing per-node text
|
|
7075
|
+
R428 sub-text letter-spacing per-node text
|
|
7076
|
+
R429 body opacity 0.94 → 1.0 per-node card
|
|
7077
|
+
R430 hub-spoke α+ link to hub (paint)
|
|
7078
|
+
R435 hub-spoke sw+ link to hub (geo)
|
|
7079
|
+
R94 edge α 1.7× inter-node link (paint)
|
|
7080
|
+
R436 edge sw 1.15× inter-node link (geo)
|
|
7081
|
+
R437 flow-rail sw 1 → 1.5 edge paint-layer
|
|
7082
|
+
R438 status-ring sw +0.5 ring geometry ← this round
|
|
7083
|
+
R51 sentinel safety: rest values 3 / 1.5 unchanged
|
|
7084
|
+
so the overlap-test selector `circle[stroke-width=
|
|
7085
|
+
"3"]` / `circle[stroke-width="1.5"]` inside
|
|
7086
|
+
g[data-node] still matches at rest. Hover values
|
|
7087
|
+
3.5 / 2 are not in the reserved {1.5, 3} set so
|
|
7088
|
+
the selector wouldn't match them anyway; but the
|
|
7089
|
+
test runs WITHOUT hover so this never matters
|
|
7090
|
+
in practice. R167 stroke-width 300ms transition
|
|
7091
|
+
already in the style list eases the lift for
|
|
7092
|
+
free. data-node-status-ring-hovered exposes the
|
|
7093
|
+
gate for tests. */
|
|
7094
|
+
const isRingHovered = !reducedMotion && hoveredAlias === session.alias;
|
|
7095
|
+
const ringStrokeWidth = isOnline
|
|
7096
|
+
? (isRingHovered ? 3.5 : 3)
|
|
7097
|
+
: (isRingHovered ? 2 : 1.5);
|
|
7098
|
+
return (
|
|
7099
|
+
<circle
|
|
7100
|
+
cx={pos.x}
|
|
7101
|
+
cy={pos.y}
|
|
7102
|
+
r={radius}
|
|
7103
|
+
fill={isOnline ? pal.nodeFill.online : pal.nodeFill.offline}
|
|
7104
|
+
stroke={status.primary}
|
|
7105
|
+
strokeWidth={ringStrokeWidth}
|
|
7106
|
+
strokeDasharray={isOnline ? 'none' : '5 5'}
|
|
7107
|
+
filter={isOnline && !isLight ? 'url(#topo-glow)' : undefined}
|
|
7108
|
+
data-node-status-ring={status.label}
|
|
7109
|
+
data-node-status-ring-hovered={isRingHovered ? 'true' : 'false'}
|
|
7110
|
+
data-node-status-ring-stroke-width={ringStrokeWidth}
|
|
7111
|
+
style={{
|
|
7112
|
+
transition: 'fill 300ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out',
|
|
7113
|
+
}}
|
|
7114
|
+
/>
|
|
7115
|
+
);
|
|
7116
|
+
})()}
|
|
5649
7117
|
{/* v0.10.0 Hero 1+2 / §3.F server-health node-ring tint.
|
|
5650
7118
|
When the host server this agent runs on is in the
|
|
5651
7119
|
`red` tier (CPU/Mem/Disk worst-of ≥ 85% per
|
|
@@ -5825,8 +7293,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5825
7293
|
transition: 'r 150ms ease-out, stroke-width 150ms ease-out',
|
|
5826
7294
|
} as React.CSSProperties}
|
|
5827
7295
|
/>
|
|
7296
|
+
{/* Round 443 / Loop: runtime badge inner-icon
|
|
7297
|
+
strokeWidth lift on node hover — 2.4 → 2.8 on
|
|
7298
|
+
isNodeActive. Pre-R443 the outer badge ring
|
|
7299
|
+
lifted (R208 r + sw both grow on hover) but
|
|
7300
|
+
the inner icon path stayed locked at sw=2.4.
|
|
7301
|
+
The two layers of the runtime badge were
|
|
7302
|
+
out of phase: ring thickened, icon stayed
|
|
7303
|
+
thin. R443 closes the 2-axis hover signature
|
|
7304
|
+
on the badge so both ring and icon lift
|
|
7305
|
+
together. +0.4 absolute delta matches the
|
|
7306
|
+
R208 ring's +0.5 sw delta (badge ring 1.5 →
|
|
7307
|
+
2.0 absolute), proportional to the icon's
|
|
7308
|
+
heavier base of 2.4. Pure paint axis;
|
|
7309
|
+
strokeLinecap='round' + strokeLinejoin='round'
|
|
7310
|
+
preserved. transition list extends to include
|
|
7311
|
+
'stroke-width 150ms ease-out' matching R208
|
|
7312
|
+
outer-ring cadence. data-runtime-badge-icon
|
|
7313
|
+
+ -active attrs exposed for tests. */}
|
|
5828
7314
|
<g transform={`translate(${bx - icon / 2} ${by - icon / 2}) scale(${icon / 24})`}>
|
|
5829
|
-
<path
|
|
7315
|
+
<path
|
|
7316
|
+
d={rt.iconPath}
|
|
7317
|
+
fill="none"
|
|
7318
|
+
stroke={rt.color}
|
|
7319
|
+
strokeWidth={isNodeActive ? '2.8' : '2.4'}
|
|
7320
|
+
strokeLinecap="round"
|
|
7321
|
+
strokeLinejoin="round"
|
|
7322
|
+
data-runtime-badge-icon={session.alias}
|
|
7323
|
+
data-runtime-badge-icon-active={isNodeActive ? 'true' : 'false'}
|
|
7324
|
+
data-runtime-badge-icon-stroke-width={isNodeActive ? '2.8' : '2.4'}
|
|
7325
|
+
style={{ transition: 'stroke-width 150ms ease-out' }}
|
|
7326
|
+
/>
|
|
5830
7327
|
</g>
|
|
5831
7328
|
</g>
|
|
5832
7329
|
);
|
|
@@ -5969,14 +7466,69 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5969
7466
|
220ms cadence the existing filter/stroke
|
|
5970
7467
|
pair uses — coordinated 4-property easing
|
|
5971
7468
|
across the card. */}
|
|
7469
|
+
{/* Round 411 / Loop: node label card rx 6 → 8.
|
|
7470
|
+
Pre-R411 the per-node label card painted at
|
|
7471
|
+
rx=6, sitting one tier BELOW the R332/R375/
|
|
7472
|
+
R376 compact-chrome tier (rx=8). Inside the
|
|
7473
|
+
corner-radius cascade family the cards used
|
|
7474
|
+
to be the only "smaller" tier — but the
|
|
7475
|
+
label card is a content-bearing surface
|
|
7476
|
+
(alias + sub text + ring), not a sub-
|
|
7477
|
+
element decoration. R411 lifts rx=6 → 8
|
|
7478
|
+
to align with the compact-chrome / segmented-
|
|
7479
|
+
control tier so all "compact card" surfaces
|
|
7480
|
+
read with the same corner radius.
|
|
7481
|
+
Corner-radius cascade (8 anchors now):
|
|
7482
|
+
R330 canvas rx 12 (root)
|
|
7483
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
7484
|
+
R332 minimap container rx 8 (compact chrome)
|
|
7485
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
7486
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
7487
|
+
R390 hover-detail rx 10 (panel)
|
|
7488
|
+
R393 minimap viewport rx 2 (sub-element)
|
|
7489
|
+
R411 node label card rx 6 → 8 (compact card, this round)
|
|
7490
|
+
Pure paint — rx grows the corner curve
|
|
7491
|
+
inward without changing the card's outer
|
|
7492
|
+
cardW × cardH bbox (cardW=92/cardH=22 for
|
|
7493
|
+
standard nodes per R23 / R187 sizing). R217
|
|
7494
|
+
hover-stroke cyan tint + R142 drop-shadow
|
|
7495
|
+
+ R246 fill+opacity 220ms transition list
|
|
7496
|
+
+ R211 alias/sub text-fill ease all
|
|
7497
|
+
preserved. data-node-label-card-rx attr
|
|
7498
|
+
exposes the value for tests. */}
|
|
7499
|
+
{/* Round 429 / Loop: node label-card body opacity
|
|
7500
|
+
0.94 → 1.0 on hover (cyber theme). Sibling
|
|
7501
|
+
treatment to R348 panel rect opacity lift —
|
|
7502
|
+
0.92 → 0.97 cyber / 0.97 → 1.0 light at the
|
|
7503
|
+
panel scope. Pre-R429 the cyber theme card
|
|
7504
|
+
sat at 0.94 always; on hover R217 tinted the
|
|
7505
|
+
stroke + R142 grew the drop-shadow + R26
|
|
7506
|
+
lifted the group + R427/R428 spaced the text
|
|
7507
|
+
but the rect itself never solidified —
|
|
7508
|
+
the card glowed brighter through the
|
|
7509
|
+
shadow but the body alpha gap (6 pct) stayed
|
|
7510
|
+
fixed. R429 lifts the body to full alpha on
|
|
7511
|
+
hover so the card reads as a confidently
|
|
7512
|
+
present surface under the cursor (matching
|
|
7513
|
+
the panel-pair pattern). Light theme stays
|
|
7514
|
+
at 1.0 in both states (already maxed). R246
|
|
7515
|
+
transition list already covers opacity 220ms
|
|
7516
|
+
so the lift eases for free. R217 stroke tint
|
|
7517
|
+
+ R142 drop-shadow + R211 fill ease all
|
|
7518
|
+
preserved (additive opacity branch only). */}
|
|
5972
7519
|
<rect
|
|
5973
|
-
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="
|
|
7520
|
+
x={-cardW / 2} y={cardTopY} width={cardW} height={cardH} rx="8"
|
|
5974
7521
|
fill={pal.labelBox.fill}
|
|
5975
7522
|
stroke={!reducedMotion && hoveredAlias === session.alias
|
|
5976
7523
|
? pal.legendAccent
|
|
5977
7524
|
: pal.labelBox.stroke}
|
|
5978
|
-
opacity={
|
|
7525
|
+
opacity={
|
|
7526
|
+
!reducedMotion && hoveredAlias === session.alias
|
|
7527
|
+
? 1
|
|
7528
|
+
: (isLight ? 1 : 0.94)
|
|
7529
|
+
}
|
|
5979
7530
|
data-node-label-card={session.alias}
|
|
7531
|
+
data-node-label-card-rx="8"
|
|
5980
7532
|
data-node-label-card-elevation={
|
|
5981
7533
|
!reducedMotion && hoveredAlias === session.alias ? 'hover' : 'idle'
|
|
5982
7534
|
}
|
|
@@ -6020,25 +7572,94 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6020
7572
|
transition list extends 'letter-spacing
|
|
6021
7573
|
200ms ease-out' so it eases alongside the
|
|
6022
7574
|
existing 300ms fill transition. */}
|
|
7575
|
+
{/* Round 427 / Loop: extend the node alias label
|
|
7576
|
+
letter-spacing family to a 3-tier scale —
|
|
7577
|
+
rest 0px → hover 0.3px → chat-target 0.5px.
|
|
7578
|
+
Pre-R427 the alias text shifted only when
|
|
7579
|
+
chat was actively pinned (R305); pure node-
|
|
7580
|
+
hover left the text dead-typographic while
|
|
7581
|
+
the surrounding card lifted (R26 translateY
|
|
7582
|
+
+ R242 stroke + filter cues). R427 adds the
|
|
7583
|
+
missing typographic axis to the hover gesture
|
|
7584
|
+
so the alias text rises with the card.
|
|
7585
|
+
The chat-target tier still wins (0.5 > 0.3)
|
|
7586
|
+
so the pin signature stays at the top of the
|
|
7587
|
+
scale — hover is the mid tier between rest
|
|
7588
|
+
and chat-target.
|
|
7589
|
+
Hover-letter-spacing family extension:
|
|
7590
|
+
R344 chip count digit
|
|
7591
|
+
R345 panel title (R423 sibling)
|
|
7592
|
+
R347 active-links chip
|
|
7593
|
+
R351 vendor chip
|
|
7594
|
+
R420 zoom-level chip
|
|
7595
|
+
R427 node alias text (this round)
|
|
7596
|
+
R211 fill 300ms + R305 letter-spacing 200ms
|
|
7597
|
+
transition list preserved; only the
|
|
7598
|
+
conditional gets a middle case. */}
|
|
6023
7599
|
<text
|
|
6024
7600
|
x="0" y="1" textAnchor="middle"
|
|
6025
7601
|
fill={status.text}
|
|
6026
7602
|
fontSize={aliasFs} fontFamily="monospace" fontWeight="700"
|
|
6027
7603
|
data-node-alias-text={session.alias}
|
|
6028
7604
|
data-node-alias-chat-target={chatAlias === session.alias ? 'true' : 'false'}
|
|
7605
|
+
data-node-alias-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
6029
7606
|
style={{
|
|
6030
7607
|
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
6031
|
-
letterSpacing:
|
|
7608
|
+
letterSpacing:
|
|
7609
|
+
chatAlias === session.alias ? '0.5px' :
|
|
7610
|
+
hoveredAlias === session.alias ? '0.3px' : '0px',
|
|
6032
7611
|
}}
|
|
6033
7612
|
>
|
|
6034
7613
|
{truncate(session.alias, fullMax)}
|
|
6035
7614
|
</text>
|
|
7615
|
+
{/* Round 428 / Loop: node sub-text (status label
|
|
7616
|
+
line beneath the alias) adopts hover letter-
|
|
7617
|
+
spacing tween 0 → 0.2px on hoveredAlias.
|
|
7618
|
+
Sibling treatment to R427 alias-text hover
|
|
7619
|
+
tween (0 → 0.3) — the alias is the primary
|
|
7620
|
+
identity (top-tier kerning 0.3), the sub-text
|
|
7621
|
+
is the secondary status line (one tier lower
|
|
7622
|
+
at 0.2). Now both lines of the label card
|
|
7623
|
+
telegraph hover typographically as one unit,
|
|
7624
|
+
matching the R26 card lift + R242 stroke
|
|
7625
|
+
tint + R975 filter cues. Subtler delta on
|
|
7626
|
+
the sub-text (0.2 vs alias 0.3) preserves
|
|
7627
|
+
the alias > status visual hierarchy at the
|
|
7628
|
+
hover scope. R211 fill 300ms transition
|
|
7629
|
+
preserved (additive letter-spacing branch
|
|
7630
|
+
+ appended 'letter-spacing 200ms ease-out'). */}
|
|
7631
|
+
{/* Round 448 / Loop: node sub-text fontWeight
|
|
7632
|
+
400 → 500 (font-medium). Sibling to R363
|
|
7633
|
+
(recent-row text fw 400→500) + R364 (legend-
|
|
7634
|
+
row label fw 400→500) — same "small mono
|
|
7635
|
+
text at fontSize=9-11 needs 500-tier weight
|
|
7636
|
+
for legibility" pattern, now applied to the
|
|
7637
|
+
per-node sub-text line. At fontSize=8-9
|
|
7638
|
+
monospace against the label-card chrome
|
|
7639
|
+
(pal.labelBox.fill cyber #020617 / light
|
|
7640
|
+
#ffffff), the default fw=400 sits at the
|
|
7641
|
+
legibility floor; fw=500 (font-medium) lifts
|
|
7642
|
+
it into a clearly readable band without
|
|
7643
|
+
changing geometry. R211 fill 300ms +
|
|
7644
|
+
R428 letter-spacing 0→0.2 hover + R427
|
|
7645
|
+
alias-text + R429 body opacity all preserved.
|
|
7646
|
+
Pure typography lift; no layout shift; the
|
|
7647
|
+
alias-text fw=700 (R427) still wins so the
|
|
7648
|
+
alias > status hierarchy holds at the type
|
|
7649
|
+
level. data-node-sub-text-font-weight attr
|
|
7650
|
+
exposes the value for tests. */}
|
|
6036
7651
|
<text
|
|
6037
7652
|
x="0" y={subY} textAnchor="middle"
|
|
6038
7653
|
fill={status.primary}
|
|
6039
7654
|
fontSize={subFs} fontFamily="monospace"
|
|
7655
|
+
fontWeight="500"
|
|
6040
7656
|
data-node-sub-text={session.alias}
|
|
6041
|
-
|
|
7657
|
+
data-node-sub-text-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
|
|
7658
|
+
data-node-sub-text-font-weight="500"
|
|
7659
|
+
style={{
|
|
7660
|
+
transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
|
|
7661
|
+
letterSpacing: hoveredAlias === session.alias ? '0.2px' : '0px',
|
|
7662
|
+
}}
|
|
6042
7663
|
>
|
|
6043
7664
|
{status.label}{isOnline && sseCountFor != null ? ` sse:${sseCountFor}` : ''}
|
|
6044
7665
|
</text>
|
|
@@ -6061,6 +7682,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6061
7682
|
// CSS pseudo-class; only the transition-property
|
|
6062
7683
|
// moves to inline. Big fleets benefit most — this is
|
|
6063
7684
|
// the path users see when their dashboard is busiest.
|
|
7685
|
+
/* Round 452 / Loop: dense plain-text alias rest
|
|
7686
|
+
opacity 0.9 → 0.95. Closes the alpha gap on the
|
|
7687
|
+
dense fleet's per-node label, sibling to R449
|
|
7688
|
+
legend-count-active 0.95→1.0 and R450 minimap
|
|
7689
|
+
viewport rest 0.9→0.95 — same "close the
|
|
7690
|
+
active-presence alpha gap" idiom applied here
|
|
7691
|
+
to the dense-mode alias text at fontSize=9-10
|
|
7692
|
+
monospace. Pre-R452 dense aliases at α=0.9 sat
|
|
7693
|
+
just below full alpha; for un-hovered nodes in
|
|
7694
|
+
a busy >16-node fleet this is the only label
|
|
7695
|
+
readable, so the 10% alpha gap added a subtle
|
|
7696
|
+
"soft-focused chrome" feel where the labels
|
|
7697
|
+
should read as definitive. +0.05 lift makes
|
|
7698
|
+
them confidently present without erasing the
|
|
7699
|
+
status.text + R110 stroke halo + paintOrder
|
|
7700
|
+
layering. R26 group-hover translate + R212
|
|
7701
|
+
fill 300ms transition + R110 stroke=container-
|
|
7702
|
+
Bg halo all preserved. data-node-dense-alias-
|
|
7703
|
+
text-opacity attr exposes the resolved value
|
|
7704
|
+
for tests. */
|
|
6064
7705
|
<text
|
|
6065
7706
|
x={pos.x}
|
|
6066
7707
|
y={pos.y + radius + denseDrop}
|
|
@@ -6069,9 +7710,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6069
7710
|
fontSize={denseFs}
|
|
6070
7711
|
fontFamily="monospace"
|
|
6071
7712
|
fontWeight="700"
|
|
6072
|
-
opacity={0.
|
|
7713
|
+
opacity={0.95}
|
|
6073
7714
|
className="group-hover:-translate-y-[1.5px]"
|
|
6074
7715
|
data-node-dense-alias-text={session.alias}
|
|
7716
|
+
data-node-dense-alias-text-opacity="0.95"
|
|
6075
7717
|
style={{
|
|
6076
7718
|
pointerEvents: 'none',
|
|
6077
7719
|
paintOrder: 'stroke',
|
|
@@ -6111,26 +7753,122 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6111
7753
|
const detailY = pos.y - detailH / 2;
|
|
6112
7754
|
return (
|
|
6113
7755
|
<g transform={`translate(${detailX}, ${detailY})`} data-topo-hover-detail={session.alias} style={{ pointerEvents: 'none' }}>
|
|
7756
|
+
{/* Round 387 / Loop: hover-detail panel cyber backdrop
|
|
7757
|
+
opacity 0.94 → 0.97. The hover-detail card is
|
|
7758
|
+
ALWAYS rendered in active-hover context (it IS
|
|
7759
|
+
the hover product), so it should carry the
|
|
7760
|
+
same backdrop weight as the R348 recent-signal /
|
|
7761
|
+
legend panel HOVER state (which lifts 0.92 →
|
|
7762
|
+
0.97 cyber). Pre-R387 the card sat at 0.94
|
|
7763
|
+
cyber, leaving a 0.03 alpha gap against the
|
|
7764
|
+
R348 panel-hover state — small but visible
|
|
7765
|
+
when the hover-detail floats next to a hovered
|
|
7766
|
+
recent-signal panel. R387 unifies them at 0.97
|
|
7767
|
+
so all active-hover panels paint with the same
|
|
7768
|
+
confident backdrop opacity in cyber. Light
|
|
7769
|
+
stays at 0.98 (already at the strong end —
|
|
7770
|
+
R348 light also stays at 0.97/0.98 max).
|
|
7771
|
+
Theme-consistency / canvas-presence polish
|
|
7772
|
+
family (5th anchor):
|
|
7773
|
+
R370 hub hover-ring opacity 0.7 → 0.8 cyber
|
|
7774
|
+
R371 edge-badge rest opacity 0.82 → 0.85 cyber
|
|
7775
|
+
R372 minimap offline-dot opacity 0.5 → 0.6
|
|
7776
|
+
R386 hub-highlight idle opacity 0.9 → 0.95
|
|
7777
|
+
R387 hover-detail panel opacity 0.94 → 0.97 cyber (this round)
|
|
7778
|
+
data-topo-hover-detail-opacity attr exposes
|
|
7779
|
+
the resolved value for tests. R348 drop-shadow
|
|
7780
|
+
+ rx=8 + stroke=pal.legendAccent + fill=pal.
|
|
7781
|
+
labelBox.fill all preserved. */}
|
|
7782
|
+
{/* Round 390 / Loop: hover-detail card rx 8 → 10.
|
|
7783
|
+
Corner-radius cascade family — the hover-detail
|
|
7784
|
+
card is a panel-tier surface (192×88 floating
|
|
7785
|
+
info card with drop-shadow + stroke), so its
|
|
7786
|
+
corner radius should match the R331 panel tier
|
|
7787
|
+
(rx=10) used by the recent-signal and legend
|
|
7788
|
+
panels. Pre-R390 it shared rx=8 with the R332
|
|
7789
|
+
minimap and R375/R376 segmented-control tier
|
|
7790
|
+
(Layout-toggle, nodeSize, zoom wrappers),
|
|
7791
|
+
which is the "compact chrome control" tier —
|
|
7792
|
+
a tier mismatch for a content-bearing panel.
|
|
7793
|
+
Corner-radius cascade (6 anchors now):
|
|
7794
|
+
R330 canvas rx 12 (root)
|
|
7795
|
+
R331 panels rx 10 (recent-signal, legend)
|
|
7796
|
+
R332 minimap rx 8 (compact chrome)
|
|
7797
|
+
R375 Layout-toggle rx 8 (segmented control)
|
|
7798
|
+
R376 nodeSize/zoom rx 8 (segmented control)
|
|
7799
|
+
R390 hover-detail rx 10 (panel — this round)
|
|
7800
|
+
Pure paint change; no layout shift (rx grows
|
|
7801
|
+
the corner curve INWARD without changing the
|
|
7802
|
+
card's outer bbox). data-topo-hover-detail-
|
|
7803
|
+
rx attr exposes the resolved value for tests.
|
|
7804
|
+
R348 drop-shadow + stroke + R387 opacity all
|
|
7805
|
+
preserved. */}
|
|
6114
7806
|
<rect
|
|
6115
|
-
x="0" y="0" width={detailW} height={detailH} rx="
|
|
7807
|
+
x="0" y="0" width={detailW} height={detailH} rx="10"
|
|
6116
7808
|
fill={pal.labelBox.fill}
|
|
6117
7809
|
stroke={pal.legendAccent}
|
|
6118
|
-
opacity={isLight ? 0.98 : 0.
|
|
7810
|
+
opacity={isLight ? 0.98 : 0.97}
|
|
7811
|
+
data-topo-hover-detail-opacity={isLight ? 0.98 : 0.97}
|
|
7812
|
+
data-topo-hover-detail-rx="10"
|
|
6119
7813
|
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
7814
|
/>
|
|
6121
7815
|
<text x="10" y="16" fontSize="9" fontFamily="monospace" fill={pal.legendAccent} fontWeight="700">
|
|
6122
7816
|
{v.id !== 'unknown' ? v.label : '—'}
|
|
6123
7817
|
</text>
|
|
6124
|
-
|
|
7818
|
+
{/* Round 389 / Loop: hover-detail model line (y=32)
|
|
7819
|
+
fontWeight 400 → 600. R388 lifted body lines
|
|
7820
|
+
(runtime/host/task at fontSize=9) to fw=500;
|
|
7821
|
+
R389 closes the typography hierarchy by giving
|
|
7822
|
+
the model name (the dominant subhead text in
|
|
7823
|
+
the card) its own weight tier. Three-tier
|
|
7824
|
+
ladder now reads cleanly:
|
|
7825
|
+
vendor fontSize=9 fw=700 (label badge)
|
|
7826
|
+
model fontSize=10 fw=600 (subhead — this round)
|
|
7827
|
+
body 3× fontSize=9 fw=500 (R388)
|
|
7828
|
+
One tier step per dimension (size + weight)
|
|
7829
|
+
between adjacent levels — classic editorial
|
|
7830
|
+
hierarchy idiom adapted to a 192×88 SVG card.
|
|
7831
|
+
Sibling to the chip-internal-hierarchy arc
|
|
7832
|
+
(R333-R341/R362/R369) which uses fw=600/500
|
|
7833
|
+
for digit/unit pairs; R389 applies the same
|
|
7834
|
+
fw=600 to a content-bearing identity line.
|
|
7835
|
+
data-topo-hover-detail-model-fw attr exposes
|
|
7836
|
+
the resolved value for tests. pal.legendHeadline
|
|
7837
|
+
fill preserved (R389 doesn't touch color). */}
|
|
7838
|
+
<text x="10" y="32" fontSize="10" fontFamily="monospace" fontWeight="600" fill={pal.legendHeadline} data-topo-hover-detail-model-fw="600">
|
|
6125
7839
|
{session.model || 'model · pending'}
|
|
6126
7840
|
</text>
|
|
6127
|
-
|
|
7841
|
+
{/* Round 388 / Loop: hover-detail body lines (the
|
|
7842
|
+
three fontSize=9 lines: runtime, host, task)
|
|
7843
|
+
gain fontWeight=500. Small-text fw lift family
|
|
7844
|
+
(6th anchor) — fontSize 9-10 px text reads
|
|
7845
|
+
consistently bolder at fw=500 than at the
|
|
7846
|
+
default 400 weight at small sizes, especially
|
|
7847
|
+
on the cyber-theme backdrop where stroke-
|
|
7848
|
+
rendering is the limiting factor.
|
|
7849
|
+
Sibling lifts in this family:
|
|
7850
|
+
R363 recent-row alias text 400 → 500
|
|
7851
|
+
R364 legend-row label 400 → 500
|
|
7852
|
+
R366 group-label count tspan 400 → 500
|
|
7853
|
+
R368 +N more flows footer 400 → 500
|
|
7854
|
+
R373 pressure-bar kicker (font-medium)
|
|
7855
|
+
R388 hover-detail body lines 400 → 500 (this round)
|
|
7856
|
+
Tier structure preserved:
|
|
7857
|
+
y=16 vendor (fw=700, headline)
|
|
7858
|
+
y=32 model (fontSize=10, subhead by size)
|
|
7859
|
+
y=48 runtime / y=64 host / y=80 task (body, now fw=500)
|
|
7860
|
+
The y=80 task line keeps opacity=0.7 so its
|
|
7861
|
+
caption-tier identity stays distinct from the
|
|
7862
|
+
y=48 / y=64 body lines despite shared fw.
|
|
7863
|
+
data-topo-hover-detail-body-fw attr exposes
|
|
7864
|
+
the resolved value for tests. */}
|
|
7865
|
+
<text x="10" y="48" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6128
7866
|
{rt ? rt.label : 'runtime · pending'}
|
|
6129
7867
|
</text>
|
|
6130
|
-
<text x="10" y="64" fontSize="9" fontFamily="monospace" fill={pal.legendText}>
|
|
7868
|
+
<text x="10" y="64" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
|
|
6131
7869
|
host · {session.server || 'unknown'}
|
|
6132
7870
|
</text>
|
|
6133
|
-
<text x="10" y="80" fontSize="9" fontFamily="monospace" fill={pal.legendText} opacity="0.7">
|
|
7871
|
+
<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
7872
|
{session.task ? truncate(session.task, 28) : 'no recent task'}
|
|
6135
7873
|
</text>
|
|
6136
7874
|
</g>
|
|
@@ -6194,14 +7932,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6194
7932
|
keySplines="0.25 0.1 0.25 1"
|
|
6195
7933
|
fill="freeze"
|
|
6196
7934
|
/>
|
|
7935
|
+
{/* Round 403 / Loop: click-ripple SMIL initial opacity
|
|
7936
|
+
0.7 → 0.8. Pre-R403 the ripple's opacity animation
|
|
7937
|
+
faded from 0.7 to 0 over 500ms, providing a clean
|
|
7938
|
+
click-feedback pulse. Theme-consistency / canvas-
|
|
7939
|
+
presence polish family (R370 hub hover-ring +
|
|
7940
|
+
R391 hub-spoke active) already lifted paired
|
|
7941
|
+
hover-state alphas from 0.7 → 0.8. R403 brings
|
|
7942
|
+
click-feedback into that same alpha — three canvas
|
|
7943
|
+
state-feedback indicators (hover-ring, active spoke,
|
|
7944
|
+
click ripple) now share a uniform 0.8 start alpha
|
|
7945
|
+
so the visual "I responded" signal carries the
|
|
7946
|
+
same weight regardless of which state fired it.
|
|
7947
|
+
Pre-R403 invariants preserved: 500ms duration,
|
|
7948
|
+
R227 calcMode='spline' + ease-out keySplines
|
|
7949
|
+
(0.25 0.1 0.25 1), fill='freeze', concurrent r
|
|
7950
|
+
animation. Theme-consistency family (8 anchors):
|
|
7951
|
+
R370 hub hover-ring 0.7 → 0.8
|
|
7952
|
+
R371 edge-badge rest 0.82 → 0.85 cyber
|
|
7953
|
+
R372 minimap offline-dot 0.5 → 0.6
|
|
7954
|
+
R386 hub-highlight idle 0.9 → 0.95
|
|
7955
|
+
R387 hover-detail panel 0.94 → 0.97 cyber
|
|
7956
|
+
R391 hub-spoke active 0.7 → 0.8
|
|
7957
|
+
R392 minimap online-dot 0.9 → 0.95
|
|
7958
|
+
R403 click-ripple start 0.7 → 0.8 (this round)
|
|
7959
|
+
data-click-ripple-start-opacity attr exposes the
|
|
7960
|
+
resolved value for tests. */}
|
|
6197
7961
|
<animate
|
|
6198
7962
|
attributeName="opacity"
|
|
6199
|
-
values="0.
|
|
7963
|
+
values="0.8;0"
|
|
6200
7964
|
dur="0.5s"
|
|
6201
7965
|
calcMode="spline"
|
|
6202
7966
|
keyTimes="0;1"
|
|
6203
7967
|
keySplines="0.25 0.1 0.25 1"
|
|
6204
7968
|
fill="freeze"
|
|
7969
|
+
data-click-ripple-start-opacity="0.8"
|
|
6205
7970
|
/>
|
|
6206
7971
|
</circle>
|
|
6207
7972
|
)}
|
|
@@ -6275,17 +8040,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6275
8040
|
<rect
|
|
6276
8041
|
x="0" y="0" width="230" height="88" rx="10"
|
|
6277
8042
|
fill={pal.legendBox.fill}
|
|
6278
|
-
stroke
|
|
6279
|
-
//
|
|
6280
|
-
//
|
|
6281
|
-
//
|
|
6282
|
-
//
|
|
6283
|
-
//
|
|
6284
|
-
//
|
|
6285
|
-
//
|
|
6286
|
-
//
|
|
6287
|
-
//
|
|
6288
|
-
//
|
|
8043
|
+
// Round 423 / Loop: panel rect stroke tints to legendAccent
|
|
8044
|
+
// (cyan) on hover — sibling to R217 label-card stroke
|
|
8045
|
+
// hover-tint at the panel scope. Pre-R423 the panel rect
|
|
8046
|
+
// stroke painted pal.legendBox.stroke (neutral) regardless
|
|
8047
|
+
// of hover state, while every other panel hover cue stacked:
|
|
8048
|
+
// R135 drop-shadow boost
|
|
8049
|
+
// R348 rect opacity 0.92 → 0.97 cyber
|
|
8050
|
+
// R345 title letter-spacing 0.3 → 0.4
|
|
8051
|
+
// R423 rect stroke → legendAccent (this round)
|
|
8052
|
+
// Four hover layers now telegraph "you're entering this
|
|
8053
|
+
// panel" through structural, paint, and typographic axes
|
|
8054
|
+
// simultaneously. R247 transition list already covers
|
|
8055
|
+
// stroke 200ms ease-out so the tint eases naturally.
|
|
8056
|
+
// Sibling change at the legend panel rect below.
|
|
8057
|
+
stroke={hoveredPanel === 'recent' ? pal.legendAccent : pal.legendBox.stroke}
|
|
6289
8058
|
opacity={hoveredPanel === 'recent' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
|
|
6290
8059
|
style={{
|
|
6291
8060
|
/* R135: drop-shadow intensifies on panel hover. Base
|
|
@@ -6409,8 +8178,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6409
8178
|
const alpha = ageSec <= 30
|
|
6410
8179
|
? 1
|
|
6411
8180
|
: ageSec <= 300
|
|
6412
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6413
|
-
: 0.25
|
|
8181
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
8182
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6414
8183
|
// Dark cyan-400 / light teal-600 with alpha — same
|
|
6415
8184
|
// palette as R161's chip bullet so the two scopes
|
|
6416
8185
|
// visually align even side-by-side.
|
|
@@ -6478,13 +8247,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6478
8247
|
tests + count value reads still resolve via
|
|
6479
8248
|
.textContent. data-recent-panel-count-unit on
|
|
6480
8249
|
the inner unit tspan for R336 introspection. */}
|
|
8250
|
+
{/* R424 — recent-signal panel count digit fontWeight
|
|
8251
|
+
600 → 700 on panel hover. Closes the 5-layer panel
|
|
8252
|
+
hover cue stack with a typographic-weight axis at
|
|
8253
|
+
the panel-header data scope: depth (R135 drop-
|
|
8254
|
+
shadow) + solidity (R348 fill opacity) + spacing
|
|
8255
|
+
(R345 title letter-spacing) + edge color (R423
|
|
8256
|
+
stroke tint) + weight (THIS, digit fw). Sibling
|
|
8257
|
+
pattern to R416 chip-digit-hover-bold at chip
|
|
8258
|
+
scope — same "data tightens under attention"
|
|
8259
|
+
idiom now at the panel-header data scope. R311
|
|
8260
|
+
base fw=600 + R225 tabular-nums + R162 fill
|
|
8261
|
+
transition + R336 unit-tspan opacity-0.7 all
|
|
8262
|
+
preserved; only the weight axis tweens via R247's
|
|
8263
|
+
transition shape (added font-weight to the list). */}
|
|
6481
8264
|
<tspan
|
|
6482
8265
|
fill={freshFill}
|
|
6483
|
-
fontWeight=
|
|
8266
|
+
fontWeight={hoveredPanel === 'recent' ? '700' : '600'}
|
|
6484
8267
|
data-recent-panel-count
|
|
6485
8268
|
data-recent-panel-count-freshness-alpha={alpha.toFixed(2)}
|
|
6486
8269
|
style={{
|
|
6487
|
-
transition: 'fill 200ms ease-out',
|
|
8270
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
6488
8271
|
fontVariantNumeric: 'tabular-nums',
|
|
6489
8272
|
}}
|
|
6490
8273
|
>{flowLinks.length}<tspan opacity="0.7" data-recent-panel-count-unit> flows</tspan></tspan>
|
|
@@ -6906,18 +8689,83 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6906
8689
|
const alpha = ageSec <= 30
|
|
6907
8690
|
? 1
|
|
6908
8691
|
: ageSec <= 300
|
|
6909
|
-
? 1 - ((ageSec - 30) / 270) * 0.
|
|
6910
|
-
: 0.25
|
|
8692
|
+
? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
|
|
8693
|
+
: 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
|
|
6911
8694
|
return (
|
|
6912
8695
|
<circle
|
|
6913
8696
|
cx={10}
|
|
6914
8697
|
cy={38 + index * 16 - 3}
|
|
6915
|
-
|
|
8698
|
+
/* Round 359 / Loop: recency pip base radius
|
|
8699
|
+
1.6 → 1.8. Sibling lift to R358's freshness-
|
|
8700
|
+
floor bump (alpha 0.25 → 0.30) — pre-R358/
|
|
8701
|
+
R359 the stale pip painted at r=1.6 + α=0.25
|
|
8702
|
+
which read as near-invisible chrome. R358
|
|
8703
|
+
gave it more alpha; R359 gives it more area
|
|
8704
|
+
(1.8² / 1.6² ≈ 1.27, so ~27 % more glyph)
|
|
8705
|
+
so the pip stays distinguishable across the
|
|
8706
|
+
freshness ramp. Geometry: 1.8-radius dot
|
|
8707
|
+
centred at (10, row_y - 3) is bbox 3.6×3.6,
|
|
8708
|
+
still well inside the 7-px left margin
|
|
8709
|
+
(x=6 rect-start → x=13 text-start) the R160
|
|
8710
|
+
pip was placed in. Overlap-test reads the
|
|
8711
|
+
parent row rect's bbox, not this pip's, so
|
|
8712
|
+
grid+ring invariants hold. Matches the same
|
|
8713
|
+
1.6 → 1.8 visual-weight bump R295 applied
|
|
8714
|
+
to the legend swatch (5.5 → 6 base radius)
|
|
8715
|
+
and R287 to the minimap viewport stroke
|
|
8716
|
+
(1 → 1.5). data-recent-row-freshness-radius
|
|
8717
|
+
attr exposes the value for tests. */
|
|
8718
|
+
/* Round 383 / Loop: recency pip base radius
|
|
8719
|
+
1.8 → 2.0. Continues the R359 lift
|
|
8720
|
+
trajectory — pip area grows ~23 % (π·2²/
|
|
8721
|
+
π·1.8² ≈ 1.23) for a clearer at-a-glance
|
|
8722
|
+
freshness anchor in each row. Bbox 4.0×4.0
|
|
8723
|
+
still inside the 7-px R160 left margin
|
|
8724
|
+
(3-px remaining clearance vs 3.4 at r=1.8
|
|
8725
|
+
— geometry-safe margin holds). Sibling
|
|
8726
|
+
visual-weight bump family (9th anchor now):
|
|
8727
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
8728
|
+
R295 legend swatch base radius 5.5 → 6
|
|
8729
|
+
R359 recent-row pip base radius 1.6 → 1.8
|
|
8730
|
+
R360 hub digit fontSize 11 → 12
|
|
8731
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
8732
|
+
R365 hub-highlight base radius 5 → 5.5
|
|
8733
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
8734
|
+
R374 pressure-bar height 1.5 → 2
|
|
8735
|
+
R383 recent-row pip radius 1.8 → 2.0 (this round)
|
|
8736
|
+
data-recent-row-freshness-radius attr
|
|
8737
|
+
bumps to '2.0' for tests. */
|
|
8738
|
+
/* Round 447 / Loop: recent-row freshness pip
|
|
8739
|
+
radius lift on (isRowHovered || isRowPinned)
|
|
8740
|
+
— r 2.0 → 2.5 (+0.5px, sibling to R442
|
|
8741
|
+
endpoint-ring r lift). Adds a geometric
|
|
8742
|
+
axis to the recent-row hover/pin gesture
|
|
8743
|
+
alongside R143 translateY + R104 row bg-
|
|
8744
|
+
tint + R434 letter-spacing + R445 count
|
|
8745
|
+
fw. Pre-R447 the pip stayed at r=2.0 always
|
|
8746
|
+
— the freshness alpha (R162) tracked
|
|
8747
|
+
recency but didn't telegraph "this row is
|
|
8748
|
+
in focus" geometrically. R447 lifts the
|
|
8749
|
+
pip outward by 25% area (π·2.5² / π·2.0²
|
|
8750
|
+
= 1.56) on attention, closing a 5-axis
|
|
8751
|
+
row-attention signature (geometry + paint
|
|
8752
|
+
+ typography + spacing + position).
|
|
8753
|
+
SVG `r` as CSS property for interpolation
|
|
8754
|
+
(R197/R198 idiom). transition list extends
|
|
8755
|
+
to include 'r 200ms ease-out' matching the
|
|
8756
|
+
opacity cadence. data-recent-row-freshness-
|
|
8757
|
+
lifted attr exposes the gate for tests. */
|
|
6916
8758
|
fill={pal.legendAccent}
|
|
6917
8759
|
opacity={alpha}
|
|
6918
8760
|
data-recent-row-freshness={link.key}
|
|
6919
8761
|
data-recent-row-freshness-alpha={alpha.toFixed(2)}
|
|
6920
|
-
|
|
8762
|
+
data-recent-row-freshness-radius={(isRowHovered || isRowPinned) ? 2.5 : 2.0}
|
|
8763
|
+
data-recent-row-freshness-lifted={(isRowHovered || isRowPinned) ? 'true' : 'false'}
|
|
8764
|
+
style={{
|
|
8765
|
+
pointerEvents: 'none',
|
|
8766
|
+
r: `${(isRowHovered || isRowPinned) ? 2.5 : 2.0}px`,
|
|
8767
|
+
transition: 'opacity 200ms ease-out, r 200ms ease-out',
|
|
8768
|
+
} as React.CSSProperties}
|
|
6921
8769
|
/>
|
|
6922
8770
|
);
|
|
6923
8771
|
})()}
|
|
@@ -6946,11 +8794,65 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
6946
8794
|
fill={isRowActive ? pal.legendHeadline : pal.legendText}
|
|
6947
8795
|
fontSize="9"
|
|
6948
8796
|
fontFamily="monospace"
|
|
8797
|
+
/* Round 363 / Loop: recent-row text fontWeight 400
|
|
8798
|
+
→ 500 (font-medium tier). At fontSize=9 the
|
|
8799
|
+
default-weight 400 glyphs read thin against the
|
|
8800
|
+
panel chrome (pal.legendBox.fill with 0.92/0.97
|
|
8801
|
+
opacity); the 100-weight bump lifts the alias→
|
|
8802
|
+
alias text into the legibility band without
|
|
8803
|
+
changing geometry. The R320 count tspan fw=600
|
|
8804
|
+
(cold) / fw=700 (hot) override still wins
|
|
8805
|
+
locally via inline fontWeight on the inner
|
|
8806
|
+
tspan, so the count-vs-alias hierarchy stays
|
|
8807
|
+
intact:
|
|
8808
|
+
alias fw 500 (R363, this round)
|
|
8809
|
+
count fw 600/700 (R320)
|
|
8810
|
+
Sibling typography lift to R362 chip-row digit
|
|
8811
|
+
500 → 600 — both nudge a within-element data
|
|
8812
|
+
tier without disturbing the surrounding family
|
|
8813
|
+
baseline. data-recent-row-text-font-weight attr
|
|
8814
|
+
exposes the value for tests. */
|
|
8815
|
+
fontWeight="500"
|
|
6949
8816
|
data-recent-row-text={link.key}
|
|
6950
8817
|
data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
|
|
8818
|
+
data-recent-row-text-hovered={!isRowPinned && isRowHovered ? 'true' : 'false'}
|
|
8819
|
+
data-recent-row-text-font-weight="500"
|
|
8820
|
+
/* Round 434 / Loop: recent-signal row text extends
|
|
8821
|
+
from R220's pin-only letter-spacing (0 → 0.5 on
|
|
8822
|
+
isRowPinned) to a 3-tier scale matching R433
|
|
8823
|
+
legend-row at the sibling panel-row scope:
|
|
8824
|
+
rest → 0px
|
|
8825
|
+
isRowHovered → 0.25px ← this round
|
|
8826
|
+
isRowPinned → 0.5px (R220 preserved)
|
|
8827
|
+
Pre-R434 R220 noted: "Hover stays at default
|
|
8828
|
+
tracking — the spread is pin-exclusive so
|
|
8829
|
+
users can read pinned vs hovered at the text
|
|
8830
|
+
alone." R427-R433 established a 3-tier pattern
|
|
8831
|
+
across 4 surfaces (node-alias, edge-badge,
|
|
8832
|
+
group-label, legend-row) where hover gets a
|
|
8833
|
+
subtler intermediate kerning step distinct
|
|
8834
|
+
from the pin tier's stronger spread — the
|
|
8835
|
+
locked vs preview discrimination R220 wanted
|
|
8836
|
+
is preserved (0.5 > 0.25) AND hover gets a
|
|
8837
|
+
typographic axis of its own. R434 completes
|
|
8838
|
+
the 5-surface arc.
|
|
8839
|
+
5-surface 3-tier letter-spacing pattern now
|
|
8840
|
+
spans every interactive label on TopoGraph
|
|
8841
|
+
that distinguishes hover from pin:
|
|
8842
|
+
node-alias (R427) 0 / 0.3 / 0.5
|
|
8843
|
+
edge-badge (R431) 0 / 0.2 / 0.4
|
|
8844
|
+
group-label (R432) 0 / 0.25 / 0.5
|
|
8845
|
+
legend-row (R433) 0 / 0.25 / 0.5
|
|
8846
|
+
recent-row (R434) 0 / 0.25 / 0.5 ← this round
|
|
8847
|
+
Hover-letter-spacing family extension
|
|
8848
|
+
(10 anchors now): R344/R345/R347/R351/R420/
|
|
8849
|
+
R427/R431/R432/R433/R434. R55 fill 150ms +
|
|
8850
|
+
R220 letter-spacing 150ms transition kept
|
|
8851
|
+
(additive conditional case, no new property). */
|
|
6951
8852
|
style={{
|
|
6952
8853
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
6953
|
-
letterSpacing: isRowPinned ? '0.5px' :
|
|
8854
|
+
letterSpacing: isRowPinned ? '0.5px' :
|
|
8855
|
+
isRowHovered ? '0.25px' : '0px',
|
|
6954
8856
|
}}
|
|
6955
8857
|
>
|
|
6956
8858
|
{/* R138 / Loop: typography unification with the rest
|
|
@@ -7010,19 +8912,60 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7010
8912
|
distinct, plus the fill flip from legendText
|
|
7011
8913
|
→ amber carries the dramatic part of the cue).
|
|
7012
8914
|
Sibling treatment in the data-weight tier. */}
|
|
8915
|
+
{/* Round 445 / Loop: extend the R320 cold/hot fw
|
|
8916
|
+
binary (600/700) to ALSO fire on isRowPinned —
|
|
8917
|
+
pinned-cold now lifts to 700 alongside the
|
|
8918
|
+
existing hot-triggered lift. Sibling to R444
|
|
8919
|
+
group-label-count-pin (500→600) at the
|
|
8920
|
+
recent-row scope. Both panel-row counts now
|
|
8921
|
+
respond to pin with a typographic weight lift,
|
|
8922
|
+
part of the "data tightens under attention"
|
|
8923
|
+
family (R416/R424/R425/R426/R444/R445).
|
|
8924
|
+
Effective tiers:
|
|
8925
|
+
cold + un-pinned → fw 600
|
|
8926
|
+
cold + pinned → fw 700 ← this round
|
|
8927
|
+
hot (any pin state) → fw 700 (R320 preserved)
|
|
8928
|
+
hot is still amber-filled (R127); cold pin
|
|
8929
|
+
stays at the parent fill, so the two routes
|
|
8930
|
+
to fw=700 are visually distinct (color vs
|
|
8931
|
+
no color). transition list adds 'font-
|
|
8932
|
+
weight 200ms ease-out' so the lift eases
|
|
8933
|
+
under the same R320 fill cadence. data-
|
|
8934
|
+
recent-row-count-pinned attr exposes the
|
|
8935
|
+
pin gate for tests. */}
|
|
7013
8936
|
<tspan
|
|
7014
8937
|
fill={isHot ? hotStroke : undefined}
|
|
7015
|
-
fontWeight={isHot ? '700' : '600'}
|
|
8938
|
+
fontWeight={(isHot || isRowPinned) ? '700' : '600'}
|
|
7016
8939
|
data-recent-row-count
|
|
8940
|
+
data-recent-row-count-pinned={isRowPinned ? 'true' : 'false'}
|
|
8941
|
+
data-recent-row-count-font-weight={(isHot || isRowPinned) ? '700' : '600'}
|
|
7017
8942
|
{...(isHot ? { 'data-recent-row-count-hot': 'true' } : {})}
|
|
7018
8943
|
style={{
|
|
7019
|
-
transition: 'fill 300ms ease-out',
|
|
8944
|
+
transition: 'fill 300ms ease-out, font-weight 200ms ease-out',
|
|
7020
8945
|
fontVariantNumeric: 'tabular-nums',
|
|
7021
8946
|
}}
|
|
7022
8947
|
>
|
|
7023
8948
|
{link.count}
|
|
7024
8949
|
</tspan>
|
|
7025
|
-
{
|
|
8950
|
+
{/* Round 418 / Loop: recent-row content preview
|
|
8951
|
+
gains opacity=0.7 wrapper — subordinate-text
|
|
8952
|
+
tier at the SVG-text scope. Pre-R418 the
|
|
8953
|
+
truncated content preview (e.g. " · hi there")
|
|
8954
|
+
inherited the row's full opacity, reading at
|
|
8955
|
+
the same emphasis as the alias text and
|
|
8956
|
+
count digit. R418 wraps it in a <tspan> at
|
|
8957
|
+
opacity=0.7 so the preview reads as
|
|
8958
|
+
subordinate metadata — sibling to R333-R341/
|
|
8959
|
+
R362/R369/R389/R410/R412 chip-internal-
|
|
8960
|
+
hierarchy "label tier" (opacity-70) at the
|
|
8961
|
+
HTML scope, and R317 subordinate-text-lift
|
|
8962
|
+
gray-500 → gray-400 family. The leading
|
|
8963
|
+
" · " separator stays at full opacity so
|
|
8964
|
+
the row punctuation rhythm holds. data-
|
|
8965
|
+
recent-row-content-tspan attr surfaces the
|
|
8966
|
+
subordinate wrapper for tests. */}
|
|
8967
|
+
{' · '}
|
|
8968
|
+
<tspan opacity="0.7" data-recent-row-content-tspan>{truncate(link.content, 8)}</tspan>
|
|
7026
8969
|
</text>
|
|
7027
8970
|
{lastAt ? (
|
|
7028
8971
|
/* Round 321 / Loop: lastAt freshness timestamp picks
|
|
@@ -7209,6 +9152,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7209
9152
|
surface. transition list extends letter-spacing
|
|
7210
9153
|
200ms ease-out alongside the existing opacity/
|
|
7211
9154
|
fill easings. */}
|
|
9155
|
+
{/* Round 368 / Loop: `+N more flows` footer text gains
|
|
9156
|
+
fontWeight=500 (font-medium tier). Sibling small-
|
|
9157
|
+
text fw lift family with R363 recent-row alias
|
|
9158
|
+
+ R364 legend-row label + R366 group-label count
|
|
9159
|
+
— all four lifts share the same theory: at small
|
|
9160
|
+
fontSize (9-11 px) against panel chrome, SVG-
|
|
9161
|
+
default fw 400 sits at the legibility floor;
|
|
9162
|
+
fw 500 brings the glyph into the deliberate-data
|
|
9163
|
+
band. fontStyle=italic + opacity 0.55 rest + R325
|
|
9164
|
+
letterSpacing 0.2 baseline + R344 hover-spread
|
|
9165
|
+
0.2 → 0.3 + R195 cyan fill on hover all preserved
|
|
9166
|
+
— the fw bump just thickens the italic stroke.
|
|
9167
|
+
Hover-state punch (R195 fill + R325 opacity 0.55
|
|
9168
|
+
→ 0.85 + R344 letter-spacing + R133 underline)
|
|
9169
|
+
stays as is, so the rest-vs-hover delta still
|
|
9170
|
+
reads clearly. data-recent-panel-more-font-weight
|
|
9171
|
+
attr exposes the value for tests. */}
|
|
7212
9172
|
<text
|
|
7213
9173
|
x="115" y="82"
|
|
7214
9174
|
textAnchor="middle"
|
|
@@ -7216,11 +9176,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7216
9176
|
fontSize="9"
|
|
7217
9177
|
fontFamily="monospace"
|
|
7218
9178
|
fontStyle="italic"
|
|
9179
|
+
fontWeight="500"
|
|
7219
9180
|
letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
|
|
7220
9181
|
opacity={hoveredRecentMore ? 0.85 : 0.55}
|
|
7221
9182
|
textDecoration={hoveredRecentMore ? 'underline' : 'none'}
|
|
7222
9183
|
data-recent-panel-more={moreCount}
|
|
7223
9184
|
data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
|
|
9185
|
+
data-recent-panel-more-font-weight="500"
|
|
7224
9186
|
style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
|
|
7225
9187
|
>
|
|
7226
9188
|
{`+ ${moreCount}`}
|
|
@@ -7272,7 +9234,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7272
9234
|
<rect
|
|
7273
9235
|
x="0" y="0" width="224" height="88" rx="10"
|
|
7274
9236
|
fill={pal.legendBox.fill}
|
|
7275
|
-
stroke
|
|
9237
|
+
// R423 sibling — legend panel rect stroke tints to
|
|
9238
|
+
// legendAccent on hover (mirrors recent-signal panel
|
|
9239
|
+
// above). 4-layer hover cue stack now symmetric across
|
|
9240
|
+
// both side panels.
|
|
9241
|
+
stroke={hoveredPanel === 'legend' ? pal.legendAccent : pal.legendBox.stroke}
|
|
7276
9242
|
// R348 sibling — legend panel rect opacity hover-state
|
|
7277
9243
|
// bump 0.92 → 0.97 (cyber) / 0.97 → 1 (light) on
|
|
7278
9244
|
// hoveredPanel === 'legend'. Pairs with the recent-signal
|
|
@@ -7364,9 +9330,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7364
9330
|
R336 introspection; the parent .textContent still
|
|
7365
9331
|
reads "{N} node(s)" so existing R310 count tests via
|
|
7366
9332
|
textContent unchanged. */}
|
|
9333
|
+
{/* R424 sibling — legend panel count digit fontWeight 600
|
|
9334
|
+
→ 700 on panel hover. Closes 5-layer panel hover cue
|
|
9335
|
+
stack symmetric across both side panels (recent-signal
|
|
9336
|
+
+ legend): depth (R135) + solidity (R348) + spacing
|
|
9337
|
+
(R345) + edge color (R423) + weight (R424). R310 base
|
|
9338
|
+
fw=600 + R292 tabular-nums + R266 fill transition + R336
|
|
9339
|
+
unit-tspan opacity-0.7 all preserved. Same "data tightens
|
|
9340
|
+
under attention" idiom R416 established at chip scope. */}
|
|
7367
9341
|
<text
|
|
7368
9342
|
x="211" y="21" textAnchor="end"
|
|
7369
|
-
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight=
|
|
9343
|
+
fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight={hoveredPanel === 'legend' ? '700' : '600'}
|
|
7370
9344
|
// R349 sibling — legend panel header count picks up
|
|
7371
9345
|
// letterSpacing="0.2", one tier below the R301 panel
|
|
7372
9346
|
// title 0.3. Pairs with the recent-signal panel count
|
|
@@ -7376,7 +9350,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7376
9350
|
data-legend-panel-count
|
|
7377
9351
|
data-legend-panel-count-letter-spacing="0.2"
|
|
7378
9352
|
style={{
|
|
7379
|
-
transition: 'fill 200ms ease-out',
|
|
9353
|
+
transition: 'fill 200ms ease-out, font-weight 200ms ease-out',
|
|
7380
9354
|
fontVariantNumeric: 'tabular-nums',
|
|
7381
9355
|
}}
|
|
7382
9356
|
>{sessions.length}<tspan opacity="0.7" data-legend-panel-count-unit> node{sessions.length === 1 ? '' : 's'}</tspan></text>
|
|
@@ -7595,14 +9569,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7595
9569
|
so this legend-internal circle is invisible to
|
|
7596
9570
|
that probe. pointerEvents:none so the ring can't
|
|
7597
9571
|
intercept the row click that produced it. */}
|
|
9572
|
+
{/* Round 402 / Loop: legend pin-ring strokeWidth 1.5
|
|
9573
|
+
→ 1.75. Sibling visual-weight bump (12th anchor)
|
|
9574
|
+
to R385 hub hover-ring strokeWidth 1.5 → 1.75 —
|
|
9575
|
+
both are pin/hover state indicators painted as
|
|
9576
|
+
stroke-only circles outside their target swatch
|
|
9577
|
+
with the R51 sentinel value 1.5. R402 lifts to
|
|
9578
|
+
1.75 (matching R385's choice) so the pin signal
|
|
9579
|
+
reads slightly heavier without crossing the
|
|
9580
|
+
R51 sentinel band (3 reserved for offline node).
|
|
9581
|
+
The R51 selector is gated to g[data-node]
|
|
9582
|
+
ancestors so this legend-internal circle (lives
|
|
9583
|
+
under a <g data-legend-status>) is invisible
|
|
9584
|
+
to the probe — same lesson R177/R385 documented.
|
|
9585
|
+
Visual-weight bump family (12 anchors now):
|
|
9586
|
+
R287 minimap viewport stroke 1 → 1.5
|
|
9587
|
+
R295 legend swatch radius 5.5 → 6
|
|
9588
|
+
R359 recent-row pip radius 1.6 → 1.8
|
|
9589
|
+
R360 hub digit fontSize 11 → 12
|
|
9590
|
+
R361 edge-badge digit fontSize 10 → 11
|
|
9591
|
+
R365 hub-highlight radius 5 → 5.5
|
|
9592
|
+
R367 edge-badge rest stroke 1 → 1.25
|
|
9593
|
+
R374 pressure-bar height 1.5 → 2
|
|
9594
|
+
R383 recent-row pip radius 1.8 → 2.0
|
|
9595
|
+
R384 minimap online dot 1.7 → 1.9
|
|
9596
|
+
R385 hub hover-ring stroke 1.5 → 1.75
|
|
9597
|
+
R402 legend pin-ring stroke 1.5 → 1.75 (this round)
|
|
9598
|
+
R181 always-mount opacity gate + 150ms transition
|
|
9599
|
+
+ pointerEvents:none all preserved. data-legend-
|
|
9600
|
+
pin-ring-stroke-width attr exposes the value for
|
|
9601
|
+
tests. */}
|
|
7598
9602
|
<circle
|
|
7599
9603
|
cx="16" cy={row.y0} r="8"
|
|
7600
9604
|
fill="none"
|
|
7601
9605
|
stroke={row.fill}
|
|
7602
|
-
strokeWidth="1.
|
|
9606
|
+
strokeWidth="1.75"
|
|
7603
9607
|
opacity={isPinned ? 1 : 0}
|
|
7604
9608
|
data-legend-pin-ring={row.key}
|
|
7605
9609
|
data-legend-pin-ring-pinned={isPinned ? 'true' : 'false'}
|
|
9610
|
+
data-legend-pin-ring-stroke-width="1.75"
|
|
7606
9611
|
style={{
|
|
7607
9612
|
pointerEvents: 'none',
|
|
7608
9613
|
transition: 'opacity 150ms ease-out',
|
|
@@ -7629,11 +9634,61 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7629
9634
|
fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
|
|
7630
9635
|
fontSize="11"
|
|
7631
9636
|
fontFamily="monospace"
|
|
9637
|
+
/* Round 364 / Loop: legend-row label fontWeight 400
|
|
9638
|
+
→ 500. Sibling typography lift to R363 recent-row
|
|
9639
|
+
text fw 400 → 500. Both surfaces render small
|
|
9640
|
+
monospace text against panel chrome at fontSize
|
|
9641
|
+
9-11 where SVG-default fw 400 sits at the
|
|
9642
|
+
legibility floor. font-medium tier (500) gives
|
|
9643
|
+
the label a more deliberate-data register.
|
|
9644
|
+
The R309 per-row count text (separate element
|
|
9645
|
+
below at x=215 textAnchor=end) keeps its own
|
|
9646
|
+
fontWeight 600 inline override, so the count >
|
|
9647
|
+
label hierarchy stays intact at the legend
|
|
9648
|
+
scope same as R363 holds it at the recent-row
|
|
9649
|
+
scope:
|
|
9650
|
+
legend label fw 500 (R364, this round)
|
|
9651
|
+
legend count fw 600 (R309)
|
|
9652
|
+
recent alias fw 500 (R363)
|
|
9653
|
+
recent count fw 600/700 (R320)
|
|
9654
|
+
data-legend-row-label-font-weight attr exposes
|
|
9655
|
+
the value for tests. R219 letter-spacing pin
|
|
9656
|
+
tween + R55 fill transition + R181 always-mount
|
|
9657
|
+
pin ring all preserved. */
|
|
9658
|
+
fontWeight="500"
|
|
7632
9659
|
data-legend-row-label={row.key}
|
|
7633
9660
|
data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
|
|
9661
|
+
data-legend-row-label-hovered={!isPinned && hoveredStatus === row.key ? 'true' : 'false'}
|
|
9662
|
+
data-legend-row-label-font-weight="500"
|
|
9663
|
+
/* Round 433 / Loop: legend-row text extends from
|
|
9664
|
+
R219's pin-only letter-spacing (0px → 0.5px on
|
|
9665
|
+
isPinned) to a 3-tier scale matching the R432
|
|
9666
|
+
group-label pattern:
|
|
9667
|
+
rest → 0px
|
|
9668
|
+
hoveredStatus → 0.25px ← this round
|
|
9669
|
+
isPinned → 0.5px (R219 preserved)
|
|
9670
|
+
Pre-R433 hover already brightened the fill
|
|
9671
|
+
(hoveredStatus===row.key || isPinned matches the
|
|
9672
|
+
legendHeadline branch) but the letter-form
|
|
9673
|
+
stayed dead-typographic on transient hover —
|
|
9674
|
+
only the pin tier carried a kerning signature.
|
|
9675
|
+
R433 adds the missing mid tier so hover
|
|
9676
|
+
telegraphs through BOTH fill brighten AND a
|
|
9677
|
+
subtle 0.25-px kerning spread, mirroring
|
|
9678
|
+
R427/R431/R432 at legend-row scope. Pin tier
|
|
9679
|
+
still wins so the locked vs preview distinction
|
|
9680
|
+
at the type level stays intact.
|
|
9681
|
+
Hover-letter-spacing family extension (9 anchors
|
|
9682
|
+
now): R344/R345/R347/R351/R420/R427/R431/R432/
|
|
9683
|
+
R433. 3-tier letter-spacing pattern now spans 4
|
|
9684
|
+
surfaces (node-alias R427, edge-badge R431,
|
|
9685
|
+
group-label R432, legend-row R433). R55 fill
|
|
9686
|
+
150ms + R219 letter-spacing 150ms transition
|
|
9687
|
+
untouched — additive conditional case. */
|
|
7634
9688
|
style={{
|
|
7635
9689
|
transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
|
|
7636
|
-
letterSpacing: isPinned ? '0.5px' :
|
|
9690
|
+
letterSpacing: isPinned ? '0.5px' :
|
|
9691
|
+
hoveredStatus === row.key ? '0.25px' : '0px',
|
|
7637
9692
|
}}
|
|
7638
9693
|
>{row.label}</text>
|
|
7639
9694
|
{/* R95: live count anchored to the right edge of the
|
|
@@ -7712,20 +9767,60 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7712
9767
|
labels to single status words, the count
|
|
7713
9768
|
becomes proportionally more important; this
|
|
7714
9769
|
round emphasizes that role typographically. */}
|
|
9770
|
+
{/* Round 446 / Loop: legend per-row count fontWeight
|
|
9771
|
+
lift 600 → 700 on isPinned. Mirror of R444 group-
|
|
9772
|
+
label-count + R445 recent-row-count at the
|
|
9773
|
+
legend-row scope. Closes the 3-panel-row family
|
|
9774
|
+
for the "data tightens under attention" pattern —
|
|
9775
|
+
every panel-row count now responds to pin with a
|
|
9776
|
+
typographic-weight bump:
|
|
9777
|
+
R444 group-label-count 500 → 600
|
|
9778
|
+
R445 recent-row-count 600 → 700 (cold-pin route)
|
|
9779
|
+
R446 legend-row-count 600 → 700 ← this round
|
|
9780
|
+
Hover gate (hoveredStatus===row.key) keeps rest
|
|
9781
|
+
fw=600 so the locked-vs-preview distinction at
|
|
9782
|
+
the type level stays intact — same gate R433 used
|
|
9783
|
+
on the parent <text> letter-spacing tween. R309
|
|
9784
|
+
fw=600 baseline + R204 empty-row opacity dim +
|
|
9785
|
+
R225 tabular-nums all preserved. transition list
|
|
9786
|
+
extends to include 'font-weight 150ms ease-out'
|
|
9787
|
+
matching R433 fill/letter-spacing cadence.
|
|
9788
|
+
data-legend-count-pinned + -font-weight attrs
|
|
9789
|
+
exposed for tests. */}
|
|
7715
9790
|
<text
|
|
7716
9791
|
x="215" y={row.y1}
|
|
7717
9792
|
textAnchor="end"
|
|
7718
9793
|
fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? row.fill : pal.legendText}
|
|
7719
9794
|
fontSize="11"
|
|
7720
9795
|
fontFamily="monospace"
|
|
7721
|
-
fontWeight=
|
|
9796
|
+
fontWeight={isPinned ? '700' : '600'}
|
|
9797
|
+
/* Round 449 / Loop: legend-row count active-state
|
|
9798
|
+
opacity 0.95 → 1.0 on (hoveredStatus===row.key
|
|
9799
|
+
|| isPinned). Pre-R449 R204 lifted populated-row
|
|
9800
|
+
active opacity from rest 0.65 to 0.95 — visibly
|
|
9801
|
+
brighter but kept a 5 pct alpha gap (1 - 0.95).
|
|
9802
|
+
R449 closes the gap to 1.0 so the active count
|
|
9803
|
+
reads as confidently present alongside the R446
|
|
9804
|
+
fw=600→700 + R433 letter-spacing tween. Theme-
|
|
9805
|
+
consistency / canvas-presence family extension
|
|
9806
|
+
(7th anchor on the active-presence lift sub-
|
|
9807
|
+
family): R370 hub hover-ring 0.7→0.8, R371 edge-
|
|
9808
|
+
badge rest 0.82→0.85, R372 minimap offline-dot
|
|
9809
|
+
0.5→0.6, R386 hub-highlight idle 0.9→0.95, R387
|
|
9810
|
+
hover-detail panel 0.94→0.97, R429 label-card
|
|
9811
|
+
body 0.94→1.0, R449 legend-count active 0.95→1.0
|
|
9812
|
+
← this round. Empty-row opacity (R204: 0.28
|
|
9813
|
+
light / 0.30 cyber) and idle 0.65 rest both
|
|
9814
|
+
preserved. */
|
|
7722
9815
|
opacity={row.count === 0
|
|
7723
9816
|
? (isLight ? 0.28 : 0.30)
|
|
7724
|
-
: (hoveredStatus === row.key || isPinned ?
|
|
9817
|
+
: (hoveredStatus === row.key || isPinned ? 1 : 0.65)}
|
|
7725
9818
|
data-legend-count={row.key}
|
|
7726
9819
|
data-legend-count-empty={row.count === 0 ? 'true' : 'false'}
|
|
9820
|
+
data-legend-count-pinned={isPinned ? 'true' : 'false'}
|
|
9821
|
+
data-legend-count-font-weight={isPinned ? '700' : '600'}
|
|
7727
9822
|
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' }}
|
|
9823
|
+
style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out, fill 150ms ease-out, font-weight 150ms ease-out', fontVariantNumeric: 'tabular-nums' }}
|
|
7729
9824
|
>{row.count}</text>
|
|
7730
9825
|
</g>
|
|
7731
9826
|
);
|
|
@@ -7949,14 +10044,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7949
10044
|
const isOn = s.status !== 'offline' || !!sseN;
|
|
7950
10045
|
const st = nodeStatus(s, isOn, isLight);
|
|
7951
10046
|
return (
|
|
10047
|
+
/* Round 372 / Loop: minimap offline-dot opacity
|
|
10048
|
+
0.5 → 0.6. Sibling stale-state legibility lift
|
|
10049
|
+
to R358 freshness ramp floor 0.25 → 0.30 + R317
|
|
10050
|
+
subordinate-text-lift family. Pre-R372 R198
|
|
10051
|
+
drew offline dots at α=0.5 (44 % below online
|
|
10052
|
+
0.9). The minimap is a small overlay against
|
|
10053
|
+
the canvas backdrop — at α=0.5 offline dots
|
|
10054
|
+
sat at the legibility floor when the minimap
|
|
10055
|
+
mounted (only on non-default view). R372 lifts
|
|
10056
|
+
offline 0.5 → 0.6 for +20 % relative presence;
|
|
10057
|
+
online stays at 0.9 so the offline/online
|
|
10058
|
+
contrast ratio is now 0.6/0.9 ≈ 0.67 (vs prior
|
|
10059
|
+
0.5/0.9 ≈ 0.56) — still a clear two-tier
|
|
10060
|
+
distinction. R198 opacity + fill + r transition
|
|
10061
|
+
list preserved so status flips still ease
|
|
10062
|
+
smoothly. data-topo-minimap-dot-opacity attr
|
|
10063
|
+
exposes the resolved value for tests. */
|
|
7952
10064
|
<circle
|
|
7953
10065
|
key={s.alias}
|
|
7954
10066
|
cx={p.x * sx} cy={p.y * sy}
|
|
7955
|
-
|
|
10067
|
+
/* Round 384 / Loop: minimap online dot radius 1.7
|
|
10068
|
+
→ 1.9. Sibling visual-weight bump (10th anchor)
|
|
10069
|
+
to R383 recent-row pip 1.8 → 2.0. R198 designed
|
|
10070
|
+
the dots at 1.7 (online) / 1.2 (offline) — at
|
|
10071
|
+
the minimap's 120 × 82 scale these read clearly
|
|
10072
|
+
but the online ↔ offline contrast was modest
|
|
10073
|
+
(1.7/1.2 = 1.42×). R384 bumps online to 1.9 so
|
|
10074
|
+
the tier delta widens to 1.58× (1.9/1.2). Pair
|
|
10075
|
+
completes minimap-dot legibility polish:
|
|
10076
|
+
R358 (era R372) offline opacity 0.5 → 0.6
|
|
10077
|
+
R384 online radius 1.7 → 1.9 (this round)
|
|
10078
|
+
R198 transition list (opacity + fill + r 200ms)
|
|
10079
|
+
preserved so status flips still ease smoothly.
|
|
10080
|
+
data-topo-minimap-dot-radius attr exposes the
|
|
10081
|
+
resolved value for tests. */
|
|
10082
|
+
/* Round 392 / Loop: minimap online dot opacity
|
|
10083
|
+
0.9 → 0.95. Theme-consistency / canvas-presence
|
|
10084
|
+
polish family (7th anchor) — mirrors R386's
|
|
10085
|
+
hub-highlight idle 0.9 → 0.95 lift on the
|
|
10086
|
+
minimap surface: the online-dot's idle alpha
|
|
10087
|
+
gap (0.10 against full presence) halves to
|
|
10088
|
+
0.05, so the live-fleet anchors on the minimap
|
|
10089
|
+
read more confidently. Offline dot stays at
|
|
10090
|
+
R372 0.6 — the binary online/offline contrast
|
|
10091
|
+
ratio shifts from 0.6/0.9 ≈ 0.67 to 0.6/0.95
|
|
10092
|
+
≈ 0.63, preserved as a clear two-tier
|
|
10093
|
+
distinction. R198 opacity + fill + r transition
|
|
10094
|
+
list + R384 r=1.9 + R372 offline 0.6 all
|
|
10095
|
+
preserved. data-topo-minimap-dot-opacity attr
|
|
10096
|
+
bumps to '0.95' for tests. */
|
|
10097
|
+
/* Round 421 / Loop: online dot opacity 0.95 → 1.0
|
|
10098
|
+
on minimap container hover. Sibling to R346
|
|
10099
|
+
viewport rect strokeWidth/opacity hover tween.
|
|
10100
|
+
When the user hovers the minimap container,
|
|
10101
|
+
the live-fleet anchors brighten from R392
|
|
10102
|
+
baseline (0.95) to full opacity in concert
|
|
10103
|
+
with the R346 viewport rect lift. Offline
|
|
10104
|
+
stays at R372 0.6 — hover state focuses
|
|
10105
|
+
attention on the ACTIVE anchors, not the
|
|
10106
|
+
stale ones. data-topo-minimap-dot-opacity
|
|
10107
|
+
attr (R392) reflects the resolved hover-
|
|
10108
|
+
state value for tests. */
|
|
10109
|
+
r={isOn ? 1.9 : 1.2}
|
|
7956
10110
|
fill={st.primary}
|
|
7957
|
-
opacity={isOn ? 0.
|
|
10111
|
+
opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
7958
10112
|
data-topo-minimap-dot={s.alias}
|
|
7959
10113
|
data-topo-minimap-dot-online={isOn ? 'true' : 'false'}
|
|
10114
|
+
data-topo-minimap-dot-opacity={isOn ? (hoveredMinimap ? 1 : 0.95) : 0.6}
|
|
10115
|
+
data-topo-minimap-dot-radius={isOn ? 1.9 : 1.2}
|
|
7960
10116
|
style={{
|
|
7961
10117
|
transition: 'opacity 200ms ease-out, fill 200ms ease-out, r 200ms ease-out',
|
|
7962
10118
|
} as React.CSSProperties}
|
|
@@ -7997,17 +10153,88 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
7997
10153
|
information element to lift it above ambient
|
|
7998
10154
|
chrome. opacity 0.9 stays — strokeWidth alone
|
|
7999
10155
|
does the lifting. */}
|
|
10156
|
+
{/* Round 379 / Loop: minimap viewport rect picks up
|
|
10157
|
+
strokeLinejoin='round'. Pre-R379 the rect's 4
|
|
10158
|
+
corners painted with default 'miter' joins —
|
|
10159
|
+
sharp 90° corners with a small miter overshoot
|
|
10160
|
+
(≈ strokeWidth × 1.4 = 2.1 px at sw=1.5). R379
|
|
10161
|
+
rounds the joins so corners arc smoothly through
|
|
10162
|
+
a quarter-circle of radius ≈ strokeWidth/2. At
|
|
10163
|
+
sw=1.5 that's a 0.75-px radius — subtle but
|
|
10164
|
+
matches the same stroke-softening vocabulary R288
|
|
10165
|
+
chrome icons (zoom/reset/fullscreen) and R378
|
|
10166
|
+
flow-rail already speak. Geometry-safe: stroke-
|
|
10167
|
+
linejoin only affects the corner overshoot, the
|
|
10168
|
+
rect's bbox is unchanged. R287 strokeWidth=1.5 +
|
|
10169
|
+
R346 hover-state strokeWidth/opacity bump + R199
|
|
10170
|
+
smoothView x/y/w/h transition all preserved.
|
|
10171
|
+
data-topo-minimap-viewport-linejoin attr exposes
|
|
10172
|
+
the value for tests. */}
|
|
10173
|
+
{/* Round 393 / Loop: minimap viewport rect rx 0 → 2.
|
|
10174
|
+
Pre-R393 the cyan-stroked viewport rect (the frame
|
|
10175
|
+
showing what's currently visible on the canvas)
|
|
10176
|
+
drew with sharp corners inside the R332 rounded
|
|
10177
|
+
minimap container (rx=8). A small frame with sharp
|
|
10178
|
+
corners sitting inside a rounded container reads
|
|
10179
|
+
as visually loud — the 90° corners catch the eye
|
|
10180
|
+
against the soft container edge. R393 adds rx=2
|
|
10181
|
+
so the viewport corners get a subtle radius that
|
|
10182
|
+
matches the family's softening idiom on a sub-
|
|
10183
|
+
element scale. The R379 strokeLinejoin='round'
|
|
10184
|
+
already softens stroke joins; R393 adds a complete
|
|
10185
|
+
geometric soften via rx.
|
|
10186
|
+
Corner-radius cascade (7 anchors now):
|
|
10187
|
+
R330 canvas rx 12
|
|
10188
|
+
R331 panels rx 10
|
|
10189
|
+
R332 minimap container rx 8
|
|
10190
|
+
R375 Layout-toggle rx 8
|
|
10191
|
+
R376 nodeSize/zoom rx 8
|
|
10192
|
+
R390 hover-detail rx 10
|
|
10193
|
+
R393 minimap viewport rx 2 (this round, sub-element)
|
|
10194
|
+
The 2-px radius is intentionally small — the
|
|
10195
|
+
viewport rect is typically only 30-50px wide,
|
|
10196
|
+
where rx=2 reads as "rounded enough to not snap"
|
|
10197
|
+
without feeling pillowy. data-topo-minimap-
|
|
10198
|
+
viewport-rx attr exposes the resolved value
|
|
10199
|
+
for tests. R346 hover-state tweens (strokeWidth
|
|
10200
|
+
+ opacity) preserved verbatim. */}
|
|
8000
10201
|
<rect
|
|
8001
10202
|
x={Math.max(0, rectX)} y={Math.max(0, rectY)}
|
|
8002
10203
|
width={Math.max(0, Math.min(MW - Math.max(0, rectX), rectW))}
|
|
8003
10204
|
height={Math.max(0, Math.min(MH - Math.max(0, rectY), rectH))}
|
|
10205
|
+
rx="2"
|
|
8004
10206
|
fill="none" stroke={pal.legendAccent}
|
|
8005
10207
|
// R346: strokeWidth + opacity tween on container hover.
|
|
8006
10208
|
strokeWidth={hoveredMinimap ? '1.75' : '1.5'}
|
|
8007
|
-
|
|
10209
|
+
strokeLinejoin="round"
|
|
10210
|
+
/* Round 450 / Loop · milestone: minimap viewport rest
|
|
10211
|
+
opacity 0.9 → 0.95. Closes half the alpha gap on
|
|
10212
|
+
the wayfinding indicator while preserving the
|
|
10213
|
+
R346 hover delta to 1.0. Pre-R450 the rest viewport
|
|
10214
|
+
sat at 0.9 (10 pct alpha gap) — adequate but
|
|
10215
|
+
under-confident for the user's primary "you are
|
|
10216
|
+
here" indicator on the minimap. R450 lifts to 0.95
|
|
10217
|
+
so the rest read is more present without erasing
|
|
10218
|
+
the hover lift cue (the +0.05 rest-to-hover delta
|
|
10219
|
+
is small but pairs with R346 sw 1.5→1.75 to keep
|
|
10220
|
+
hover clearly distinguishable). Sibling to R449
|
|
10221
|
+
legend-count active opacity 0.95→1.0 — same
|
|
10222
|
+
"close the active-presence alpha gap" idiom now
|
|
10223
|
+
applied to the REST tier of the wayfinding rect
|
|
10224
|
+
(the minimap viewport stays at canvas-presence
|
|
10225
|
+
register even when un-hovered since it's the
|
|
10226
|
+
spatial referent). Theme-consistency / canvas-
|
|
10227
|
+
presence family (8th anchor on the active-
|
|
10228
|
+
presence lift sub-arc).
|
|
10229
|
+
R287 strokeWidth=1.5 + R379 strokeLinejoin='round'
|
|
10230
|
+
+ R346 hover-state tweens + R393 rx=2 + R199
|
|
10231
|
+
smoothView x/y/w/h transition all preserved. */
|
|
10232
|
+
opacity={hoveredMinimap ? '1' : '0.95'}
|
|
8008
10233
|
data-topo-minimap-viewport
|
|
10234
|
+
data-topo-minimap-viewport-rx="2"
|
|
8009
10235
|
data-topo-minimap-viewport-smooth={smoothView ? 'true' : 'false'}
|
|
8010
10236
|
data-topo-minimap-viewport-hover={hoveredMinimap ? 'true' : 'false'}
|
|
10237
|
+
data-topo-minimap-viewport-linejoin="round"
|
|
8011
10238
|
style={{
|
|
8012
10239
|
transition: smoothView
|
|
8013
10240
|
? '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 +10293,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8066
10293
|
own transition-colors. Same R254 holdover pattern that
|
|
8067
10294
|
R263 just closed at the canvas wrapper scope, now at the
|
|
8068
10295
|
chrome strip's nodeSize sub-wrapper scope. */}
|
|
10296
|
+
{/* Round 376 / Loop: nodeSize wrapper rounded-md → rounded-lg.
|
|
10297
|
+
Sibling polish to R375 Layout-toggle wrapper. Three
|
|
10298
|
+
chrome-strip segmented controls now all share rounded-lg
|
|
10299
|
+
at the wrapper tier:
|
|
10300
|
+
R375 Layout-toggle wrapper rounded-lg 8 px
|
|
10301
|
+
R376 nodeSize wrapper rounded-lg 8 px (this round)
|
|
10302
|
+
R376 zoom wrapper rounded-lg 8 px (this round)
|
|
10303
|
+
Individual atomic chrome buttons (reset, fullscreen) keep
|
|
10304
|
+
rounded-md (6 px) as their own atomic-button tier — the
|
|
10305
|
+
chrome strip's typography now expresses a clear two-tier
|
|
10306
|
+
hierarchy: 'segmented control container' (rounded-lg)
|
|
10307
|
+
vs 'standalone button' (rounded-md). Pure paint change,
|
|
10308
|
+
no layout shift. */}
|
|
8069
10309
|
<div
|
|
8070
|
-
className="flex items-center rounded-
|
|
10310
|
+
className="flex items-center rounded-lg border overflow-hidden"
|
|
10311
|
+
data-topo-chrome-nodesize-radius="rounded-lg"
|
|
8071
10312
|
style={{
|
|
8072
10313
|
background: pal.legendBox.fill,
|
|
8073
10314
|
borderColor: pal.containerBorder,
|
|
@@ -8147,8 +10388,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8147
10388
|
data-topo-chrome-view-group-leader marks the boundary surface
|
|
8148
10389
|
for the test probe; data-topo-chrome-fleet-group-trailer marks
|
|
8149
10390
|
the nodeSize wrapper's right edge for the gap measurement. */}
|
|
10391
|
+
{/* R376 sibling — zoom wrapper rounded-md → rounded-lg.
|
|
10392
|
+
Closes the chrome-strip segmented-control corner radius
|
|
10393
|
+
cascade (Layout R375 + nodeSize R376 + zoom R376). */}
|
|
8150
10394
|
<div
|
|
8151
|
-
className="ml-1.5 flex items-center rounded-
|
|
10395
|
+
className="ml-1.5 flex items-center rounded-lg border overflow-hidden"
|
|
10396
|
+
data-topo-chrome-zoom-wrapper-radius="rounded-lg"
|
|
8152
10397
|
style={{
|
|
8153
10398
|
background: pal.legendBox.fill,
|
|
8154
10399
|
borderColor: pal.containerBorder,
|
|
@@ -8187,11 +10432,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8187
10432
|
its own compositor layer for crisper edges during
|
|
8188
10433
|
the scale tween. Sibling change on zoom-in icon
|
|
8189
10434
|
below. */}
|
|
10435
|
+
{/* Round 454 / Loop: extend R453 chrome reset icon hover
|
|
10436
|
+
sw lift to zoom +/− icons via Tailwind arbitrary class
|
|
10437
|
+
group-hover:[stroke-width:2.8]. Chrome icon hover sw
|
|
10438
|
+
lift family now 5 anchors:
|
|
10439
|
+
R208 runtime badge outer ring 1.5 → 2
|
|
10440
|
+
R443 runtime badge inner icon 2.4 → 2.8
|
|
10441
|
+
R453 chrome reset icon 2.5 → 2.8
|
|
10442
|
+
R454 chrome zoom-out icon 2.5 → 2.8 ← this round
|
|
10443
|
+
R454 chrome zoom-in icon 2.5 → 2.8 ← this round
|
|
10444
|
+
Tailwind v4 arbitrary-value group-hover variant
|
|
10445
|
+
resolves [stroke-width:2.8] as a CSS property which
|
|
10446
|
+
overrides the static strokeWidth='2.5' attribute on
|
|
10447
|
+
hover. transition-[stroke-width] appended to the
|
|
10448
|
+
existing transition-transform list so the sw tween
|
|
10449
|
+
eases under the same 200ms cadence as R352 group-
|
|
10450
|
+
hover:scale-110. R186 anet-chrome-pop keyframe still
|
|
10451
|
+
owns transform during click via CSS-animation
|
|
10452
|
+
precedence over transition-transform. Sibling change
|
|
10453
|
+
on zoom-in icon below. */}
|
|
8190
10454
|
<svg
|
|
8191
10455
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8192
10456
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8193
10457
|
aria-hidden
|
|
8194
|
-
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-out' ? ' anet-chrome-pop' : ''}`}
|
|
10458
|
+
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' : ''}`}
|
|
8195
10459
|
data-topo-chrome-zoom-out-icon
|
|
8196
10460
|
><path d="M5 12h14" /></svg>
|
|
8197
10461
|
</button>
|
|
@@ -8248,6 +10512,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8248
10512
|
// R347: letter-spacing hover tween — extends R344/R345
|
|
8249
10513
|
// hover-letter-spacing family into the chrome strip.
|
|
8250
10514
|
letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
|
|
10515
|
+
// Round 420 / Loop: zoom-level readout gains a SECOND
|
|
10516
|
+
// hover axis — fontWeight 500 → 600 on hover. Sibling
|
|
10517
|
+
// to R347 (same element, hover letter-spacing tween).
|
|
10518
|
+
// The chrome strip's only data display now has a two-
|
|
10519
|
+
// axis hover signature (letter-spacing + fontWeight),
|
|
10520
|
+
// matching the R416 chip-row chip digit hover-bold
|
|
10521
|
+
// pattern at the chrome scope. Pre-R420 hovering only
|
|
10522
|
+
// spread the digits 0 → 0.5px; the weight stayed at
|
|
10523
|
+
// R332's 'font-medium' (500) baseline. Post-R420
|
|
10524
|
+
// hover lifts BOTH letter-spacing AND weight so the
|
|
10525
|
+
// percent reads with the same data-tier emphasis
|
|
10526
|
+
// intensification the chip-row chips do on hover.
|
|
10527
|
+
// Inline fontWeight overrides the className's
|
|
10528
|
+
// 'font-medium' since they target the same property.
|
|
10529
|
+
// 200ms transition list extends to font-weight for
|
|
10530
|
+
// smooth easing. data-topo-chrome-zoom-level-hover
|
|
10531
|
+
// attr surfaces the hover state for tests.
|
|
10532
|
+
fontWeight: hoveredZoomLevel ? 600 : 500,
|
|
8251
10533
|
/* Round 264 / Loop: zoom level readout gains theme-toggle
|
|
8252
10534
|
transition. The span has theme-driven color (pal.
|
|
8253
10535
|
legendText) + border-x (pal.containerBorder via the
|
|
@@ -8256,7 +10538,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8256
10538
|
on theme flip while siblings eased. Sibling treatment
|
|
8257
10539
|
to the nodeSize + zoom wrapper transitions added this
|
|
8258
10540
|
round. */
|
|
8259
|
-
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out',
|
|
10541
|
+
transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
|
|
8260
10542
|
}}
|
|
8261
10543
|
title="Current zoom level"
|
|
8262
10544
|
>
|
|
@@ -8278,11 +10560,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8278
10560
|
{/* R352 sibling — zoom-in icon picks up the same
|
|
8279
10561
|
group-hover:scale-110 family. Mirror change at
|
|
8280
10562
|
the zoom-out icon above. */}
|
|
10563
|
+
{/* R454 sibling — zoom-in icon picks up the same
|
|
10564
|
+
group-hover:[stroke-width:2.8] family lift. */}
|
|
8281
10565
|
<svg
|
|
8282
10566
|
width="12" height="12" viewBox="0 0 24 24"
|
|
8283
10567
|
fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
|
|
8284
10568
|
aria-hidden
|
|
8285
|
-
className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-in' ? ' anet-chrome-pop' : ''}`}
|
|
10569
|
+
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' : ''}`}
|
|
8286
10570
|
data-topo-chrome-zoom-in-icon
|
|
8287
10571
|
><path d="M12 5v14M5 12h14" /></svg>
|
|
8288
10572
|
</button>
|
|
@@ -8299,7 +10583,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8299
10583
|
onBlur={() => setHoveredReset(false)}
|
|
8300
10584
|
// R196: press-state deepens before R184 reset-spin fires on
|
|
8301
10585
|
// release — mouse-down dim then 450ms spin = full handshake.
|
|
8302
|
-
|
|
10586
|
+
/* Round 400 / Loop · milestone: chrome reset + fullscreen
|
|
10587
|
+
buttons gain hover:-translate-y-px lift — closes the
|
|
10588
|
+
hover-lift gesture vocabulary across every standalone
|
|
10589
|
+
interactive HTML element in TopoGraph. Segmented
|
|
10590
|
+
controls (zoom -/+, nodeSize S/M/L, Layout Ring/Grid)
|
|
10591
|
+
intentionally stay planted: lifting one segment of a
|
|
10592
|
+
unified strip would tear the visual unity of the
|
|
10593
|
+
segmented control. Only the standalone chrome buttons
|
|
10594
|
+
(reset, fullscreen) get the lift.
|
|
10595
|
+
Gesture vocabulary post-R400 (now complete across HTML):
|
|
10596
|
+
chip-row chips (3×) -1 px R398, R399
|
|
10597
|
+
filter pin pills (4×) -1 px R397
|
|
10598
|
+
recent-signal row -1 px R143
|
|
10599
|
+
legend row -1 px R144
|
|
10600
|
+
reset button -1 px R400 (this round)
|
|
10601
|
+
fullscreen button -1 px R400 (this round)
|
|
10602
|
+
Every standalone interactive HTML surface in TopoGraph
|
|
10603
|
+
now lifts on hover. data-topo-chrome-reset-hover-lift
|
|
10604
|
+
attr surfaces the lift for tests. */
|
|
10605
|
+
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"
|
|
10606
|
+
data-topo-chrome-reset-hover-lift="true"
|
|
8303
10607
|
style={{ background: pal.legendBox.fill, borderColor: pal.containerBorder, color: pal.legendText }}
|
|
8304
10608
|
aria-label="Reset view"
|
|
8305
10609
|
title="Reset zoom + pan (0, or double-click the canvas)"
|
|
@@ -8319,13 +10623,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8319
10623
|
(2.5) all share one weight. View-box (24×24) and
|
|
8320
10624
|
display size (13×13) unchanged, so geometry stays
|
|
8321
10625
|
pixel-stable — only the stroke deepens. */}
|
|
10626
|
+
{/* Round 453 / Loop: chrome reset icon strokeWidth hover
|
|
10627
|
+
lift — 2.5 → 2.8 on hoveredReset && !resetSpinning.
|
|
10628
|
+
Sibling to R443 runtime badge inner-icon sw lift
|
|
10629
|
+
(2.4→2.8) — both chrome icons now thicken on hover
|
|
10630
|
+
for tactile feedback. Pre-R453 reset hover was a
|
|
10631
|
+
rotate-only cue (R350); R453 adds a stroke-weight
|
|
10632
|
+
axis so the affordance reads with both motion (R350
|
|
10633
|
+
rotate -8°) AND geometry (R453 sw +0.3). Gated on
|
|
10634
|
+
!resetSpinning so the R184 spin keyframe owns paint
|
|
10635
|
+
during its 450ms run. 200ms stroke-width transition
|
|
10636
|
+
appended to the style list matches R350 transform
|
|
10637
|
+
cadence. data-topo-chrome-reset-icon-stroke-width
|
|
10638
|
+
attr exposes the resolved value for tests. */}
|
|
8322
10639
|
<svg
|
|
8323
10640
|
width="13" height="13" viewBox="0 0 24 24"
|
|
8324
|
-
fill="none" stroke="currentColor"
|
|
10641
|
+
fill="none" stroke="currentColor"
|
|
10642
|
+
strokeWidth={hoveredReset && !resetSpinning ? '2.8' : '2.5'}
|
|
8325
10643
|
strokeLinecap="round" strokeLinejoin="round"
|
|
8326
10644
|
aria-hidden
|
|
8327
10645
|
className={resetSpinning ? 'anet-reset-spin' : undefined}
|
|
8328
10646
|
data-topo-chrome-reset-icon
|
|
10647
|
+
data-topo-chrome-reset-icon-stroke-width={hoveredReset && !resetSpinning ? '2.8' : '2.5'}
|
|
8329
10648
|
// R350: hover-rotate preview of the R184 click-spin.
|
|
8330
10649
|
// Gated on !resetSpinning so the anet-reset-spin keyframe
|
|
8331
10650
|
// owns transform during its 450ms run. transformOrigin
|
|
@@ -8334,7 +10653,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8334
10653
|
style={{
|
|
8335
10654
|
transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
|
|
8336
10655
|
transformOrigin: 'center',
|
|
8337
|
-
transition: 'transform 200ms ease-out',
|
|
10656
|
+
transition: 'transform 200ms ease-out, stroke-width 200ms ease-out',
|
|
8338
10657
|
}}
|
|
8339
10658
|
data-topo-chrome-reset-icon-hover={hoveredReset && !resetSpinning ? 'true' : 'false'}
|
|
8340
10659
|
>
|
|
@@ -8370,11 +10689,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8370
10689
|
its inactive state benefits from the same "hover previews
|
|
8371
10690
|
active state" idiom R163 designed. Sibling treatment to
|
|
8372
10691
|
the nodeSize buttons at line ~6711. */
|
|
8373
|
-
|
|
10692
|
+
// R353: `group` lets the inner svg respond via group-hover —
|
|
10693
|
+
// sibling to R352 zoom buttons. Closes the chrome-strip per-
|
|
10694
|
+
// icon hover-affordance arc (zoom-out / zoom-in / reset /
|
|
10695
|
+
// fullscreen now all carry an icon-level hover gesture in
|
|
10696
|
+
// addition to the bg hover).
|
|
10697
|
+
// R400: hover translateY(-1px) lift — see reset button above for family doc.
|
|
10698
|
+
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 ${
|
|
8374
10699
|
isFullscreen
|
|
8375
10700
|
? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
|
|
8376
10701
|
: 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
|
|
8377
10702
|
}${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
|
|
10703
|
+
data-topo-chrome-fullscreen-hover-lift="true"
|
|
8378
10704
|
style={{
|
|
8379
10705
|
borderColor: pal.containerBorder,
|
|
8380
10706
|
...(isFullscreen
|
|
@@ -8389,12 +10715,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
8389
10715
|
at the reset icon above. data-topo-chrome-fullscreen-
|
|
8390
10716
|
icon attribute exposes BOTH variants (entered / exited)
|
|
8391
10717
|
for the round's stroke-width regression probe. */}
|
|
10718
|
+
{/* Round 353 / Loop: fullscreen icon (both enter + exit
|
|
10719
|
+
variants) picks up the R352 family group-hover:scale-110.
|
|
10720
|
+
Pre-R353 hovering the button only changed the bg; the
|
|
10721
|
+
icon stayed still. R353 lifts the icon 10 % on hover —
|
|
10722
|
+
same gesture vocabulary as the zoom buttons. transform-
|
|
10723
|
+
gpu hint promotes the svg to its own compositor layer
|
|
10724
|
+
for crisper edges during the scale tween. Closes the
|
|
10725
|
+
chrome-strip per-icon hover-affordance arc. */}
|
|
10726
|
+
{/* R455 — fullscreen ENTER + EXIT icons pick up the same
|
|
10727
|
+
group-hover:[stroke-width:2.8] family lift as the
|
|
10728
|
+
zoom +/− icons (R454) and chrome reset icon (R453).
|
|
10729
|
+
Chrome icon hover sw lift family now 6 anchors —
|
|
10730
|
+
R208/R443 runtime badge + R453/R454-zoom-out/zoom-in
|
|
10731
|
+
+ R455 fullscreen (this round). transition-[transform,
|
|
10732
|
+
stroke-width] expands existing transition-transform
|
|
10733
|
+
so the sw lift eases under R352 scale-110 cadence. */}
|
|
8392
10734
|
{isFullscreen ? (
|
|
8393
|
-
<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">
|
|
10735
|
+
<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">
|
|
8394
10736
|
<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" />
|
|
8395
10737
|
</svg>
|
|
8396
10738
|
) : (
|
|
8397
|
-
<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">
|
|
10739
|
+
<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">
|
|
8398
10740
|
<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" />
|
|
8399
10741
|
</svg>
|
|
8400
10742
|
)}
|