feat(logs): URL deep-link + fetched-age chip for AGENT/SYSTEM tabs

Adds ?agent=name and ?unit=svc URL params to pre-select the agent on
the AGENT tab (used by the per-agent overflow menu journal logs link).
Last-fetched timestamp chip shows how stale the output is.

Agent selection is NOT persisted to localStorage — URL params only.
This commit is contained in:
iris 2026-06-05 13:14:58 +02:00 committed by mara
commit b6b93f9fff
4 changed files with 69 additions and 9 deletions

View file

@ -71,6 +71,8 @@ body.logs-shell {
font-size: 0.85em;
}
.journal-refresh { font-size: 0.75em; padding: 0.15em 0.5em; }
/* "fetched N ago" chip next to the refresh button on AGENT + SYSTEM tabs. */
.logs-fetch-ts { font-size: 0.8em; color: var(--muted); }
.journal-output {
margin: 0;
background: var(--crust);