[CLEAN] Synthetic Benchmark PR #5866 - Consolidated View life cycle + billing integration #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Benchmark PR plausible#5866
Type: Clean (correct implementation)
Original PR Title: Consolidated View life cycle + billing integration
Original PR Description: ### Changes
This PR integrates consolidated view life cycle with billing properties.
It relies on two migrations (
included here still), extracted to separate PRs:Main changes:
:consolidated_view- we no longer display anything based onsuper_adminrole; flag is not setup on production yet, meaning existing consolidated views will disappear (and no CTAs will be shown).ConsolidatedView/sitesis visited an attempt is made to create consolidated view. If the team is eligible, and the feature flag is raised, the consolidated view card is shown. Otherwise a CTA card is displayed (courtesy of @sanne-san)/siteswill include the consolidated view card."+ New consolidated view"dropdown item)/sitesConsolidatedView.enabled?/1has been removed, since enabling doesn't mean availabilityTODO:
there are visual issues with card plots and overlapping dropdownsrecord-2025-11-10-10-29-34-year.node.norm.mp4
the dropdown doesn't respect dark modeTests
Changelog
Documentation
Dark mode
Original PR URL: plausible#5866