The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update language for delete and revoke modals
Joshen Lim766920d6da6c
diff --git a/studio/components/interfaces/Organization/OAuthApps/DeleteAppModal.tsx b/studio/components/interfaces/Organization/OAuthApps/DeleteAppModal.tsxindex fa1620037bb..a8012c93c6f 100644--- a/studio/components/interfaces/Organization/OAuthApps/DeleteAppModal.tsx+++ b/studio/components/interfaces/Organization/OAuthApps/DeleteAppModal.tsx@@ -2,7 +2,7 @@ import { useParams } from 'common'import { useOAuthAppDeleteMutation } from 'data/oauth/oauth-app-delete-mutation'import { OAuthApp } from 'data/oauth/oauth-apps-query'import { useStore } from 'hooks'-import { Alert, IconAlertOctagon, IconLock, IconShieldOff, Modal } from 'ui'+import { Alert, IconLock, Modal } from 'ui'export interface DeleteAppModalProps {selectedApp?: OAuthApp@@ -46,29 +46,17 @@ const DeleteAppModal = ({ selectedApp, onClose }: DeleteAppModalProps) => {<Modal.Content><div className="py-4"><Alert withIcon variant="warning" title="This action cannot be undone">- You will no longer have access to any applications that were authorized through this app+ Deleting this application will invalidate any access tokens authorized by users.</Alert><ul className="mt-4 space-y-5">- <li className="flex gap-3 text-sm">- <div>- <IconAlertOctagon />- </div>- <span>- You will no longer have access to any applications that were authorized through this- app- </span>- </li>-<li className="flex gap-3 text-sm"><IconLock w={14} className="flex-shrink-0" /><div>- <strong>Before you remove this app, consider:</strong>+ <strong>Before you remove this application, consider:</strong><ul className="space-y-2 mt-2"><li className="list-disc ml-4">- Any authorized apps that were granted access to your organization- </li>- <li className="list-disc ml-4">- Anyone will be able to modify, add or delete any row in this table.+ No users are currently using this application. It will no longer be available+ for use after deletion.</li></ul></div>diff --git a/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx b/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsxindex 657ae900fc4..50f606ab7df 100644--- a/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx+++ b/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx@@ -51,26 +51,14 @@ const RevokeAppModal = ({ selectedApp, onClose }: RevokeAppModalProps) => {projects.</Alert><ul className="mt-4 space-y-5">- <li className="flex gap-3 text-sm">- <div>- <IconAlertOctagon />- </div>- <span>- This application will no longer have access to your organization's settings and- projects.- </span>- </li>-<li className="flex gap-3 text-sm"><IconLock w={14} className="flex-shrink-0" /><div><strong>Before you remove this app, consider:</strong><ul className="space-y-2 mt-2"><li className="list-disc ml-4">- Any applications which you may still require access- </li>- <li className="list-disc ml-4">- Anyone will be able to modify, add or delete any row in this table.+ No users are currently using this application. The application will no longer+ have access to your organization after being revoked.</li></ul></div>