343d36834a
Per maintainer request: remove the 'Auto-refresh logs' toggle entirely — logs are now always collected (container always streams, service/task always poll). Drops state.logCollection and its whole cascade (handleLogsCollectionChange, the logCollectionChange binding, changeLogCollection in all three view controllers, the log-collection-change attribute) and the now-dead manual flush-on-pause machinery (pausedFlushCount / removeTailLines / the flush branch); pauseStream is kept for $destroy/reconnect teardown, and the stream/poll start unconditionally. Collapse the seven stacked settings rows into a single compact flex row (wrap-lines, timestamps, fetch, lines, search, actions) — bindings unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
479 B
HTML
26 lines
479 B
HTML
<page-header
|
|
title="'Service logs'"
|
|
breadcrumbs="[
|
|
{
|
|
label: 'Services',
|
|
link: 'docker.services'
|
|
},
|
|
{
|
|
label: service.Name,
|
|
link: 'docker.services.service',
|
|
linkParams: { id: service.Id }
|
|
},
|
|
'Logs'
|
|
]"
|
|
>
|
|
</page-header>
|
|
|
|
<log-viewer
|
|
data="logs"
|
|
ng-if="logs"
|
|
display-timestamps="state.displayTimestamps"
|
|
line-count="state.lineCount"
|
|
since-timestamp="state.sinceTimestamp"
|
|
resource-name="service.Name"
|
|
></log-viewer>
|