From 46fb09e2f77f4bfee629b03815f11c5a8d4a23c2 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Fri, 3 Jan 2025 13:09:36 -0800 Subject: [PATCH] feat: handles container exits better and uses the real time when container has exited (#3504) --- assets/components/ContainerPopup.vue | 18 +++-- assets/components/FuzzySearchModal.spec.ts | 42 +++++++++++- assets/components/HostMenu.vue | 2 +- .../components/LogViewer/EventSource.spec.ts | 14 +++- assets/composable/eventStreams.ts | 3 +- assets/models/Container.ts | 2 + assets/stores/container.ts | 17 ++++- assets/types/Container.d.ts | 4 +- internal/docker/client.go | 8 ++- internal/docker/container_store.go | 28 ++++++++ internal/docker/types.go | 28 ++++---- internal/web/__snapshots__/web.snapshot | 66 +++++-------------- internal/web/events.go | 8 +++ internal/web/logs.go | 12 +++- internal/web/logs_test.go | 19 ++++-- vite.config.ts | 10 +-- 16 files changed, 191 insertions(+), 90 deletions(-) diff --git a/assets/components/ContainerPopup.vue b/assets/components/ContainerPopup.vue index c65d07058da8..5ba3836797dc 100644 --- a/assets/components/ContainerPopup.vue +++ b/assets/components/ContainerPopup.vue @@ -1,15 +1,25 @@