From 3cdda2dcb7489e5beeb1dee75c53afc1844316c9 Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 14 Oct 2025 00:48:47 +0200 Subject: [PATCH] refactor: move bookmark refresh button to footer with view controls - Remove separate refresh section from bookmarks list - Add refresh button to view-mode-controls footer - Show last update time in button tooltip instead of inline text - Cleaner UI with all controls in one footer section --- src/components/BookmarkList.tsx | 39 ++++++++++----------------------- 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/src/components/BookmarkList.tsx b/src/components/BookmarkList.tsx index d2617460..20808002 100644 --- a/src/components/BookmarkList.tsx +++ b/src/components/BookmarkList.tsx @@ -161,37 +161,20 @@ export const BookmarkList: React.FC = ({ /> )} - {onRefresh && ( -
- - {lastFetchTime && ( - - Updated {formatDistanceToNow(lastFetchTime, { addSuffix: true })} - - )} -
- )} )}
+ {onRefresh && ( + + )} onViewModeChange('compact')}