Client keys allow "anonymous access" to your database, until the user has logged in. @@ -79,7 +79,7 @@ const Authentication = ({ selectedLang, showApiKey }: AuthenticationProps) => {
- These include deleting organizations and projects which cannot be undone. As - such, be very careful when using this API. -
-+ These include deleting organizations and projects which cannot be undone. + As such, be very careful when using this API. +
+- {filter !== 'all' || filterKeywords.length > 0 - ? 'No users found' - : 'No users in your project'} -
-- {filter !== 'all' || filterKeywords.length > 0 - ? 'There are currently no users based on the filters applied' - : 'There are currently no users who signed up to your project'} -
+ saveColumnConfiguration('reorder', { columns: updatedColumns }) + }} + renderers={{ + renderRow(id, props) { + return ( ++ {filter !== 'all' || filterKeywords.length > 0 + ? 'No users found' + : 'No users in your project'} +
++ {filter !== 'all' || filterKeywords.length > 0 + ? 'There are currently no users based on the filters applied' + : 'There are currently no users who signed up to your project'} +
++ This is permanent! Are you sure you want to delete the{' '} + {selectedUsers.size === 1 ? '' : `selected ${selectedUsers.size} `}user + {selectedUsers.size > 1 ? 's' : ''} + {selectedUsers.size === 1 ? ( + + {' '} + {selectedUserToDelete?.email ?? selectedUserToDelete?.phone ?? 'this user'} + + ) : null} + ? +
+- Your workload has used up all your Disk IO Budget and is now running at the baseline - performance. If you need consistent disk performance, consider upgrading to a larger - compute add-on. -
- -+ Your workload has used up all your Disk IO Budget and is now running at the baseline + performance. If you need consistent disk performance, consider upgrading to a larger + compute add-on. +
+ + > + } + /> ) } if (hasLatest && latestIoBudgetConsumption >= 80) { return ( -- Your workload has consumed {latestIoBudgetConsumption}% of your Disk IO Budget. If you use - up all your Disk IO Budget, your instance will reverted to baseline performance. If you - need consistent disk performance, consider upgrading to a larger compute add-on. -
- -+ Your workload has consumed {latestIoBudgetConsumption}% of your Disk IO Budget. If you + use up all your Disk IO Budget, your instance will reverted to baseline performance. + If you need consistent disk performance, consider upgrading to a larger compute + add-on. +
+ + > + } + /> ) } if (currentBillingCycleSelected && highestIoBudgetConsumption >= 100) { return ( -- Your workload has used up all your Disk IO Budget and reverted to baseline performance at - least once during this billing cycle. If you need consistent disk performance, consider - upgrading to a larger compute add-on. -
- -+ Your workload has used up all your Disk IO Budget and reverted to baseline performance + at least once during this billing cycle. If you need consistent disk performance, + consider upgrading to a larger compute add-on. +
+ + > + } + /> ) } if (currentBillingCycleSelected && highestIoBudgetConsumption >= 80) { return ( -- Your workload has consumed {highestIoBudgetConsumption}% of your Disk IO budget during - this billing cycle. If you use up all your Disk IO Budget, your instance will reverted to - baseline performance. If you need consistent disk performance, consider upgrading to a - larger compute add-on. -
- -+ Your workload has consumed {highestIoBudgetConsumption}% of your Disk IO budget during + this billing cycle. If you use up all your Disk IO Budget, your instance will reverted + to baseline performance. If you need consistent disk performance, consider upgrading + to a larger compute add-on. +
+ + > + } + /> ) } diff --git a/apps/studio/components/interfaces/Connect/Connect.tsx b/apps/studio/components/interfaces/Connect/Connect.tsx index 9a107bf7c3c..62951d6c126 100644 --- a/apps/studio/components/interfaces/Connect/Connect.tsx +++ b/apps/studio/components/interfaces/Connect/Connect.tsx @@ -268,7 +268,7 @@ const Connect = () => { />+ Try refreshing your browser, but if the issue persists, please reach out to us via + support. +
+Error: {(error as any)?.message ?? 'Unknown'}
+ > + } > -- Try refreshing your browser, but if the issue persists, please reach out to us via - support. -
-Error: {(error as any)?.message ?? 'Unknown'}
-Client keys allow "anonymous access" to your database, until the user has logged in. @@ -79,7 +79,7 @@ const Authentication = ({ selectedLang, showApiKey }: AuthenticationProps) => {
Service keys have FULL access to your data, bypassing any security policies. Be VERY diff --git a/apps/studio/components/interfaces/Docs/Introduction.tsx b/apps/studio/components/interfaces/Docs/Introduction.tsx index e102f008de5..ae8dd1b4f9d 100644 --- a/apps/studio/components/interfaces/Docs/Introduction.tsx +++ b/apps/studio/components/interfaces/Docs/Introduction.tsx @@ -2,6 +2,7 @@ import { useParams } from 'common' import Snippets from 'components/interfaces/Docs/Snippets' import { useProjectPostgrestConfigQuery } from 'data/config/project-postgrest-config-query' +import { InlineLink } from 'components/ui/InlineLink' import { useProjectSettingsV2Query } from 'data/config/project-settings-v2-query' import CodeSnippet from './CodeSnippet' import PublicSchemaNotEnabledAlert from './PublicSchemaNotEnabledAlert' @@ -26,12 +27,26 @@ export default function Introduction({ selectedLang }: Props) { .includes('public') return ( -
+ All projects have a RESTful endpoint that you can use with your project's API key to
+ query and manage your database. These can be obtained from the{' '}
+
+ You can initialize a new Supabase client using the createClient() method.
+ The Supabase client is your entrypoint to the rest of the Supabase functionality and is
+ the easiest way to interact with everything we offer within the Supabase ecosystem.
+