From 07ac29faa6995da4b5a26487e79580d4ec4531c0 Mon Sep 17 00:00:00 2001 From: tigerenwork Date: Mon, 29 Jun 2026 23:45:24 +0800 Subject: [PATCH] feat: show refresh icon + last-updated time in popover header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header now always shows: ↻ 2m ago (or 'Never' before first fetch). Refresh spinner replaces the text while loading. More discoverable than the bare relative timestamp that was there before. Co-Authored-By: Claude --- Sources/Views/MenuBar/BugListPopover.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Sources/Views/MenuBar/BugListPopover.swift b/Sources/Views/MenuBar/BugListPopover.swift index 653a1d5..918e59e 100644 --- a/Sources/Views/MenuBar/BugListPopover.swift +++ b/Sources/Views/MenuBar/BugListPopover.swift @@ -27,9 +27,11 @@ struct BugListPopover: View { ProgressView() .scaleEffect(0.7) .frame(width: 16, height: 16) - } - if let lastUpdated = bugStore.lastUpdated { - Text(formatted(lastUpdated)) + } else { + Image(systemName: "arrow.triangle.2.circlepath") + .font(.caption2) + .foregroundStyle(.secondary) + Text(bugStore.lastUpdated.map(formatted) ?? "Never") .font(.caption) .foregroundStyle(.secondary) }