Spaces:
Paused

icebear0828 Claude Sonnet 4.6 commited on
Commit
e6a1587
·
1 Parent(s): 9d65acf

feat: add manual refresh button with timestamp to account list

Browse files

- Separate `refreshing` state from initial `loading` so the list stays
visible while re-fetching (no blank flash on refresh)
- Track `lastUpdated` timestamp, shown as "Updated at HH:MM:SS" next to
the button (hidden on mobile, visible sm+)
- Refresh button spins during fetch and is disabled to prevent double-tap
- i18n: add `refresh` / `updatedAt` keys in both en and zh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

4 files changed +50 -4
Files changed (4)
web/src/App.tsx+3
web/src/components/AccountList.tsx+34-3
web/src/hooks/use-accounts.ts+9-1
web/src/i18n/translations.ts+4