Skip to content

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

Fix eslint errors

Joshen Limaac25c5ab573
diff --git a/studio/components/interfaces/Account/NewAccessTokenButton.tsx b/studio/components/interfaces/Account/NewAccessTokenButton.tsx
index 4c71655d9f0..b279983447c 100644
--- a/studio/components/interfaces/Account/NewAccessTokenButton.tsx
+++ b/studio/components/interfaces/Account/NewAccessTokenButton.tsx
@@ -115,7 +115,7 @@ const NewAccessTokenButton = observer(({ onCreateToken }: NewAccessTokenButtonPr
</p>
<div className="mt-4">
<Link href="https://api.supabase.com/api/v0">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Experimental API documentation
</Button>
diff --git a/studio/components/interfaces/App/AppBannerWrapper.tsx b/studio/components/interfaces/App/AppBannerWrapper.tsx
index c0ab64ee9e3..3f3faa61251 100644
--- a/studio/components/interfaces/App/AppBannerWrapper.tsx
+++ b/studio/components/interfaces/App/AppBannerWrapper.tsx
@@ -10,7 +10,7 @@ const AppBannerWrapper: FC = ({ children }) => {
<div className="min-h-full flex flex-col">
{ongoingIncident && (
<Link href="https://status.supabase.com">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<div className="flex cursor-pointer items-center justify-center space-x-2 bg-green-900 py-3 text-scale-400 transition hover:bg-green-1000 dark:text-scale-1200">
<p className="text-sm font-medium">
We are currently investigating a technical issue, follow status.supabase.com for
diff --git a/studio/components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx b/studio/components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx
index 85462a7e4be..3d9e5011415 100644
--- a/studio/components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx
+++ b/studio/components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx
@@ -15,7 +15,11 @@ const EmailTemplates = observer(() => {
/>
<div className="mb-6">
<Button type="default" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
- <a target="_blank" href="https://supabase.com/docs/guides/auth/auth-email-templates">
+ <a
+ target="_blank"
+ rel="noreferrer"
+ href="https://supabase.com/docs/guides/auth/auth-email-templates"
+ >
Documentation
</a>
</Button>
diff --git a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx
index f5ddedeb8dc..0cef3581c9d 100644
--- a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx
+++ b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx
@@ -9,8 +9,14 @@ interface Props {
const PolicyEditorFooter: FC<Props> = ({ showTemplates, onViewTemplates, onReviewPolicy }) => (
<div className="flex justify-between items-center border-t px-6 py-4 dark:border-dark">
- <a href='https://supabase.com/docs/learn/auth-deep-dive/auth-policies' target="_blank">
- <Button type='link' icon={<IconExternalLink size={14} strokeWidth={1.5} />}>Documentation</Button>
+ <a
+ href="https://supabase.com/docs/learn/auth-deep-dive/auth-policies"
+ target="_blank"
+ rel="noreferrer"
+ >
+ <Button type="link" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
+ Documentation
+ </Button>
</a>
<div className="flex w-full items-center justify-end gap-2">
{showTemplates && (
diff --git a/studio/components/interfaces/Auth/Policies/PolicySelection.tsx b/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
index 48e46551e98..af4727eeb8f 100644
--- a/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
+++ b/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
@@ -61,6 +61,7 @@ const PolicySelection: FC<Props> = ({
Not sure what policies are? Check out our resources{' '}
<a
target="_blank"
+ rel="noreferrer"
className="text-brand-900 transition-colors hover:text-brand-1200"
href="https://supabase.com/docs/guides/auth#policies"
>
diff --git a/studio/components/interfaces/Billing/AddOns/ComputeSizeSelection.tsx b/studio/components/interfaces/Billing/AddOns/ComputeSizeSelection.tsx
index 437e7d152c1..83aa5900809 100644
--- a/studio/components/interfaces/Billing/AddOns/ComputeSizeSelection.tsx
+++ b/studio/components/interfaces/Billing/AddOns/ComputeSizeSelection.tsx
@@ -37,7 +37,7 @@ const ComputeSizeSelection: FC<Props> = ({
</p>
</div>
<Link href="https://supabase.com/docs/guides/platform/compute-add-ons">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
About compute add-ons
</Button>
diff --git a/studio/components/interfaces/Billing/Billing.constants.tsx b/studio/components/interfaces/Billing/Billing.constants.tsx
index f253e1bbf0d..8cdefa548df 100644
--- a/studio/components/interfaces/Billing/Billing.constants.tsx
+++ b/studio/components/interfaces/Billing/Billing.constants.tsx
@@ -31,7 +31,11 @@ export const USAGE_BASED_PRODUCTS = [
tooltip: (
<span>
Billing is based on the average daily database size in GB throughout the billing period.{' '}
- <a href="https://supabase.com/docs/guides/platform/database-usage" target="_blank">
+ <a
+ href="https://supabase.com/docs/guides/platform/database-usage"
+ target="_blank"
+ rel="noreferrer"
+ >
Docs
</a>
</span>
diff --git a/studio/components/interfaces/Billing/Invoices.tsx b/studio/components/interfaces/Billing/Invoices.tsx
index fb255c38353..5fc0cc4727b 100644
--- a/studio/components/interfaces/Billing/Invoices.tsx
+++ b/studio/components/interfaces/Billing/Invoices.tsx
@@ -131,7 +131,7 @@ const Invoices: FC<Props> = ({ projectRef }) => {
<div className="flex items-center justify-end space-x-2">
{[InvoiceStatus.UNCOLLECTIBLE, InvoiceStatus.OPEN].includes(x.status) && (
<Link href={`https://redirect.revops.supabase.com/pay-invoice/${x.id}`}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button>Pay Now</Button>
</a>
</Link>
diff --git a/studio/components/interfaces/Billing/PlanSelection/PlanSelection.tsx b/studio/components/interfaces/Billing/PlanSelection/PlanSelection.tsx
index 3c54921b215..e57255724be 100644
--- a/studio/components/interfaces/Billing/PlanSelection/PlanSelection.tsx
+++ b/studio/components/interfaces/Billing/PlanSelection/PlanSelection.tsx
@@ -45,7 +45,7 @@ const PlanSelection: FC<Props> = ({ visible, tiers, currentPlan, onSelectPlan })
</div>
<div className="flex justify-center items-center mt-4">
<Link href="https://supabase.com/pricing">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button
type="link"
icon={<IconExternalLink size={14} strokeWidth={1.5} />}
diff --git a/studio/components/interfaces/Billing/SpendCapModal.tsx b/studio/components/interfaces/Billing/SpendCapModal.tsx
index fddf841e0dd..cff279aba51 100644
--- a/studio/components/interfaces/Billing/SpendCapModal.tsx
+++ b/studio/components/interfaces/Billing/SpendCapModal.tsx
@@ -129,7 +129,7 @@ const SpendCapModal: FC<Props> = ({ visible, onHide }) => {
<p>
See{' '}
<Link href="https://supabase.com/pricing" passHref>
- <a className="text-brand-900" target="_blank">
+ <a className="text-brand-900" target="_blank" rel="noreferrer">
<span>pricing page</span>
</a>
</Link>{' '}
diff --git a/studio/components/interfaces/Billing/Subscription/Subscription.tsx b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
index 18e30061283..b803cd90204 100644
--- a/studio/components/interfaces/Billing/Subscription/Subscription.tsx
+++ b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
@@ -150,7 +150,12 @@ const Subscription: FC<Props> = ({ showProjectName = false }) => {
<div className="px-6 pb-4 mt-2">
<p className="text-sm text-scale-1100">
See our{' '}
- <a href="https://supabase.com/pricing" target="_blank" className="underline">
+ <a
+ href="https://supabase.com/pricing"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
pricing
</a>{' '}
for a more detailed analysis of what Supabase has on offer.
diff --git a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
index 85a9dc5633d..e7330f12d3e 100644
--- a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
+++ b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
@@ -93,7 +93,7 @@ const HooksList = ({
/>
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/guides/database/webhooks">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx b/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
index cc2b6379ed7..5cb53d40595 100644
--- a/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
+++ b/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
@@ -143,7 +143,7 @@ const CreateWrapper = () => {
<h3 className="mb-2 text-xl text-scale-1200">Create a {wrapperMeta?.label} Wrapper</h3>
<div className="flex items-center space-x-2">
<Link href="https://supabase.github.io/wrappers/stripe/">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx b/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx
index 5fbdf4b711e..18782f8a2a1 100644
--- a/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx
+++ b/studio/components/interfaces/Database/Wrappers/EditWrapper.tsx
@@ -196,7 +196,7 @@ const EditWrapper = () => {
<h3 className="mb-2 text-xl text-scale-1200">Edit wrapper: {wrapper.name}</h3>
<div className="flex items-center space-x-2">
<Link href="https://supabase.github.io/wrappers/stripe/">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Database/Wrappers/InputField.tsx b/studio/components/interfaces/Database/Wrappers/InputField.tsx
index a3839cc8fad..193b59c6d18 100644
--- a/studio/components/interfaces/Database/Wrappers/InputField.tsx
+++ b/studio/components/interfaces/Database/Wrappers/InputField.tsx
@@ -27,7 +27,7 @@ const InputField: FC<Props> = ({ option, loading, error }) => {
<p>{option.label}</p>
{option.urlHelper !== undefined && (
<Link href={option.urlHelper}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<IconHelpCircle
strokeWidth={2}
size={14}
@@ -55,7 +55,7 @@ const InputField: FC<Props> = ({ option, loading, error }) => {
<p>{option.label}</p>
{option.urlHelper !== undefined && (
<Link href={option.urlHelper}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<IconHelpCircle
strokeWidth={2}
size={14}
diff --git a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx b/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
index 529d9cd0c16..7e18fc5a46e 100644
--- a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
+++ b/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
@@ -46,7 +46,7 @@ const Wrappers = () => {
</div>
<div className="flex items-center space-x-2">
<Link href="">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
index a93c531cbdd..c40e8dfb264 100644
--- a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
+++ b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
@@ -97,7 +97,7 @@ const WrappersDisabledState = () => {
<Link
href={`/support/new?ref=${ref}&category=sales&subject=Request%20for%20access%20to%20wrappers`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="primary">Contact us</Button>
</a>
</Link>
@@ -105,7 +105,7 @@ const WrappersDisabledState = () => {
</div>
<div className="flex items-center space-x-2 my-1 ml-[1px]">
<Link href="https://supabase.com/docs/guides/database/wrappers">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
About Wrappers
</Button>
@@ -116,7 +116,7 @@ const WrappersDisabledState = () => {
) : (
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/guides/database/wrappers">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
About Wrappers
</Button>
diff --git a/studio/components/interfaces/Docs/GeneratingTypes.tsx b/studio/components/interfaces/Docs/GeneratingTypes.tsx
index e44e997c541..f3a222d3298 100644
--- a/studio/components/interfaces/Docs/GeneratingTypes.tsx
+++ b/studio/components/interfaces/Docs/GeneratingTypes.tsx
@@ -48,7 +48,7 @@ export default function GeneratingTypes({ selectedLang }: Props) {
<h2 className="doc-heading flex items-center justify-between">
<span>Generating types</span>
<Link href="https://supabase.com/docs/guides/database/api/generating-types">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Docs/ResourceContent.tsx b/studio/components/interfaces/Docs/ResourceContent.tsx
index efe0fec31df..80388c6e5e2 100644
--- a/studio/components/interfaces/Docs/ResourceContent.tsx
+++ b/studio/components/interfaces/Docs/ResourceContent.tsx
@@ -94,7 +94,11 @@ const ResourceContent = ({
To read rows in <code>{resourceId}</code>, use the <code>select</code> method.
</p>
<p>
- <a href="https://supabase.com/docs/reference/javascript/select" target="_blank">
+ <a
+ href="https://supabase.com/docs/reference/javascript/select"
+ target="_blank"
+ rel="noreferrer"
+ >
Learn more
</a>
</p>
@@ -130,6 +134,7 @@ const ResourceContent = ({
<a
href="https://supabase.com/docs/reference/javascript/using-filters"
target="_blank"
+ rel="noreferrer"
>
Learn more
</a>
@@ -157,7 +162,11 @@ const ResourceContent = ({
<code>insert</code> will also return the replaced values for UPSERT.
</p>
<p>
- <a href="https://supabase.com/docs/reference/javascript/insert" target="_blank">
+ <a
+ href="https://supabase.com/docs/reference/javascript/insert"
+ target="_blank"
+ rel="noreferrer"
+ >
Learn more
</a>
</p>
@@ -193,7 +202,11 @@ const ResourceContent = ({
<code>update</code> will also return the replaced values for UPDATE.
</p>
<p>
- <a href="https://supabase.com/docs/reference/javascript/update" target="_blank">
+ <a
+ href="https://supabase.com/docs/reference/javascript/update"
+ target="_blank"
+ rel="noreferrer"
+ >
Learn more
</a>
</p>
@@ -217,7 +230,11 @@ const ResourceContent = ({
default, so remember to specify your filters!
</p>
<p>
- <a href="https://supabase.com/docs/reference/javascript/delete" target="_blank">
+ <a
+ href="https://supabase.com/docs/reference/javascript/delete"
+ target="_blank"
+ rel="noreferrer"
+ >
Learn more
</a>
</p>
@@ -241,7 +258,11 @@ const ResourceContent = ({
authorized users depending on Row Level Security (RLS) policies.
</p>
<p>
- <a href="https://supabase.com/docs/reference/javascript/subscribe" target="_blank">
+ <a
+ href="https://supabase.com/docs/reference/javascript/subscribe"
+ target="_blank"
+ rel="noreferrer"
+ >
Learn more
</a>
</p>
diff --git a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
index 212bd8dfc3c..3808a5bf36d 100644
--- a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
+++ b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
@@ -213,7 +213,7 @@ const EdgeFunctionDetails: FC<Props> = () => {
</p>
<div className="!mt-4">
<Link href="https://supabase.com/docs/guides/functions/import-maps">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
More about import maps
</Button>
diff --git a/studio/components/interfaces/Home/ClientLibrary.tsx b/studio/components/interfaces/Home/ClientLibrary.tsx
index 59f1d0b4d5f..12284546048 100644
--- a/studio/components/interfaces/Home/ClientLibrary.tsx
+++ b/studio/components/interfaces/Home/ClientLibrary.tsx
@@ -31,13 +31,13 @@ const ClientLibrary: FC<Props> = ({ language, releaseState, officialSupport, doc
</div>
<div className="space-x-1">
{docsUrl && (
- <a href={docsUrl} target="_blank">
+ <a href={docsUrl} target="_blank" rel="noreferrer">
<Button icon={<IconBookOpen />} type="default">
Docs
</Button>
</a>
)}
- <a href={gitUrl} target="_blank">
+ <a href={gitUrl} target="_blank" rel="noreferrer">
<Button icon={<IconGitHub />} type="default">
See GitHub
</Button>
diff --git a/studio/components/interfaces/Home/ExampleProject.tsx b/studio/components/interfaces/Home/ExampleProject.tsx
index 94be8f388d4..811897aafce 100644
--- a/studio/components/interfaces/Home/ExampleProject.tsx
+++ b/studio/components/interfaces/Home/ExampleProject.tsx
@@ -15,7 +15,7 @@ const ExampleProject: FC<Props> = ({ framework, title, description, url }) => {
return (
<Link href={url}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<div
className={[
'group relative',
diff --git a/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx b/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
index 0354a87a0b9..6849fe6a8b8 100644
--- a/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
+++ b/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
@@ -167,6 +167,7 @@ const GeneralSettings = () => {
<Link href="https://supabase.com/privacy">
<a
target="_blank"
+ rel="noreferrer"
className="text-brand-900 border-b border-brand-900"
>
privacy policy
diff --git a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
index 200f1fdd719..8339cb962f4 100644
--- a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
+++ b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
@@ -137,7 +137,7 @@ const InvoicesSettings = () => {
<div className="flex items-center justify-end space-x-2">
{[InvoiceStatus.UNCOLLECTIBLE, InvoiceStatus.OPEN].includes(x.status) && (
<Link href={`https://redirect.revops.supabase.com/pay-invoice/${x.id}`}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button>Pay Now</Button>
</a>
</Link>
diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
index 41d70f1e00e..8a5349d4f10 100644
--- a/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
@@ -37,16 +37,6 @@ const Results = ({ id, rows }: { id: string; rows: readonly any[] }) => {
const { show: showContextMenu } = useContextMenu()
- if (rows.length <= 0) {
- return (
- <div className="bg-table-header-light dark:bg-table-header-dark">
- <p className="m-0 border-0 px-6 py-4 font-mono text-sm">
- Success. No rows returned
- </p>
- </div>
- )
- }
-
const formatter = (column: any, row: any) => {
return (
<span
@@ -62,11 +52,7 @@ const Results = ({ id, rows }: { id: string; rows: readonly any[] }) => {
)
}
const columnRender = (name: string) => {
- return (
- <div className="flex h-full items-center justify-center font-mono">
- {name}
- </div>
- )
+ return <div className="flex h-full items-center justify-center font-mono">{name}</div>
}
const columns: Column<any, unknown>[] = Object.keys(rows[0]).map((key) => ({
key,
@@ -86,6 +72,14 @@ const Results = ({ id, rows }: { id: string; rows: readonly any[] }) => {
if (!mounted) setMounted(true)
}, [])
+ if (rows.length <= 0) {
+ return (
+ <div className="bg-table-header-light dark:bg-table-header-dark">
+ <p className="m-0 border-0 px-6 py-4 font-mono text-sm">Success. No rows returned</p>
+ </div>
+ )
+ }
+
return (
<>
<DataGrid
diff --git a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
index 038adfacf08..6e4a3191780 100644
--- a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
+++ b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
@@ -211,6 +211,7 @@ export const PgbouncerConfig: FC<ConfigProps> = observer(
<a
className="text-green-900"
target="_blank"
+ rel="noreferrer"
href="https://supabase.com/docs/guides/database/connecting-to-postgres#connection-pool"
>
click here
diff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
index 31e465530f8..b0391bea62f 100644
--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
@@ -107,7 +107,7 @@ const NetworkRestrictions = ({}) => {
/>
<div className="flex items-center space-x-2 mb-6">
<Link href="https://supabase.com/docs/guides/platform/network-restrictions">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
index c764afb0a4a..d43cee3453e 100644
--- a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
+++ b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
@@ -102,7 +102,7 @@ const SSLConfiguration = () => {
>
Please try updating again, or contact{' '}
<Link href="/support/new">
- <a target="_blank" className="underline">
+ <a target="_blank" rel="noreferrer" className="underline">
support
</a>
</Link>{' '}
diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
index 24aeba26cf4..70a5f868976 100644
--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
@@ -78,7 +78,7 @@ const CustomDomainActivate = ({ projectRef, customDomain }: CustomDomainActivate
<Panel.Content className="w-full">
<div className="flex items-center justify-between">
<Link href="https://supabase.com/docs/guides/platform/custom-domains">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
index bacebf659b4..e09a3a0b3fc 100644
--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
@@ -65,7 +65,7 @@ const CustomDomainDelete = ({ projectRef, customDomain }: CustomDomainDeleteProp
<Panel.Content className="w-full">
<div className="flex items-center justify-between">
<Link href="https://supabase.com/docs/guides/platform/custom-domains">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx
index 0d1c4e76d80..e9ded150a57 100644
--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx
+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx
@@ -195,7 +195,7 @@ const CustomDomainVerify = ({ projectRef, customDomain, settings }: CustomDomain
<Panel.Content>
<div className="flex items-center justify-between">
<Link href="https://supabase.com/docs/guides/platform/custom-domains">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx
index c41ae2dd05f..2405d7bfe39 100644
--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx
+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx
@@ -91,7 +91,7 @@ const CustomDomainsConfigureHostname = () => {
"You need additional permissions to update your project's custom domain settings"
) : (
<Link href="https://supabase.com/docs/guides/platform/custom-domains">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
index 1aa11ca9884..fff06461d27 100644
--- a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
+++ b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
@@ -140,7 +140,7 @@ const Infrastructure = ({}: InfrastructureProps) => {
<Link
href={`/support/new?category=Database_unresponsive&ref=${ref}&subject=${subject}&message=${message}`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button size="tiny" type="default">
Contact support
</Button>
diff --git a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
index a5439c7878b..01eafa8e130 100644
--- a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
+++ b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
@@ -99,7 +99,11 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
</div>
<Button type="default" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
- <a target="_blank" href="https://supabase.com/docs/guides/platform/database-usage">
+ <a
+ target="_blank"
+ rel="noreferrer"
+ href="https://supabase.com/docs/guides/platform/database-usage"
+ >
What is disk size?
</a>
</Button>
@@ -412,6 +416,7 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
<Button type="danger" className="mt-3">
<a
target="_blank"
+ rel="noreferrer"
href="https://supabase.com/docs/guides/platform/database-usage#database-storage-management"
>
Upgrade this project
@@ -425,6 +430,7 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
>
<a
target="_blank"
+ rel="noreferrer"
href="https://supabase.com/docs/guides/platform/database-usage#database-storage-management"
>
Database storage management docs
diff --git a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
index 5f0d7bd944f..01e4a6d527f 100644
--- a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
@@ -142,7 +142,7 @@ const EncryptionKeysManagement: FC<Props> = ({}) => {
</div>
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/guides/database/vault">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Vault Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
index 9f276da5e3f..e5dfe455fe0 100644
--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
@@ -105,7 +105,7 @@ const SecretsManagement: FC<Props> = ({}) => {
</div>
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/guides/database/vault">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
Vault Documentation
</Button>
diff --git a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx b/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
index 192e88dd02c..f867ef6628d 100644
--- a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
+++ b/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
@@ -94,7 +94,7 @@ const VaultToggle: FC<Props> = () => {
<Link
href={`/support/new?ref=${ref}&category=sales&subject=Request%20for%20access%20to%20vault`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="primary">Contact us</Button>
</a>
</Link>
@@ -102,7 +102,7 @@ const VaultToggle: FC<Props> = () => {
</div>
<div className="flex items-center space-x-2 my-1 ml-[1px]">
<Link href="https://supabase.com/docs/guides/database/vault">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
About Vault
</Button>
@@ -113,7 +113,7 @@ const VaultToggle: FC<Props> = () => {
) : (
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/guides/database/vault">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
About Vault
</Button>
diff --git a/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx b/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx
index 9be81b915d5..0eb230791bc 100644
--- a/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx
+++ b/studio/components/interfaces/Support/DisabledStateForFreeTier.tsx
@@ -26,7 +26,7 @@ const DisabledStateForFreeTier: FC<Props> = ({ projectRef, category }) => {
</a>
</Link>
<Link href="https://supabase.com/pricing">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink size={14} />}>
About the Pro tier
</Button>
diff --git a/studio/components/interfaces/Support/Success.tsx b/studio/components/interfaces/Support/Success.tsx
index 45663e5d379..1fcd9d937e3 100644
--- a/studio/components/interfaces/Support/Success.tsx
+++ b/studio/components/interfaces/Support/Success.tsx
@@ -51,7 +51,7 @@ const Success: FC<Props> = ({ sentCategory = '' }) => {
key="search"
href={`https://github.com/supabase/supabase/discussions?discussions_q=${searchValue}`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button
className="mr-1"
type="default"
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index 85b226fb346..8ced4d5c71d 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -355,7 +355,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</a>
</Link>
<Link href="https://supabase.com/contact/enterprise">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink size={14} />}>
Enquire about Enterprise
</Button>
@@ -451,7 +451,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</div>
<div>
<Link href={library.url}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button
type="default"
icon={<IconExternalLink size={14} strokeWidth={1.5} />}
@@ -478,7 +478,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</div>
<div>
<Link href="https://github.com/supabase/supabase">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button
type="default"
icon={<IconExternalLink size={14} strokeWidth={1.5} />}
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
index 97b5c0211d4..03b5c8033f6 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
@@ -181,7 +181,7 @@ const ColumnType: FC<Props> = ({
</p>
<div className="flex items-center space-x-2 mt-3">
<Link href={recommendation.reference}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink />}>
Read more
</Button>
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
index 48c2b1ebcf5..24928c3b897 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
@@ -46,7 +46,7 @@ export default function RLSDisableModalContent() {
<div className="mt-3">
<p className="mt-2">
<Link href="https://supabase.com/docs/guides/auth/row-level-security">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconBookOpen strokeWidth={1.5} />}>
RLS Documentation
</Button>
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
index 6f6680e8f55..160620babbb 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
@@ -258,7 +258,7 @@ const TableEditor: FC<Props> = ({
)}
<p className="mt-4">
<Link href="https://supabase.com/docs/guides/auth/row-level-security">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconBookOpen strokeWidth={1.5} />}>
RLS Documentation
</Button>
@@ -279,7 +279,7 @@ const TableEditor: FC<Props> = ({
</p>
<p className="mt-4">
<Link href="https://supabase.com/docs/guides/auth/row-level-security">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconBookOpen strokeWidth={1.5} />}>
RLS Documentation
</Button>
diff --git a/studio/components/layouts/ProjectLayout/BuildingState.tsx b/studio/components/layouts/ProjectLayout/BuildingState.tsx
index 06c7c221db9..11ec2af1c9e 100644
--- a/studio/components/layouts/ProjectLayout/BuildingState.tsx
+++ b/studio/components/layouts/ProjectLayout/BuildingState.tsx
@@ -84,6 +84,7 @@ const BuildingState: FC<Props> = ({ project }) => {
<a
className="mb-0 text-brand-900 transition-colors hover:text-brand-1200"
target="_blank"
+ rel="noreferrer"
>
documentation
</a>
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
index 19594685dc7..876b181a4b6 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
@@ -208,7 +208,7 @@ const FeedbackWidget: FC<Props> = ({
</a>
</Link>{' '}
or{' '}
- <a href="https://supabase.com/docs" target="_blank">
+ <a href="https://supabase.com/docs" target="_blank" rel="noreferrer">
<span className="cursor-pointer text-brand-900 transition-colors hover:text-brand-1200">
browse our docs
</span>
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx
index 711e39c9ac3..13f819b337e 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx
@@ -81,6 +81,7 @@ const HelpPopover: FC<Props> = () => {
<a
href="https://discord.supabase.com"
target="_blank"
+ rel="noreferrer"
className="dark block cursor-pointer"
>
<Image
@@ -106,6 +107,7 @@ const HelpPopover: FC<Props> = () => {
<a
href="https://github.com/supabase/supabase/discussions"
target="_blank"
+ rel="noreferrer"
className="block cursor-pointer"
>
<Image
diff --git a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
index fbfacac365a..0ec3881d623 100644
--- a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
+++ b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
@@ -99,7 +99,7 @@ const UpgradingState = () => {
<Link
href={`/support/new?category=Database_unresponsive&ref=${ref}&subject=${subject}&message=${message}`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default">Contact support</Button>
</a>
</Link>
diff --git a/studio/components/layouts/SignInLayout/SignInLayout.tsx b/studio/components/layouts/SignInLayout/SignInLayout.tsx
index 36338c437b9..d1db9c712e0 100644
--- a/studio/components/layouts/SignInLayout/SignInLayout.tsx
+++ b/studio/components/layouts/SignInLayout/SignInLayout.tsx
@@ -112,7 +112,7 @@ const SignInLayout = ({
<div className="items-center hidden space-x-3 md:ml-10 md:flex md:pr-4">
<Link href="https://supabase.com/docs">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconFileText />}>
Documentation
</Button>
diff --git a/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js b/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js
index 9b42f532b1d..8d01d5d56aa 100644
--- a/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js
+++ b/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js
@@ -167,7 +167,11 @@ export default function UserManagement({ autoApiService, selectedLang, showApiKe
</p>
<p>
View all the available{' '}
- <a href="https://supabase.com/docs/guides/auth#providers" target="_blank">
+ <a
+ href="https://supabase.com/docs/guides/auth#providers"
+ target="_blank"
+ rel="noreferrer"
+ >
Third Party OAuth providers
</a>
</p>
@@ -177,25 +181,30 @@ export default function UserManagement({ autoApiService, selectedLang, showApiKe
</p>
<p>
Generate your Client ID and secret from:{` `}
- <a href="https://console.developers.google.com/apis/credentials" target="_blank">
+ <a
+ href="https://console.developers.google.com/apis/credentials"
+ target="_blank"
+ rel="noreferrer"
+ >
Google
</a>
,{` `}
- <a href="https://github.com/settings/applications/new" target="_blank">
+ <a href="https://github.com/settings/applications/new" target="_blank" rel="noreferrer">
GitHub
</a>
,{` `}
- <a href="https://gitlab.com/oauth/applications" target="_blank">
+ <a href="https://gitlab.com/oauth/applications" target="_blank" rel="noreferrer">
GitLab
</a>
,{` `}
- <a href="https://developers.facebook.com/apps/" target="_blank">
+ <a href="https://developers.facebook.com/apps/" target="_blank" rel="noreferrer">
Facebook
</a>
,{` `}
<a
href="https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/"
target="_blank"
+ rel="noreferrer"
>
Bitbucket
</a>
diff --git a/studio/components/to-be-cleaned/ProductEmptyState.tsx b/studio/components/to-be-cleaned/ProductEmptyState.tsx
index 0c22a898885..be23e0edc04 100644
--- a/studio/components/to-be-cleaned/ProductEmptyState.tsx
+++ b/studio/components/to-be-cleaned/ProductEmptyState.tsx
@@ -63,7 +63,7 @@ const ProductEmptyState: FC<Props> = ({
)}
{infoButtonUrl && infoButtonLabel ? (
<Button type="default" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
- <a target="_blank" href={infoButtonUrl}>
+ <a target="_blank" rel="noreferrer" href={infoButtonUrl}>
{infoButtonLabel}
</a>
</Button>
diff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js
index 36c17ab3190..f9c6adf292f 100644
--- a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js
+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js
@@ -37,6 +37,7 @@ const PolicyAllowedOperations = ({ allowedOperations = [], onToggleOperation = (
<a
href="https://supabase.com/docs/reference/javascript/storage-from-list"
target="_blank"
+ rel="noreferrer"
className="underline"
>
client library
diff --git a/studio/components/ui/ClientLoadingError.tsx b/studio/components/ui/ClientLoadingError.tsx
index f3e8df7b067..3a7b7b93ebf 100644
--- a/studio/components/ui/ClientLoadingError.tsx
+++ b/studio/components/ui/ClientLoadingError.tsx
@@ -23,7 +23,7 @@ const ClientLoadingError = ({
</div>
</div>
<Link href={`/support/new?ref=${projectRef}`}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button>Contact support</Button>
</a>
</Link>
diff --git a/studio/components/ui/InformationBox.tsx b/studio/components/ui/InformationBox.tsx
index 3d560569866..dbb223f0225 100644
--- a/studio/components/ui/InformationBox.tsx
+++ b/studio/components/ui/InformationBox.tsx
@@ -66,7 +66,7 @@ const InformationBox: FC<Props> = ({
{url && (
<Link href={url}>
- <a target="_blank" className="pt-2">
+ <a target="_blank" rel="noreferrer" className="pt-2">
<Button type="default" icon={<IconExternalLink />}>
{urlLabel}
</Button>
diff --git a/studio/components/ui/Logs/LogsExplorerHeader.tsx b/studio/components/ui/Logs/LogsExplorerHeader.tsx
index 5c28819357a..a57a5c76f0f 100644
--- a/studio/components/ui/Logs/LogsExplorerHeader.tsx
+++ b/studio/components/ui/Logs/LogsExplorerHeader.tsx
@@ -81,7 +81,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
respective source. Do note that to access nested keys, you would need to perform the
necessary{' '}
<Link href="https://supabase.com/docs/guides/platform/logs#unnesting-arrays">
- <a target="_blank" className="text-brand-900">
+ <a target="_blank" rel="noreferrer" className="text-brand-900">
unnesting joins
<IconExternalLink
size="tiny"
diff --git a/studio/components/ui/ProductMenu/ProductMenuItem.tsx b/studio/components/ui/ProductMenu/ProductMenuItem.tsx
index 0b7904e8a1f..9eb32db8e3d 100644
--- a/studio/components/ui/ProductMenu/ProductMenuItem.tsx
+++ b/studio/components/ui/ProductMenu/ProductMenuItem.tsx
@@ -47,7 +47,7 @@ const ProductMenuItem = ({
if (isExternal) {
return (
<Link href={url}>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button block className="!justify-start" type="text" size="small" icon={icon}>
{name}
</Button>
diff --git a/studio/components/ui/ProjectUpgradeFailedBanner.tsx b/studio/components/ui/ProjectUpgradeFailedBanner.tsx
index 26da8f2bb95..3e96af454a5 100644
--- a/studio/components/ui/ProjectUpgradeFailedBanner.tsx
+++ b/studio/components/ui/ProjectUpgradeFailedBanner.tsx
@@ -44,7 +44,7 @@ const ProjectUpgradeFailedBanner = () => {
<Link
href={`/support/new?category=Database_unresponsive&ref=${ref}&subject=${subject}&message=${message}`}
>
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default">Contact support</Button>
</a>
</Link>
diff --git a/studio/pages/account/tokens.tsx b/studio/pages/account/tokens.tsx
index 1d65fbcb29f..7dd76978437 100644
--- a/studio/pages/account/tokens.tsx
+++ b/studio/pages/account/tokens.tsx
@@ -25,14 +25,14 @@ const UserAccessTokens: NextPageWithLayout = () => {
<div className="flex items-center space-x-4 mb-6">
<div className="flex items-center space-x-2">
<Link href="https://supabase.com/docs/reference/api/introduction">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
API Docs
</Button>
</a>
</Link>
<Link href="https://supabase.com/docs/reference/cli/start">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
CLI docs
</Button>
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index b0c50347f1b..9d37c852e5a 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -404,7 +404,12 @@ const Wizard: NextPageWithLayout = () => {
descriptionText={
<>
Select a plan that suits your needs.&nbsp;
- <a className="underline" target="_blank" href="https://supabase.com/pricing">
+ <a
+ className="underline"
+ target="_blank"
+ rel="noreferrer"
+ href="https://supabase.com/pricing"
+ >
More details
</a>
{!isSelectFreeTier && !isEmptyPaymentMethod && (
diff --git a/studio/pages/project/[ref]/auth/policies.tsx b/studio/pages/project/[ref]/auth/policies.tsx
index 5fe4fc3171b..82bf69f90b2 100644
--- a/studio/pages/project/[ref]/auth/policies.tsx
+++ b/studio/pages/project/[ref]/auth/policies.tsx
@@ -141,6 +141,7 @@ const AuthPoliciesPage: NextPageWithLayout = () => {
</div>
<a
target="_blank"
+ rel="noreferrer"
href="https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security"
>
<Button type="link" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
diff --git a/studio/pages/project/[ref]/editor/[id].tsx b/studio/pages/project/[ref]/editor/[id].tsx
index 6250cdb8a9a..0b202c9f83a 100644
--- a/studio/pages/project/[ref]/editor/[id].tsx
+++ b/studio/pages/project/[ref]/editor/[id].tsx
@@ -332,7 +332,7 @@ const TableEditorPage: NextPageWithLayout = () => {
recursively.
</p>
<Link href="https://www.postgresql.org/docs/current/ddl-depend.html">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button size="tiny" type="default" icon={<IconExternalLink />}>
About dependency tracking
</Button>
@@ -380,7 +380,7 @@ const TableEditorPage: NextPageWithLayout = () => {
recursively.
</p>
<Link href="https://www.postgresql.org/docs/current/ddl-depend.html">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button size="tiny" type="default" icon={<IconExternalLink />}>
About dependency tracking
</Button>
diff --git a/studio/pages/project/[ref]/reports/database.tsx b/studio/pages/project/[ref]/reports/database.tsx
index ae7c16394cb..7ab0bb616cd 100644
--- a/studio/pages/project/[ref]/reports/database.tsx
+++ b/studio/pages/project/[ref]/reports/database.tsx
@@ -116,6 +116,7 @@ const DatabaseUsage: FC<any> = () => {
<Button type="default" icon={<IconExternalLink size={14} strokeWidth={1.5} />}>
<a
target="_blank"
+ rel="noreferrer"
href="https://supabase.com/docs/guides/platform/database-usage"
>
What is disk size?
diff --git a/studio/pages/project/[ref]/reports/query-performance.tsx b/studio/pages/project/[ref]/reports/query-performance.tsx
index 88bb68d9f82..615b8b016b3 100644
--- a/studio/pages/project/[ref]/reports/query-performance.tsx
+++ b/studio/pages/project/[ref]/reports/query-performance.tsx
@@ -73,7 +73,9 @@ const QueryPerformanceReport: NextPageWithLayout = () => {
href="https://supabase.com/docs/guides/platform/performance#examining-query-performance"
passHref
>
- <a target="_blank">examining query performance</a>
+ <a target="_blank" rel="noreferrer">
+ examining query performance
+ </a>
</Link>
.{'\n\n'}Consider resetting the analysis after optimizing any queries.
</p>
diff --git a/studio/pages/support/new.tsx b/studio/pages/support/new.tsx
index a3e256afafa..2e10f6a20f1 100644
--- a/studio/pages/support/new.tsx
+++ b/studio/pages/support/new.tsx
@@ -36,7 +36,7 @@ const SupportPage = () => {
<Tooltip.Root delayDuration={0}>
<Tooltip.Trigger>
<Link href="https://status.supabase.com/">
- <a target="_blank">
+ <a target="_blank" rel="noreferrer">
<Button
type="default"
icon={
diff --git a/studio/pages/vercel/complete.tsx b/studio/pages/vercel/complete.tsx
index 0691773c799..d727471d783 100644
--- a/studio/pages/vercel/complete.tsx
+++ b/studio/pages/vercel/complete.tsx
@@ -40,6 +40,7 @@ function IntegrationComplete() {
<a
href={`/project/${PageState.supabaseProjectRef}`}
target="_blank"
+ rel="noreferrer"
className="hover:text-green-1000"
>
Open Supabase Dashboard →