feature(dashboard): improved funnels

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-03-23 21:13:32 +01:00
committed by GitHub
parent bb018d55ca
commit 1257381bf2
14 changed files with 741 additions and 341 deletions

View File

@@ -10,14 +10,14 @@ import { ReportSettings } from './ReportSettings';
export function ReportSidebar() {
const { chartType } = useSelector((state) => state.report);
const showFormula = chartType !== 'funnel' && chartType !== 'retention';
const showBreakdown = chartType !== 'funnel' && chartType !== 'retention';
const showBreakdown = chartType !== 'retention';
return (
<>
<div className="flex flex-col gap-8">
<ReportEvents />
<ReportSettings />
{showFormula && <ReportFormula />}
{showBreakdown && <ReportBreakdowns />}
{showFormula && <ReportFormula />}
<ReportSettings />
</div>
<SheetFooter>
<SheetClose asChild>