Files
agent_coder 7f02d20e54 feat(logs): React log viewer for container logs
Replace the legacy AngularJS <log-viewer> on the container logs page with a
modern React log viewer, reusing the existing streaming (#6) and formatting/
coloring pipeline. Features: line-number gutter, zerolog level + key=value
coloring (from the existing formatter spans), from/to datetime range, Lines
limit, Line numbers / Timestamp / Wrap lines toggles, Auto refresh (live tail
on/off), Search + 'Filter search results', Copy, Download logs, and fullscreen.

The viewer is source-agnostic (StreamLogsFn), so service/task logs can adopt it
later; this PR wires container logs only. containerLogsController.js no longer
opens its own live stream (React owns fetching now), preventing a double stream.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 19:05:56 +03:00

9 lines
458 B
HTML

<page-header title="'Container logs'" breadcrumbs="breadcrumbs"> </page-header>
<!-- The React <container-log-view> now owns the whole logs page: it renders the
"logging disabled" panel when logging is off, and the React log viewer
(live tailing, formatting, colouring) when it is on. The legacy AngularJS
<log-viewer> is intentionally no longer used here (service/task pages still
use it). -->
<container-log-view></container-log-view>