Make NEW_STATS flag visible for all builds#22626
Conversation
… Subscribers tabs in releases Enable the NEW_STATS experimental feature flag in all build variants (not just debug builds), while keeping the Insights and Subscribers tabs hidden in non-debug builds since they are still under construction. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Generated by 🚫 Danger |
|
|
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #22626 +/- ##
==========================================
- Coverage 38.13% 38.13% -0.01%
==========================================
Files 2254 2254
Lines 114262 114270 +8
Branches 15913 15916 +3
==========================================
Hits 43578 43578
- Misses 67072 67080 +8
Partials 3612 3612 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@adalpari This all works great, but I'm wondering if we should hide the tabs in release builds? Having a single "Traffic" tab at the top looks odd.
|
Instead of per-tab visibility flags, use a single BuildConfig.DEBUG check to determine whether to show the tab bar and include all tabs or restrict to only the Traffic tab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
* Make NEW_STATS feature flag visible for all builds, hide Insights and Subscribers tabs in releases Enable the NEW_STATS experimental feature flag in all build variants (not just debug builds), while keeping the Insights and Subscribers tabs hidden in non-debug builds since they are still under construction. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> * Hide tab bar in new stats for non-debug builds Instead of per-tab visibility flags, use a single BuildConfig.DEBUG check to determine whether to show the tab bar and include all tabs or restrict to only the Traffic tab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>






Description
Enable the NEW_STATS experimental feature flag in all build variants, not just debug builds. Additionally, hide the Insights and Subscribers tabs in release builds since they are still under construction.
Testing instructions
Feature flag visibility in non-debug builds:
Feature flag visibility in debug builds: