From 164dcf3e92a87301ae25d25fe31757ae29b5aec2 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 27 Jan 2026 15:28:23 +0800 Subject: [PATCH] Adjust disabled state while project is paused (#42096) * Adjust disabled state while project is INACTIVE * merge master, unlock add ons page if paused --- .../interfaces/Settings/Addons/Addons.tsx | 51 +++++++++++-------- apps/studio/components/interfaces/Sidebar.tsx | 21 ++++---- .../layouts/Integrations/layout.tsx | 11 +--- .../layouts/ProjectLayout/index.tsx | 12 ++--- .../SettingsMenu.utils.tsx | 10 ++++ .../ui/ProductMenu/ProductMenuItem.tsx | 36 +++++-------- .../components/ui/ProductMenu/index.tsx | 9 +--- apps/studio/components/ui/ui.types.ts | 1 - apps/studio/hooks/misc/useSelectedProject.ts | 5 +- 9 files changed, 75 insertions(+), 81 deletions(-) diff --git a/apps/studio/components/interfaces/Settings/Addons/Addons.tsx b/apps/studio/components/interfaces/Settings/Addons/Addons.tsx index d3c260980c1..ac705165304 100644 --- a/apps/studio/components/interfaces/Settings/Addons/Addons.tsx +++ b/apps/studio/components/interfaces/Settings/Addons/Addons.tsx @@ -250,11 +250,21 @@ export const Addons = () => { title="Compute size has moved" description="Compute size is now managed alongside Disk configuration on the new Compute and Disk page." actions={ - - - Go to Compute and Disk - - + + + + Go to Compute and Disk + + + } /> @@ -393,24 +403,21 @@ export const Addons = () => { ? 'Dedicated IPv4 address is enabled' : 'Dedicated IPv4 address is not enabled'}