mirror of
https://github.com/umami-software/umami.git
synced 2026-02-24 22:45:36 +01:00
New properties screens. New website nav.
This commit is contained in:
parent
a9a9b57f80
commit
01bfd7f52e
17 changed files with 536 additions and 557 deletions
|
|
@ -7,6 +7,7 @@ import { Panel } from '@/components/common/Panel';
|
|||
import { Breakdown } from './Breakdown';
|
||||
import { WebsiteControls } from '@/app/(main)/websites/[websiteId]/WebsiteControls';
|
||||
import { FieldSelectForm } from '@/app/(main)/websites/[websiteId]/(reports)/breakdown/FieldSelectForm';
|
||||
import { SectionHeader } from '@/components/common/SectionHeader';
|
||||
|
||||
export function BreakdownPage({ websiteId }: { websiteId: string }) {
|
||||
const {
|
||||
|
|
@ -17,7 +18,9 @@ export function BreakdownPage({ websiteId }: { websiteId: string }) {
|
|||
return (
|
||||
<Column gap>
|
||||
<WebsiteControls websiteId={websiteId} />
|
||||
<FieldsButton value={fields} onChange={setFields} />
|
||||
<SectionHeader>
|
||||
<FieldsButton value={fields} onChange={setFields} />
|
||||
</SectionHeader>
|
||||
<Panel height="900px" overflow="auto" allowFullscreen>
|
||||
<Breakdown
|
||||
websiteId={websiteId}
|
||||
|
|
@ -36,7 +39,7 @@ const FieldsButton = ({ value, onChange }) => {
|
|||
return (
|
||||
<Box>
|
||||
<DialogTrigger>
|
||||
<Button>
|
||||
<Button variant="primary">
|
||||
<Icon>
|
||||
<ListCheck />
|
||||
</Icon>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export function UTM({ websiteId, startDate, endDate }: UTMProps) {
|
|||
});
|
||||
|
||||
return (
|
||||
<LoadingPanel data={data} isLoading={isLoading} error={error}>
|
||||
<LoadingPanel data={data} isLoading={isLoading} error={error} minHeight="300px">
|
||||
{data && (
|
||||
<Column gap>
|
||||
{UTM_PARAMS.map(param => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue