Skip to content

Polish analytics dashboard and fix long-range reports - #31

Merged
thebuilder merged 16 commits into
mainfrom
feat/analytics-ui-tweaks
Jul 20, 2026
Merged

Polish analytics dashboard and fix long-range reports#31
thebuilder merged 16 commits into
mainfrom
feat/analytics-ui-tweaks

Conversation

@thebuilder

Copy link
Copy Markdown
Owner

Summary

  • align preset and custom date handling with Vercel reporting windows
  • use weekly buckets for 31–90 day ranges and monthly buckets for longer ranges
  • format chart labels and tooltips according to hourly, daily, weekly, and monthly granularity
  • load dashboard reports independently and defer UTM requests until those tabs are used
  • polish chart styling, table density, card footers, link affordances, favicons, filters, and date-picker layering
  • keep loading skeletons aligned with the final 40px row layout

Why

Long reporting ranges were requesting unsupported granularities, causing the 90-day and 12-month summary/history reports to fail while ranking cards still loaded. Several dashboard interactions also needed clearer affordances and more consistent density.

Impact

The dashboard now returns long-range history using supported bucket sizes, labels those buckets accurately, avoids unnecessary UTM requests, and presents a denser and more consistent analytics UI.

Verification

  • corepack pnpm --dir src/TheBuilder.WebAnalytics/Client test — 138 tests passed
  • corepack pnpm --dir src/TheBuilder.WebAnalytics/Client build — passed
  • dotnet test --no-restore — 158 passed; 5 existing AnalyticsDocumentRouteServiceTests fail because the loaded Umbraco binary lacks IContentService.GetById(Guid)

@thebuilder
thebuilder marked this pull request as ready for review July 20, 2026 16:31
@thebuilder
thebuilder merged commit 92347af into main Jul 20, 2026
5 checks passed
@thebuilder
thebuilder deleted the feat/analytics-ui-tweaks branch July 20, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant