Skip to content

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

Clicking into edge functions will lead to details page

Joshen Lim4918207adf74
diff --git a/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx b/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx
index f2f21e65c04..42b4986fc64 100644
--- a/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx
+++ b/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx
@@ -222,7 +222,7 @@ const EdgeFunctionDetails: FC<Props> = () => {
</div>
<div className="flex items-center">
- <span className="text-sm text-scale-1000 w-[130px]">Deployment</span>
+ <span className="text-sm text-scale-1000 w-[130px]">Deployments</span>
<div className="text-sm text-scale-1200">{selectedFunction?.version}</div>
</div>
diff --git a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
index 0f8a00ecb8b..0d9ce1f727b 100644
--- a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
+++ b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
@@ -28,7 +28,7 @@ const EdgeFunctionsListItem: FC<Props> = ({ function: item }) => {
<Table.tr
key={item.id}
onClick={() => {
- router.push(`/project/${ref}/functions/${item.id}`)
+ router.push(`/project/${ref}/functions/${item.id}/details`)
}}
>
<Table.td className="">
diff --git a/studio/components/interfaces/Functions/FunctionsNav.tsx b/studio/components/interfaces/Functions/FunctionsNav.tsx
index 992a11474d0..af24e28d29f 100644
--- a/studio/components/interfaces/Functions/FunctionsNav.tsx
+++ b/studio/components/interfaces/Functions/FunctionsNav.tsx
@@ -16,8 +16,8 @@ const FunctionsNav = ({ item }: any) => {
router.push(`/project/${ref}/functions/${item.id}/${e === 'metrics' ? '' : e}`)
}
>
- <Tabs.Panel id="metrics" label="Metrics" />
<Tabs.Panel id="details" label="Details" />
+ <Tabs.Panel id="metrics" label="Metrics" />
<Tabs.Panel id="invocations" label="Invocations" />
<Tabs.Panel id="logs" label="Logs" />
</Tabs>
diff --git a/studio/pages/project/[ref]/functions/index.tsx b/studio/pages/project/[ref]/functions/index.tsx
index ae427eed957..e78b41e0996 100644
--- a/studio/pages/project/[ref]/functions/index.tsx
+++ b/studio/pages/project/[ref]/functions/index.tsx
@@ -38,7 +38,7 @@ const PageLayout: NextPageWithLayout = () => {
<Table.th>URL</Table.th>
<Table.th className="hidden 2xl:table-cell">Created</Table.th>
<Table.th className="lg:table-cell">Last updated</Table.th>
- <Table.th className="lg:table-cell">Deployment</Table.th>
+ <Table.th className="lg:table-cell">Deployments</Table.th>
</>
}
body={