From e931323b41a8786bf7d24fd2f11d9b9b20f38673 Mon Sep 17 00:00:00 2001 From: Paul Cioanca Date: Wed, 23 Jul 2025 20:21:39 +0300 Subject: [PATCH] chore: reduce list of visible release channels (#37414) * chore: enrich list of visible release channels * ci: Autofix updates from GitHub workflow --------- Co-authored-by: ivasilov <568291+ivasilov@users.noreply.github.com> --- .../Settings/Infrastructure/InfrastructureInfo.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx index fad9ce3c3c4..5fa6bc930c8 100644 --- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx +++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx @@ -65,8 +65,9 @@ const InfrastructureInfo = () => { const currentPgVersion = (current_app_version ?? '') .split('supabase-postgres-')[1] ?.replace('-orioledb', '') - const isOnNonGenerallyAvailableReleaseChannel = - current_app_version_release_channel && current_app_version_release_channel !== 'ga' + const isVisibleReleaseChannel = + current_app_version_release_channel && + !['ga', 'withdrawn'].includes(current_app_version_release_channel) ? current_app_version_release_channel : undefined const isOrioleDb = useIsOrioleDb() @@ -144,16 +145,16 @@ const InfrastructureInfo = () => { value={currentPgVersion || serviceVersions?.['supabase-postgres'] || ''} label="Postgres version" actions={[ - isOnNonGenerallyAvailableReleaseChannel && ( + isVisibleReleaseChannel && ( - {isOnNonGenerallyAvailableReleaseChannel} + {isVisibleReleaseChannel} - This project uses a {isOnNonGenerallyAvailableReleaseChannel}{' '} - database version release + This project uses a {isVisibleReleaseChannel} database version + release ),