[CORRUPTED] Synthetic Benchmark PR #5908 - Remove :consolidated_view feature flag #80
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: Corrupted (contains bugs)
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
Remove feature flag initialization from seeds and tests
Update consolidated view enable logic to remove flag dependency
Diagram Walkthrough
File Walkthrough
consolidated_view.ex
Remove feature flag dependency from consolidated viewextra/lib/plausible/consolidated_view.ex
flag_enabled?/1function that checked FunWithFlags statusok_to_display?/1conditionenable/1function by removing flag and availability checkconditions
sites.ex
Simplify consolidated view initialization logiclib/plausible_web/live/sites.ex
ConsolidatedView.flag_enabled?/1init_consolidated_view_assigns/2to directly callConsolidatedView.enable/1consolidated_view_cta_dismissed?to always returnfalseonsuccess
seeds.exs
Remove feature flag initialization from seedspriv/repo/seeds.exs
FunWithFlags.enable(:consolidated_view)call from seed filetest_helper.exs
Remove feature flag initialization from teststest/test_helper.exs
FunWithFlags.enable(:consolidated_view)call from test helpersetup
consolidated_view_test.exs
Remove feature flag test casetest/plausible/consolidated_view_test.exs
sites_test.exs
Remove feature flag-dependent test casestest/plausible_web/live/sites_test.exs
is disabled
down