mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
* add selected logs to url * Add mocks for nuqs package. * fix layout issues n remove magic numbers for height * fix chart height issue * fix bug where logs not in first page wouldnt load correctly * fix spacing between charts and header * fix postgtres_logs issues, improve size in log detail * fix borders * fix default renderer * fix detail width * rm maxheight references * fix tests * fix typeerrs * fix stories typerr * improve colelctions empty state * move state UP for logs and warehouse tables * cleanup * rm params * rm params * rm params * fix log explorer selection * fix tests types * cleanup divs * fix selected log delay * use isEq for comparison in rows * fix selection stuck open * fix btnlink combo --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
25 lines
713 B
TypeScript
25 lines
713 B
TypeScript
import { useRouter } from 'next/router'
|
|
|
|
import LogsPreviewer from 'components/interfaces/Settings/Logs/LogsPreviewer'
|
|
import LogsLayout from 'components/layouts/LogsLayout/LogsLayout'
|
|
import type { NextPageWithLayout } from 'types'
|
|
import { LogsTableName } from 'components/interfaces/Settings/Logs/Logs.constants'
|
|
|
|
export const LogPage: NextPageWithLayout = () => {
|
|
const router = useRouter()
|
|
const { ref } = router.query
|
|
|
|
return (
|
|
<LogsPreviewer
|
|
projectRef={ref as string}
|
|
condensedLayout={true}
|
|
tableName={LogsTableName.POSTGRES}
|
|
queryType={'database'}
|
|
/>
|
|
)
|
|
}
|
|
|
|
LogPage.getLayout = (page) => <LogsLayout title="Postgres Logs">{page}</LogsLayout>
|
|
|
|
export default LogPage
|