Skip to content

Logs viewer enhancements + responsive layout#92

Merged
kavehtoyser merged 9 commits into
developfrom
logs-viewer-enhancements
Jun 29, 2026
Merged

Logs viewer enhancements + responsive layout#92
kavehtoyser merged 9 commits into
developfrom
logs-viewer-enhancements

Conversation

@kavehtoyser

Copy link
Copy Markdown
Collaborator

Enhancements to the redesigned UI (follow-on to the 1.4.0 redesign). Front-end only — no backend changes (export/search reuse the existing log endpoints with tail=all); all in the shared manager/templates/logs.html + two route context values + the dashboard CSS.

What's new

  • Full-screen responsive logs view — the console now fills the viewport (flex column) instead of a fixed 60vh / 1180px card; scales with window size.
  • Wider dashboard.page max-width 1180 → 1600px (uses more of the screen).
  • Export logs — toolbar button downloads the service's (or manager's) full log as ‹name›_v‹version›_‹UTC-timestamp›.log (client-side Blob).
  • Search logs — toolbar box filters the full log to matching lines (case-insensitive), highlights the term, shows a match count; auto-pauses Follow; clearing restores the live tail.

Implementation notes

  • Shared logs.html serves both per-service (/services/~logs/view) and manager (/logs/view) logs, so both get every feature.
  • Live tail refactored into a cancellable startStream() (AbortController); search/export fetches are also abortable and guarded so a late result can't clobber the restarted tail.
  • XSS-safe: log/search text inserted via textContent/createTextNode; highlights are <mark> element nodes — never innerHTML on log content.
  • Guard tests in tests/manager_test/test_ui_redesign.py (17 pass); black + pylint clean.

Built via spec → plan → subagent-driven development (docs under docs/superpowers/). Whole-branch review: READY TO MERGE.

kavehtoyser and others added 9 commits June 29, 2026 15:52
Full-screen responsive logs console, full-width-ish dashboard, log export
(full history -> .log download), and in-log search (filter to matches over
full history). Reuses the shared logs.html; no backend changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5 tasks: widen dashboard, full-screen responsive logs console, full_url/
export_basename route context, export + search toolbar, live verification.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kavehtoyser kavehtoyser merged commit bfb037d into develop Jun 29, 2026
8 checks passed
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.

1 participant