Browse Source

chore(starfish): Introduce flag for platform selector (#62117)

feature flag
Shruthi 1 year ago
parent
commit
f93730fd44
2 changed files with 3 additions and 0 deletions
  1. 2 0
      src/sentry/conf/server.py
  2. 1 0
      src/sentry/features/__init__.py

+ 2 - 0
src/sentry/conf/server.py

@@ -1737,6 +1737,8 @@ SENTRY_FEATURES: dict[str, bool | None] = {
     "organizations:performance-remove-metrics-compatibility-fallback": False,
     # Enable screens view powered by span metrics
     "organizations:performance-screens-view": False,
+    # Enable platform selector for screens flow
+    "organizations:performance-screens-platform-selector": False,
     # Enable column that shows ttid ttfd contributing spans
     "organizations:mobile-ttid-ttfd-contribution": False,
     # Enable slow DB performance issue type

+ 1 - 0
src/sentry/features/__init__.py

@@ -192,6 +192,7 @@ default_manager.add("organizations:performance-new-widget-designs", Organization
 default_manager.add("organizations:performance-onboarding-checklist", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
 default_manager.add("organizations:performance-remove-metrics-compatibility-fallback", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
 default_manager.add("organizations:performance-screens-view", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
+default_manager.add("organizations:performance-screens-platform-selector", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
 default_manager.add("organizations:performance-slow-db-issue", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)
 default_manager.add("organizations:performance-span-histogram-view", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
 default_manager.add("organizations:performance-statistical-detectors-breakpoint", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)