The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added LogPanel with manual refresh logic
TzeYiingd40e38af50bc
diff --git a/studio/components/ui/Logs/LogPanel.tsx b/studio/components/ui/Logs/LogPanel.tsxnew file mode 100644index 00000000000..a420bcba7bb--- /dev/null+++ b/studio/components/ui/Logs/LogPanel.tsx@@ -0,0 +1,26 @@+import React from 'react'+import { Button, Icon, Typography } from '@supabase/ui'+interface Props {+ title: string+ onRefresh?: () => void+ isLoading: boolean+ children?: JSX.Element+}++/**+ * Logs control panel header + wrapper+ */+export default ({ title, onRefresh, isLoading }: Props) => (++ <div className="flex items-center justify-between w-full">+ <Typography.Title level={5}>{title} </Typography.Title>+ <Button+ type="outline"+ loading={isLoading}+ disabled={isLoading ? true : false}+ onClick={onRefresh}+ >+ Refresh+ </Button>+ </div>+)\ No newline at end of file