mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
build out retention reports
This commit is contained in:
parent
253a46460b
commit
9cde107ddf
14 changed files with 479 additions and 3 deletions
28
components/pages/reports/retention/RetentionReport.js
Normal file
28
components/pages/reports/retention/RetentionReport.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import RetentionChart from './RetentionChart';
|
||||
import RetentionTable from './RetentionTable';
|
||||
import RetentionParameters from './RetentionParameters';
|
||||
import Report from '../Report';
|
||||
import ReportHeader from '../ReportHeader';
|
||||
import ReportMenu from '../ReportMenu';
|
||||
import ReportBody from '../ReportBody';
|
||||
import Funnel from 'assets/funnel.svg';
|
||||
|
||||
const defaultParameters = {
|
||||
type: 'Retention',
|
||||
parameters: { window: 60, urls: [] },
|
||||
};
|
||||
|
||||
export default function RetentionReport({ reportId }) {
|
||||
return (
|
||||
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
||||
<ReportHeader icon={<Funnel />} />
|
||||
<ReportMenu>
|
||||
<RetentionParameters />
|
||||
</ReportMenu>
|
||||
<ReportBody>
|
||||
<RetentionChart />
|
||||
<RetentionTable />
|
||||
</ReportBody>
|
||||
</Report>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue