Skip to content

fix(ui): Dashboard Timeline tile leads with the display name, slug beneath (#1641) - #1700

Merged
vybe merged 3 commits into
devfrom
fix/1641-timeline-tile-display-name
Jul 20, 2026
Merged

vybe merged 3 commits into
devfrom
fix/1641-timeline-tile-display-name

Conversation

@dolho

@dolho dolho commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What

The Dashboard Timeline view's compact agent tiles were naming agents by the slug (e.g. a2a-demo), with the display name only in the hover tooltip. Spotted live: an agent labelled "Zeta Ops" still read a2a-demo on its tile.

That was the dense-table treatment #1643 applied when it bucketed ReplayTimeline with the operational rows. But this tile is roomy — lg avatar, three rows, autonomy toggle, capacity meter, 72px tall — so by the #964 render rule it's a roomy surface: lead with the display name, keep the slug visible as secondary text.

Change

ReplayTimeline.vue name cell → a tight two-line stack:

  • display name on the name line (agentDisplayName)
  • the slug as a small muted line directly beneath — rendered only when a distinct label is set (hasDistinctLabel), so an unlabelled agent is byte-identical to before (slug on one line, no second row).

The hover tooltip still carries label · slug. row.name (the slug) still drives the avatar, navigateToAgent, and toggleAutonomy — display-only change.

Verified on the live instance

With a2a-demo labelled "Zeta Ops" and slack-tester labelled "TOM Marketing":

a2a-demo      → primary "Zeta Ops"        slug line "a2a-demo"
slack-tester  → primary "TOM Marketing"   slug line "slack-tester"
cornelius     → primary "cornelius"       (no second line — unlabelled)

SFC compiles via @vue/compiler-sfc; behavior confirmed against the real fleet from /api/agents.

Scope

Partially addresses #1641 (roomy surfaces, #964 follow-up 3/5) and corrects the ReplayTimeline classification from #1643. Kept off the #1642 PR (pickers/search/sort) since it's a different surface class.

Related to #1641

🤖 Generated with Claude Code

dolho added 2 commits July 20, 2026 12:42
…neath (#1641)

The Timeline dashboard's compact agent tiles were showing the slug as the
primary name with the label only in the hover tooltip — the dense-table
treatment #1643 applied when it bucketed ReplayTimeline with the operational
rows. But the tile is roomy (lg avatar, three rows, autonomy toggle, capacity
meter, 72px), so by the #964 render rule it belongs in the roomy class: lead
with the display name, keep the slug visible as secondary text.

Now renders the display name on the name line with the slug as a small muted
line directly beneath — shown ONLY when a distinct label is set, so an
unlabelled agent is byte-identical to before (slug on one line, no second row).
The hover tooltip still carries `label · slug`. row.name (the slug) continues to
drive the avatar, navigateToAgent, and toggleAutonomy — this is display-only.

Partially addresses #1641 (roomy surfaces, follow-up 3/5); corrects the
ReplayTimeline classification from #1643.

Related to #1641
… store

The first cut resolved the label via agentsStore.agentRefForSlug — but the
Dashboard populates networkStore, NOT agentsStore, so agentsStore.agents is
empty there and every tile rendered the slug (the feature was invisible for
labelled agents; the #1643 hover tooltip had the same latent gap on this view).

Thread `displayLabel` onto the row from the data the tile is already built from
— `agent.display_label` (networkStore.agents = the /api/agents payload, carries
it) with a `nodeData.display_label` fallback (the graph node data, #1643) — and
render the name/slug-line/tooltip off the row. No store lookup, so it works
regardless of which store the host view loaded. Verified props.agents/props.nodes
come from storeToRefs(networkStore) and both carry the label.

Related to #1641
@dolho

dolho commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author
image

@dolho
dolho requested a review from vybe July 20, 2026 09:57
The pytest (head, seed 99999) + regression-diff jobs on f92756c were
CANCELLED mid-run, not failing — this PR is frontend-only (ReplayTimeline.vue)
and the regression diff reported "No new failures". Empty commit to get a
clean run.

Related to #1641

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated via /validate-pr: resolvers imported, and the label is sourced off the networkStore agent/nodeData the tile is already built from (nodeData is in scope in the same computed) rather than the agents store the Dashboard never populates — that sourcing is the load-bearing detail here. Slug stays visible as the secondary line and avatar/navigate/toggle still key on row.name. All checks green.

Note: intentionally left without a Fixes keyword — #1641 covers nine roomy surfaces and this fixes the Timeline tile only, so the issue should stay open rather than auto-promote.

@vybe
vybe merged commit ff602c7 into dev Jul 20, 2026
21 checks passed
dolho added a commit that referenced this pull request Jul 21, 2026
…cancels)

The pytest matrix job runs ~7-8 min on a normal GitHub runner, but the shared
runners vary ~2-2.5x. A slow one was sitting at ~78% of the suite (all tests
passing — pure dots in the log) when it hit the 15-min `timeout-minutes` and got
killed, which surfaces as a red "pytest (…) fail" + a "regression diff" fail even
though the diff itself reports "No new failures". Seen repeatedly this cycle
(#1700, #1712) with zero real failures.

25 min gives headroom for the slow tail without masking a genuine hang —
pytest-timeout still bounds any single test. Not payload-specific; belongs on
dev so every PR stops flaking on runner variance.

Related to #1712
vybe pushed a commit that referenced this pull request Jul 21, 2026
…#1712) (#1717)

* fix(reliability): honest per-agent circuit-breaker toggle in Settings (#1712)

The dispatch breaker is two-tier — per-agent `circuit_breaker_enabled` AND the
platform-wide `DISPATCH_BREAKER_ENABLED` must both be on. The endpoint already
returns `config.global_enabled` (GET) and a `warning` (PUT) when a toggle is
inert (#1491/#1499). The residual #1712 gap was the UI: there was no owner-facing
toggle at all — it was a growth-path TODO in SettingsPanel — and the API-level
"toggle reports success while doing nothing" had no honest surface.

New `ReliabilityPanel.vue` (agent Settings tab):
- Reads `config.global_enabled` from the endpoint (consumes, doesn't infer), so
  the honest state shows on every (re)load — including a persisted-but-inert "on".
- When the global flag is OFF: a clear amber notice names the REASON (the
  platform-wide flag is off) and the REMEDY (an admin sets
  `DISPATCH_BREAKER_ENABLED=true` in the environment) — it does not silently
  accept-and-succeed. The toggle stays operable (the owner may pre-set their
  preference), with a "saved · inactive" badge so the inertness is explicit.
- On save while global-off, surfaces the endpoint's `warning` as the outcome,
  not a plain "Saved". When both flags are on, shows an "active" badge.

No change to gating semantics (both flags still required; config.py untouched).

Open question (global default) — decision: keep `DISPATCH_BREAKER_ENABLED=false`
for this release. Flipping it to true would start engaging the breaker for any
already-opted-in agent mid-freeze (a runtime behaviour change needing soak); the
honest UI removes the confusion without that risk. Revisit post-freeze. Recorded
on #1712.

Static guards (tests/unit/test_1712_*): fail if the panel drops the
global_enabled read, the warning surface, the reason/remedy copy, or its mount in
SettingsPanel — the honesty can't silently regress. Verified live: GET returns
`global_enabled:false` on this install; PUT enabled=true returns the inert
warning, which the panel surfaces.

Related to #1712

* ci: re-trigger unit suite (prior run cancelled, not a failure)

The pytest + regression-diff jobs on 6536a34 were CANCELLED mid-run (15m in),
not failing — this PR is frontend-only (ReliabilityPanel.vue + a static guard
test) and can't affect the Python suite. Empty commit for a clean run.

Related to #1712

* ci: raise backend-unit-test pytest timeout 15m → 25m (fixes spurious cancels)

The pytest matrix job runs ~7-8 min on a normal GitHub runner, but the shared
runners vary ~2-2.5x. A slow one was sitting at ~78% of the suite (all tests
passing — pure dots in the log) when it hit the 15-min `timeout-minutes` and got
killed, which surfaces as a red "pytest (…) fail" + a "regression diff" fail even
though the diff itself reports "No new failures". Seen repeatedly this cycle
(#1700, #1712) with zero real failures.

25 min gives headroom for the slow tail without masking a genuine hang —
pytest-timeout still bounds any single test. Not payload-specific; belongs on
dev so every PR stops flaking on runner variance.

Related to #1712
vybe pushed a commit that referenced this pull request Jul 22, 2026
…cancels) (#1719)

The pytest matrix job runs ~7-8 min on a normal GitHub runner, but the shared
runners vary ~2-2.5x. A slow one was sitting at ~78% of the suite (all tests
passing — pure dots in the log) when it hit the 15-min `timeout-minutes` and got
killed, which surfaces as a red "pytest (…) fail" + a "regression diff" fail even
though the diff itself reports "No new failures". Seen repeatedly this cycle
(#1700, #1712) with zero real failures.

25 min gives headroom for the slow tail without masking a genuine hang —
pytest-timeout still bounds any single test. Not payload-specific; belongs on
dev so every PR stops flaking on runner variance.

Related to #1712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants