Merge branch 'heatmaps' into dev

# Conflicts:
#	db/clickhouse/schema.sql
This commit is contained in:
Mike Cao committed 2026-05-07 14:49:21 -07:00
commit 9b18511af0
23 files changed
+1702 -10

No files matched your search

+3 -1
View File
@@ -10,11 +10,13 @@ export function TypeIcon({
value: string;
children?: ReactNode;
}) {
const iconValue = type === 'browser' && value === 'browser' ? 'unknown' : value;
return (
<Row gap="3" alignItems="center">
<img
src={`${process.env.basePath || ''}/images/${type}/${
value?.replaceAll(' ', '-').toLowerCase() || 'unknown'
iconValue?.replaceAll(' ', '-').toLowerCase() || 'unknown'
}.png`}
onError={e => {
e.currentTarget.src = `${process.env.basePath || ''}/images/${type}/unknown.png`;
@@ -3,6 +3,7 @@ import {
ChartPie,
Clock,
Eye,
Flame,
Sheet,
Tag,
User,
@@ -107,6 +108,12 @@ export function useWebsiteNavItems(websiteId: string) {
icon: <Video />,
path: renderPath('/replays'),
},
{
id: 'heatmaps',
label: t(labels.heatmaps),
icon: <Flame />,
path: renderPath('/heatmaps'),
},
],
},
{
+3
View File
@@ -284,6 +284,9 @@ export const labels: Record<string, string> = {
journey: 'label.journey',
journeys: 'label.journeys',
journeyDescription: 'label.journey-description',
heatmap: 'label.heatmap',
heatmaps: 'label.heatmaps',
heatmapDescription: 'label.heatmap-description',
compareDates: 'label.compare-dates',
compare: 'label.compare',
current: 'label.current',