Skip to content

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

feat: move query insights to reports page

TzeYiingf6fe14963a42
diff --git a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts
index 350a06f8ea7..774ad0fb2a7 100644
--- a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts
+++ b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts
@@ -74,13 +74,6 @@ export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => {
},
]
: []),
- {
- name: 'Insights',
- key: 'insights',
- url: `/project/${ref}/database/insights`,
- items: [],
- label: 'NEW',
- },
],
},
]
diff --git a/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts b/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts
index 8e6142aaef8..78c8383c79f 100644
--- a/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts
+++ b/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts
@@ -42,6 +42,13 @@ export const generateReportsMenu = (project?: Project): ProductMenuGroup[] => {
url: `/project/${ref}/reports/database`,
items: [],
},
+ {
+ name: 'Query Insights',
+ key: 'insights',
+ url: `/project/${ref}/reports/insights`,
+ items: [],
+ label: 'NEW',
+ },
],
},
]