Release 0.14.0-alpha #42

Merged
uz1mani merged 109 commits from staging into main 2026-03-12 12:12:03 +00:00
66 changed files with 6938 additions and 1848 deletions
Showing only changes of commit 0f5d5338f3 - Show all commits

View File

@@ -584,15 +584,15 @@ export default function SiteDashboardPage() {
/>
</div>
<div className="grid gap-6 lg:grid-cols-2 mb-8">
<div className="mb-8">
<Campaigns siteId={siteId} dateRange={dateRange} filters={filtersParam || undefined} onFilter={handleAddFilter} />
</div>
<div className="grid gap-6 lg:grid-cols-2 mb-8">
<GoalStats
goalCounts={(dashboard?.goal_counts ?? []).filter(g => !/^scroll_\d+$/.test(g.event_name))}
onSelectEvent={setSelectedEvent}
/>
</div>
<div className="mb-8">
<ScrollDepth goalCounts={dashboard?.goal_counts ?? []} totalPageviews={stats.pageviews} />
</div>

View File

@@ -38,10 +38,10 @@ export default function ScrollDepth({ goalCounts, totalPageviews }: ScrollDepthP
{hasData ? (
<div className="flex-1 min-h-[200px] flex items-center justify-center">
<RadarChart
width={260}
height={220}
width={340}
height={300}
data={chartData}
margin={{ top: 10, right: 20, bottom: 10, left: 20 }}
margin={{ top: 16, right: 32, bottom: 16, left: 32 }}
>
<PolarGrid stroke="#404040" />
<PolarAngleAxis