Browse Source

feat(onboarding): Add feature flag to control project deletion (#44739)

Priscila Oliveira 2 years ago
parent
commit
7f6c793b29
2 changed files with 4 additions and 0 deletions
  1. 3 0
      src/sentry/conf/server.py
  2. 1 0
      src/sentry/features/__init__.py

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

@@ -1234,6 +1234,9 @@ SENTRY_FEATURES = {
     "organizations:mobile-view-hierarchies": False,
     # Enable the onboarding heartbeat footer on the sdk setup page
     "organizations:onboarding-heartbeat-footer": False,
+    # Enable a new behavior for deleting the freshly created project,
+    # if the user clicks on the back button in the onboarding for new orgs
+    "organizations:onboarding-project-deletion-on-back-click": False,
     # Disables multiselect platform in the onboarding flow
     "organizations:onboarding-remove-multiselect-platform": False,
     # Enable ANR rates in project details page

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

@@ -209,6 +209,7 @@ default_manager.add("organizations:integrations-issue-sync", OrganizationFeature
 default_manager.add("organizations:integrations-stacktrace-link", OrganizationFeature)
 default_manager.add("organizations:integrations-ticket-rules", OrganizationFeature)
 default_manager.add("organizations:onboarding-heartbeat-footer", OrganizationFeature, True)
+default_manager.add("organizations:onboarding-project-deletion-on-back-click", OrganizationFeature, True)
 default_manager.add("organizations:onboarding-remove-multiselect-platform", OrganizationFeature, True)
 default_manager.add("organizations:performance-view", OrganizationFeature)
 default_manager.add("organizations:profile-blocked-main-thread-ingest", OrganizationFeature)