📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
VR device type support
Blue Mouse357b543a38a5
diff --git a/web/app/pages/Project/View/ViewProject.helpers.tsx b/web/app/pages/Project/View/ViewProject.helpers.tsxindex 921b8cce8..4bb7a9a61 100644--- a/web/app/pages/Project/View/ViewProject.helpers.tsx+++ b/web/app/pages/Project/View/ViewProject.helpers.tsx@@ -39,6 +39,7 @@ import {DevicesIcon,TelevisionIcon,WatchIcon,+ VirtualRealityIcon,TranslateIcon,ArrowCircleRightIcon,} from '@phosphor-icons/react'@@ -2391,6 +2392,7 @@ export const deviceIconMapping = {console: <GameControllerIcon className='size-5' />,wearable: <WatchIcon className='size-5' />,embedded: <CpuIcon className='size-5' />,+ xr: <VirtualRealityIcon className='size-5' />,}// This function return date using the same format as the backend@@ -2535,7 +2537,7 @@ export const getDeviceRowMapper = (<>{icon} - {entryName}+ {entryName === 'xr' ? t('project.deviceLabels.xr') : entryName}</>)}diff --git a/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx b/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsxindex ced1115f1..89984f1f8 100644--- a/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx+++ b/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx@@ -17,6 +17,7 @@ import {SignInIcon,UserListIcon,WarningIcon,+ VirtualRealityIcon,} from '@phosphor-icons/react'import { useMemo, useState } from 'react'import type { ReactNode } from 'react'@@ -365,6 +366,7 @@ const DeviceIcon = ({ device }: { device: string | null }) => {const deviceLower = device?.toLowerCase() || ''if (deviceLower === 'mobile') return <DeviceMobileIcon className='h-4 w-4' />if (deviceLower === 'tablet') return <DeviceTabletIcon className='h-4 w-4' />+ if (deviceLower === 'xr') return <VirtualRealityIcon className='h-4 w-4' />return <MonitorIcon className='h-4 w-4' />}@@ -1049,7 +1051,9 @@ export const ProfileDetails = ({details.device ? (<><DeviceIcon device={details.device} />- {_capitalize(details.device)}+ {details.device.toLowerCase() === 'xr'+ ? t('project.deviceLabels.xr')+ : _capitalize(details.device)}</>) : ('-'diff --git a/web/app/ui/FilterValueInput.tsx b/web/app/ui/FilterValueInput.tsxindex 0c3bfb3d1..7c5a55022 100644--- a/web/app/ui/FilterValueInput.tsx+++ b/web/app/ui/FilterValueInput.tsx@@ -34,6 +34,7 @@ import {TelevisionIcon,WarningIcon,WatchIcon,+ VirtualRealityIcon,} from '@phosphor-icons/react'import {useState,@@ -98,6 +99,7 @@ const deviceIconMapping: Record<string, ReactNode> = {console: <GameControllerIcon className='size-4' />,wearable: <WatchIcon className='size-4' />,embedded: <CpuIcon className='size-4' />,+ xr: <VirtualRealityIcon className='size-4' />,}// Special separator for combined version values (e.g., "Chrome|||120.5")@@ -171,6 +173,9 @@ const FilterValueInput = ({if (column === 'country') {return countries.getName(item, language) || item}+ if (column === 'device' && item === 'xr') {+ return t('project.deviceLabels.xr')+ }// Handle combined version values (e.g., "Chrome|||120.5" -> "Chrome 120.5")if (column === 'browser_version' || column === 'os_version') {const parsed = parseVersionValue(item)diff --git a/web/public/locales/de.json b/web/public/locales/de.jsonindex 40446aa17..baf060c96 100644--- a/web/public/locales/de.json+++ b/web/public/locales/de.json@@ -2104,6 +2104,9 @@"solve_time": "Lösungszeiten","captcha_reason": "Gründe für automatische Schwierigkeit"},+ "deviceLabels": {+ "xr": "VR / AR Headset"+ },"mapping": {"cc": "Land","rg": "Region",diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 6c1600f9a..6b5279271 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -2104,6 +2104,9 @@"solve_time": "Solve times","captcha_reason": "Auto difficulty reasons"},+ "deviceLabels": {+ "xr": "VR / AR headset"+ },"mapping": {"cc": "Country","rg": "Region",diff --git a/web/public/locales/fr.json b/web/public/locales/fr.jsonindex de8ddcc82..c1370a960 100644--- a/web/public/locales/fr.json+++ b/web/public/locales/fr.json@@ -2105,6 +2105,9 @@"solve_time": "Temps de résolution","captcha_reason": "Raisons de la difficulté automatique"},+ "deviceLabels": {+ "xr": "Casque VR / AR"+ },"mapping": {"cc": "Pays","rg": "Région",diff --git a/web/public/locales/pl.json b/web/public/locales/pl.jsonindex c4ec7ada6..35855629b 100644--- a/web/public/locales/pl.json+++ b/web/public/locales/pl.json@@ -2106,6 +2106,9 @@"solve_time": "Czasy rozwiązywania","captcha_reason": "Powody automatycznej trudności"},+ "deviceLabels": {+ "xr": "Gogle VR / AR"+ },"mapping": {"cc": "Kraj","rg": "Region",diff --git a/web/public/locales/pt.json b/web/public/locales/pt.jsonindex bac210d2f..91fef412a 100644--- a/web/public/locales/pt.json+++ b/web/public/locales/pt.json@@ -2105,6 +2105,9 @@"solve_time": "Tempos de resolução","captcha_reason": "Motivos de dificuldade automática"},+ "deviceLabels": {+ "xr": "Headset VR / AR"+ },"mapping": {"cc": "País","rg": "Região",diff --git a/web/public/locales/uk.json b/web/public/locales/uk.jsonindex 70bddbe3f..ee12100d2 100644--- a/web/public/locales/uk.json+++ b/web/public/locales/uk.json@@ -2106,6 +2106,9 @@"solve_time": "Час вирішення","captcha_reason": "Причини автоматичної складності"},+ "deviceLabels": {+ "xr": "VR / AR гарнітура"+ },"mapping": {"cc": "Країна","rg": "Область",diff --git a/web/scripts/translation-state.json b/web/scripts/translation-state.jsonindex 047db7f95..b01267ec6 100644--- a/web/scripts/translation-state.json+++ b/web/scripts/translation-state.json@@ -1669,6 +1669,7 @@"project.panelTabs.captcha_difficulty": "962f43eeddcd4985e1bd5b68ddafafefb61795f6b16e576f8e4ceda69cb14ea1","project.panelTabs.solve_time": "b3884aac64159a256939458f782bc47a03e434f7777acaa136991ac9de803c85","project.panelTabs.captcha_reason": "303a7c5393a4c9b36ec16c7419c24f002f396bd55b9e6c0c8d45bb1aa497e3ff",+ "project.deviceLabels.xr": "8df71b879679ecc1eea6cf298da38ec83b599e74cfd15345c2512b805d741aa8","project.mapping.cc": "701d021d08c54579f23343581e45b65ffb1150b2c99f94352fdac4b7036dbbd5","project.mapping.rg": "d3a008ef1335692d9d045175ba9ea1dcd39ae48da9e2043a9baabad6c3818c28","project.mapping.ct": "fc33f73246f48295702f404001e74d56f14d2f82689b2816422dc1a4c2ec4fb2",