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>
27 lines
554 B
HTML
27 lines
554 B
HTML
<page-header
|
|
title="'Task details'"
|
|
breadcrumbs="[
|
|
{ label:'Services', link:'docker.services' },
|
|
{
|
|
label:service.Name,
|
|
link:'docker.services.service',
|
|
linkParams:{ id: service.Id }
|
|
},
|
|
{
|
|
label:task.Id,
|
|
link:'docker.tasks.task',
|
|
linkParams:{ id: task.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="task.Id"
|
|
></log-viewer>
|