mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 03:45:06 +03:00
Add service version to project infra page
This commit is contained in:
1 parent
46c429dc4f
commit
f8f712ad5d
2 files changed
+16
-3
No files matched your search
@@ -65,8 +65,8 @@ const InfrastructureInfo = () => {
|
||||
</ScaffoldSection>
|
||||
<ScaffoldSection className="!pt-0">
|
||||
<ScaffoldSectionDetail>
|
||||
<p>Postgres</p>
|
||||
<p className="text-scale-1000 text-sm">Information on your Postgres instance</p>
|
||||
<p>Service Versions</p>
|
||||
<p className="text-scale-1000 text-sm">Information on your provisioned instance</p>
|
||||
</ScaffoldSectionDetail>
|
||||
<ScaffoldSectionContent>
|
||||
{isLoadingUpgradeEligibility && <GenericSkeletonLoader />}
|
||||
@@ -75,11 +75,23 @@ const InfrastructureInfo = () => {
|
||||
)}
|
||||
{isSuccessUpgradeEligibility && (
|
||||
<>
|
||||
<Input
|
||||
readOnly
|
||||
disabled
|
||||
label="GoTrue version"
|
||||
value={project?.serviceVersions.gotrue ?? ''}
|
||||
/>
|
||||
<Input
|
||||
readOnly
|
||||
disabled
|
||||
label="PostgREST version"
|
||||
value={project?.serviceVersions.postgrest ?? ''}
|
||||
/>
|
||||
<Input
|
||||
readOnly
|
||||
disabled
|
||||
value={currentPgVersion}
|
||||
label="Current version"
|
||||
label="Postgres version"
|
||||
actions={[
|
||||
isOnLatestVersion && (
|
||||
<Tooltip.Root key="tooltip-latest" delayDuration={0}>
|
||||
|
||||
@@ -35,6 +35,7 @@ export interface Project extends ProjectBase {
|
||||
maxDatabasePreprovisionGb?: string | null
|
||||
parent_project_ref?: string
|
||||
is_branch_enabled?: boolean
|
||||
serviceVersions: { gotrue: string; postgrest: string; 'supabase-postgres': string }
|
||||
|
||||
/**
|
||||
* postgrestStatus is available on client side only.
|
||||
|
||||
Reference in new issue
Block a user