[CLEAN] Synthetic Benchmark PR #5908 - Remove :consolidated_view feature flag #79
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.
User description
Benchmark PR plausible#5908
Type: Clean (correct implementation)
Original PR Title: Remove :consolidated_view feature flag
Original PR Description: unknown
Original PR URL: plausible#5908
PR Type
Enhancement
Description
Remove
:consolidated_viewfeature flag from codebaseSimplify conditional logic by eliminating flag checks
Clean up test cases related to flag behavior
Remove flag initialization from seeds and test setup
Diagram Walkthrough
File Walkthrough
consolidated_view.ex
Remove feature flag checks from consolidated viewextra/lib/plausible/consolidated_view.ex
flag_enabled?/1function that checked FunWithFlags statusok_to_display?/1logicenable/1function error handlingsites.ex
Simplify consolidated view initialization logiclib/plausible_web/live/sites.ex
ConsolidatedView.flag_enabled?/1init_consolidated_view_assigns/2by removing nested ifstatement
:unavailablereason assignment when flag was disabledConsolidatedView.enable/1seeds.exs
Remove feature flag enablement from seedspriv/repo/seeds.exs
FunWithFlags.enable(:consolidated_view)calltest_helper.exs
Remove feature flag enablement from test setuptest/test_helper.exs
FunWithFlags.enable(:consolidated_view)call from test setupconsolidated_view_test.exs
Remove feature flag test casetest/plausible/consolidated_view_test.exs
sites_test.exs
Remove feature flag-specific test casestest/plausible_web/live/sites_test.exs
trial