Polish dashboard UX, loading states, and tracking accuracy #45

Merged
uz1mani merged 10 commits from staging into main 2026-03-13 12:35:08 +00:00
7 changed files with 162 additions and 206 deletions
Showing only changes of commit 0abc5cd4a8 - Show all commits

View File

@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- **Faster tab switching across the board.** Switching between Settings, Funnels, Uptime, and other tabs now shows your data instantly instead of flashing a loading skeleton every time. Previously visited tabs remember their data and show it right away, while quietly refreshing in the background so you always see the latest numbers without the wait.
- **Smoother loading on the Journeys page.** The Journeys tab now shows a polished skeleton placeholder while data loads, matching the loading experience on other tabs.
- **Consistent chart colors.** All dashboard charts — Unique Visitors, Total Pageviews, Bounce Rate, and Visit Duration — now use the same brand orange color for a cleaner, more cohesive look.
### Fixed

View File

@@ -104,9 +104,9 @@ const METRIC_CONFIGS: {
const chartConfig = {
visitors: { label: 'Unique Visitors', color: '#FD5E0F' },
pageviews: { label: 'Total Pageviews', color: '#3b82f6' },
bounce_rate: { label: 'Bounce Rate', color: '#a855f7' },
avg_duration: { label: 'Visit Duration', color: '#10b981' },
pageviews: { label: 'Total Pageviews', color: '#FD5E0F' },
bounce_rate: { label: 'Bounce Rate', color: '#FD5E0F' },
avg_duration: { label: 'Visit Duration', color: '#FD5E0F' },
} satisfies ChartConfig
// ─── Custom Tooltip ─────────────────────────────────────────────────