Skip to content

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

More small fixes

Joshen Lim644e4f6a9b99
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
index a3251879130..a97bc84152e 100644
--- a/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
+++ b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
@@ -36,11 +36,11 @@ const ProjectCard = ({
<li className="col-span-1 list-none">
<CardButton
linkHref={rewriteHref ? rewriteHref : `/project/${projectRef}`}
- containerHeightClassName="h-40"
+ containerHeightClassName="h-44"
title={
<div className="w-full justify-between space-y-1.5 px-6">
- <p className="flex-shrink truncate text-sm">{name}</p>
- <span className="text-xs lowercase text-scale-1000">{desc}</span>
+ <p className="flex-shrink truncate text-base">{name}</p>
+ <span className="text-sm lowercase text-scale-1000">{desc}</span>
<div className="flex items-center space-x-1.5">
{isVercelIntegrated && (
<div className="w-fit p-1 border rounded-md flex items-center border-scale-600">
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx b/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
index 5a0ec87c02e..bc889b3c721 100644
--- a/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
+++ b/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
@@ -7,6 +7,7 @@ import {
IconAlertTriangle,
IconLoader,
IconPauseCircle,
+ IconRefreshCw,
} from 'ui'
import { InferredProjectStatus } from './ProjectCard.utils'
import { getWarningContent } from 'components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.utils'
@@ -53,14 +54,10 @@ export const ProjectCardStatus = ({
}
const getDescription = () => {
- if (projectStatus === 'isPaused')
- return 'This project will not accept any requests until unpaused.'
- if (projectStatus === 'isPausing')
- return 'This project is entering a paused state. This may take a few minutes.'
- if (projectStatus === 'isComingUp')
- return 'This project is coming up. This may take a few minutes.'
- if (projectStatus === 'isRestoring')
- return 'This project is restoring. This may take a few minutes.'
+ if (projectStatus === 'isPaused') return 'This project will not accept requests until resumed'
+ if (projectStatus === 'isPausing') return 'The pause process will complete in a few minutes'
+ if (projectStatus === 'isComingUp') return 'Your project will be ready in a few minutes'
+ if (projectStatus === 'isRestoring') return 'Your project will be ready in a few minutes'
// If none of the paused/restoring states match, proceed with the default logic
return activeWarnings.length > 1 && showResourceExhaustionWarnings
@@ -84,16 +81,16 @@ export const ProjectCardStatus = ({
<div>
<Alert_Shadcn_
variant={alertType}
- className="border-0 rounded-none rounded-b-md my-2 mb-2.5 [&>svg]:w-[28px] [&>svg]:h-[28px] [&>svg]:p-1.5 [&>svg]:left-6 pl-6"
+ className="border-0 rounded-none rounded-b-md my-2 mb-2.5 [&>svg]:w-[28px] [&>svg]:h-[28px] [&>svg]:mt-1 [&>svg]:p-1.5 [&>svg]:left-6 pl-6"
>
{projectStatus === 'isPaused' || projectStatus === 'isPausing' ? (
<IconPauseCircle strokeWidth={2} />
) : projectStatus === 'isRestoring' || projectStatus === 'isComingUp' ? (
- <IconLoader size={14} strokeWidth={2} className="animate-spin" />
+ <IconRefreshCw size={14} strokeWidth={2} />
) : (
<IconAlertTriangle strokeWidth={2} />
)}
- <AlertTitle_Shadcn_ className="text-xs mb-0.5">{alertTitle}</AlertTitle_Shadcn_>
+ <AlertTitle_Shadcn_ className="text-sm mb-0.5">{alertTitle}</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_ className="text-xs">{alertDescription}</AlertDescription_Shadcn_>
</Alert_Shadcn_>
</div>
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
index 10d6bb07890..ab938e7de38 100644
--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
@@ -86,7 +86,7 @@ type OrganizationProjectsProps = {
}
const OrganizationProjects = ({
- organization: { id, name, slug, subscription_id },
+ organization: { name, slug, subscription_id },
projects,
overdueInvoices,
resourceWarnings,