Skip to content

Configure analytics dashboard features and refine report dialogs#36

Merged
thebuilder merged 12 commits into
mainfrom
feat/configurable-dashboard-features
Jul 22, 2026
Merged

Configure analytics dashboard features and refine report dialogs#36
thebuilder merged 12 commits into
mainfrom
feat/configurable-dashboard-features

Conversation

@thebuilder

Copy link
Copy Markdown
Owner

Summary

  • add per-connection controls for Events and Flags, enabled by default, and omit disabled cards from dashboard and page analytics layouts
  • make card grids adapt to the enabled feature set while preserving the intended card hierarchy and compact percentage views
  • consolidate expanded analytics reports around reusable dialog structure, tabs, search, stable height, and richer Visitors/Page views data
  • preserve existing report data while filters, searches, and dialog tabs refresh instead of flashing skeleton states
  • refine connection settings hierarchy, fixed save actions, toast feedback, and the unconfigured-connection state
  • validate event-property settings only when Events are enabled

Why

Not every analytics connection uses Events or Flags, but the dashboard and settings flow previously treated those features as always present. The report dialogs also had card-specific implementations and loading transitions that produced inconsistent layout, duplicated labels, and visible flashes.

This makes feature availability a connection-level choice and gives cards and expanded reports a shared, resilient presentation.

Impact

Editors only see analytics features supported and enabled for the selected connection. Existing connections retain both features by default. Expanded reports now expose Visitors and Page views together while percentage-based dashboard cards keep their compact percentage presentation.

Validation

  • corepack pnpm check
  • corepack pnpm build
  • corepack pnpm test — 214 tests passed
  • rtk dotnet test TheBuilder.WebAnalytics.slnx — 216 tests passed
  • git diff --check

@thebuilder
thebuilder marked this pull request as ready for review July 22, 2026 13:41
@thebuilder
thebuilder merged commit 14af9ac into main Jul 22, 2026
5 checks passed
@thebuilder
thebuilder deleted the feat/configurable-dashboard-features branch July 22, 2026 13:41
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