Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

Make workspace refresh button accessible (#7213)

Samuel S. Watsondc12e11b6e92
diff --git a/frontend/src/components/pages/home-page.tsx b/frontend/src/components/pages/home-page.tsx
index 631c3585d0..6d963b3ae8 100644
--- a/frontend/src/components/pages/home-page.tsx
+++ b/frontend/src/components/pages/home-page.tsx
@@ -195,10 +195,15 @@ const WorkspaceNotebooks: React.FC = () => {
}
>
Workspace
- <RefreshCcwIcon
- className="w-4 h-4 ml-1 cursor-pointer opacity-70 hover:opacity-100"
+ <Button
+ variant="text"
+ size="icon"
+ className="w-4 h-4 ml-1 p-0 opacity-70 hover:opacity-100"
onClick={() => refetch()}
- />
+ aria-label="Refresh workspace"
+ >
+ <RefreshCcwIcon className="w-4 h-4" />
+ </Button>
{isFetching && <Spinner size="small" />}
</Header>
<div className="flex flex-col divide-y divide-(--slate-3) border rounded overflow-hidden max-h-192 overflow-y-auto shadow-sm bg-background">