diff --git a/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx b/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx index 85e9cde3b32..782042dc55f 100644 --- a/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx +++ b/apps/studio/components/layouts/ObservabilityLayout/ObservabilityMenu.tsx @@ -131,8 +131,8 @@ const ObservabilityMenu = () => { ...(postgrestReportEnabled ? [ { - name: 'PostgREST', - key: 'postgrest', + name: 'Data API', + key: 'data-api', url: `/project/${ref}/observability/postgrest${preservedQueryParams}`, }, ] diff --git a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx index 26920aa3a4d..d512b3f3d09 100644 --- a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx +++ b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx @@ -1,4 +1,4 @@ -import { Blocks, FileText, Lightbulb, Glasses, List, Settings } from 'lucide-react' +import { Blocks, FileText, Lightbulb, List, Settings, Telescope } from 'lucide-react' import { ICON_SIZE, ICON_STROKE_WIDTH } from 'components/interfaces/Sidebar' import { generateAuthMenu } from 'components/layouts/AuthLayout/AuthLayout.utils' @@ -157,18 +157,18 @@ export const generateOtherRoutes = ( // }, ...(IS_PLATFORM && reportsEnabled ? [ - { - key: 'observability', - label: 'Observability', - icon: , - link: ref && (isProjectBuilding ? buildingUrl : `/project/${ref}/observability`), - }, { key: 'reports', - label: 'Custom Reports', + label: 'Reports', icon: , link: ref && (isProjectBuilding ? buildingUrl : `/project/${ref}/reports`), }, + { + key: 'observability', + label: 'Observability', + icon: , + link: ref && (isProjectBuilding ? buildingUrl : `/project/${ref}/observability`), + }, ] : []), { diff --git a/apps/studio/pages/project/[ref]/observability/postgrest.tsx b/apps/studio/pages/project/[ref]/observability/postgrest.tsx index a91ded772ea..0f2e0125b26 100644 --- a/apps/studio/pages/project/[ref]/observability/postgrest.tsx +++ b/apps/studio/pages/project/[ref]/observability/postgrest.tsx @@ -33,7 +33,7 @@ const PostgRESTReport: NextPageWithLayout = () => { PostgRESTReport.getLayout = (page) => ( - {page} + {page} ) @@ -94,7 +94,7 @@ const PostgrestReport = () => { return ( <> - +