You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dashboard links to monthly pageview usage breakdown (#6117)
* Add dashboard links to monthly pageview usage breakdown
- On the subscription settings page, each billing period's "Total billable pageviews" row and each individual site in the breakdown now show an external link icon that deep-links to the dashboard filtered to that exact billing cycle date range.
- For the total link, the consolidated view domain is preferred when available; otherwise the site's own domain is used when the team has exactly one site.
* Fix CI failures from nested consolidated view logic in settings controller
* Fix Dialyzer CI failure
* Extract consolidated view domain lookup to avoid Dialyzer warning
* fix dialyzer
* Incorporate feedback
- Merge `site_domain` and `consolidated_view_domain` into a single`total_pageview_usage_domain` assign, resolving the precedence logic in the controller rather than the component
- Rename `sites` to `per_site` in the usage cycle map to distinguish it from the site count field in quota usage
- Remove `team_identifier` from controller assigns, template, and billing component — the session already carries the correct team context when the user is on the subscription settings page
* Simplify single-site domain lookup to a strict pattern match
---------
Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
0 commit comments