The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: deprecate additional daily stats blocks (#39162)
Kevin Grüneberg1a4a28348011
diff --git a/apps/studio/components/interfaces/Reports/ReportBlock/DeprecatedChartBlock.tsx b/apps/studio/components/interfaces/Reports/ReportBlock/DeprecatedChartBlock.tsxindex 7f8dd241d0b..4bd09d91a53 100644--- a/apps/studio/components/interfaces/Reports/ReportBlock/DeprecatedChartBlock.tsx+++ b/apps/studio/components/interfaces/Reports/ReportBlock/DeprecatedChartBlock.tsx@@ -18,6 +18,10 @@ export const DeprecatedChartBlock = ({ label, attribute, actions }: DeprecatedChconst getLogsUrl = (logsName?: string) => {switch (logsName) {+ case 'Database API':+ return '/logs/postgrest-logs'+ case 'All API usage':+ return '/logs/explorer'case 'Realtime':return '/logs/realtime-logs'case 'Storage':@@ -38,14 +42,16 @@ export const DeprecatedChartBlock = ({ label, attribute, actions }: DeprecatedChlabel={label}actions={actions}>- <p className="text-xs text-foreground-light">- This chart is not longer available, and can be removed from your report- </p>- <p className="text-xs text-foreground-lighter">- You may view the equivalent of this data from the{' '}- <InlineLink href={`/project/${ref}/${getLogsUrl(logsName)}`}>{logsName} Logs</InlineLink>{' '}- instead- </p>+ <div className="flex flex-col justify-center flex-1">+ <p className="text-xs text-foreground-lightr">+ This chart is not longer available, and can be removed from your report+ </p>+ <p className="text-xs text-foreground-lighter">+ You may view the equivalent of this data from the{' '}+ <InlineLink href={`/project/${ref}/${getLogsUrl(logsName)}`}>{logsName} Logs</InlineLink>{' '}+ instead+ </p>+ </div></ReportBlockContainer>)}diff --git a/apps/studio/components/interfaces/Reports/Reports.constants.ts b/apps/studio/components/interfaces/Reports/Reports.constants.tsindex b80f349bb6b..1f60e7ddd3f 100644--- a/apps/studio/components/interfaces/Reports/Reports.constants.ts+++ b/apps/studio/components/interfaces/Reports/Reports.constants.ts@@ -638,6 +638,20 @@ export const DEPRECATED_REPORTS = ['total_storage_options_requests','total_storage_patch_requests','total_options_requests',+ 'total_rest_ingress',+ 'total_rest_get_requests',+ 'total_rest_post_requests',+ 'total_rest_patch_requests',+ 'total_rest_delete_requests',+ 'total_storage_get_requests',+ 'total_storage_post_requests',+ 'total_storage_delete_requests',+ 'total_auth_delete_requests',+ 'total_get_requests',+ 'total_patch_requests',+ 'total_post_requests',+ 'total_ingress',+ 'total_delete_requests',]export const EDGE_FUNCTION_REGIONS = [