Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(studio): add bullet-point to integration uninstall modal (#48139)

Francesco Sansalvadore9f5e75183c9a
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
index c1442d2cb7d..4c1fa3af0c0 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
@@ -13,6 +13,7 @@ import {
} from 'ui'
import { Admonition } from 'ui-patterns/admonition'
+import { InlineLink } from '@/components/ui/InlineLink'
import { useAuthorizedAppRevokeMutation } from '@/data/oauth/authorized-app-revoke-mutation'
import type { AuthorizedApp } from '@/data/oauth/authorized-apps-query'
@@ -49,15 +50,15 @@ export const RevokeAppModal = ({
<AlertDialogHeader>
<AlertDialogTitle>{`Revoke access for ${selectedApp?.name}?`}</AlertDialogTitle>
<AlertDialogDescription>
- <div className="flex flex-col space-y-2">
+ <div className="flex flex-col space-y-4">
<Admonition
type="warning"
title="This action cannot be undone"
description={`${selectedApp?.name} will no longer have access to your organization's settings
and projects.`}
/>
- <ul className="space-y-5">
- <li className="flex gap-3 text-sm">
+ <div className="space-y-5">
+ <div className="flex gap-2 text-sm">
<Lock size={14} className="shrink-0" />
<div>
<strong>Before you remove this app, consider:</strong>
@@ -73,10 +74,20 @@ export const RevokeAppModal = ({
Restoring access will require an organization administrator to re-authorize
the application.
</li>
+ <li className="list-disc ml-4">
+ The application may also have a <strong>Secret API key</strong> with access.
+ Go to the{' '}
+ <InlineLink
+ href={`/dashboard/project/_/integrations/${selectedApp?.id}/settings`}
+ >
+ Integration's Settings
+ </InlineLink>
+ , and remove any listed Secret API key to fully revoke its access.
+ </li>
</ul>
</div>
- </li>
- </ul>
+ </div>
+ </div>
</div>
</AlertDialogDescription>
</AlertDialogHeader>
diff --git a/apps/studio/styles/globals.css b/apps/studio/styles/globals.css
index 23eab4d6eb1..b2640fe0075 100644
--- a/apps/studio/styles/globals.css
+++ b/apps/studio/styles/globals.css
@@ -474,3 +474,9 @@ div[data-radix-portal]:not(.portal--toast) {
.prose.text-sm ul > li::before {
top: 0.65rem;
}
+
+.prose :where(strong, b):not(:where([class~='not-prose'], [class~='not-prose'] *)),
+strong,
+b {
+ @apply font-bold;
+}