From c63d82c84746a87261130a6f3b5fe9abc7529232 Mon Sep 17 00:00:00 2001 From: arnestrickmann <115920878+arnestrickmann@users.noreply.github.com> Date: Thu, 8 Oct 2026 16:15:59 -0700 Subject: [PATCH] feat: add recent activity refresh button --- packages/web/src/components/icon-button.tsx | 7 ++++--- packages/web/src/components/section.tsx | 18 +++++++++++------- packages/web/src/pages/connection-page.tsx | 14 +++++++++++++- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/packages/web/src/components/icon-button.tsx b/packages/web/src/components/icon-button.tsx index c83d48a..ed618f8 100644 --- a/packages/web/src/components/icon-button.tsx +++ b/packages/web/src/components/icon-button.tsx @@ -7,15 +7,16 @@ type Props = { label: string; children: ReactNode; disabled?: boolean; + size?: 'xs' | 'sm'; } & ({onClick: () => void; to?: never} | {to: string; onClick?: never}); // A header's icon action: a ghost icon button with its label in a tooltip. -export function IconButton({label, children, disabled = false, onClick, to}: Props) { +export function IconButton({label, children, disabled = false, size = 'sm', onClick, to}: Props) { const button = to === undefined ? (