Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/sentry/features/temporary.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,6 @@ def register_temporary_features(manager: FeatureManager) -> None:
manager.add("organizations:session-replay-slack-new-issue", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
# Enable core Session Replay link in the sidebar
manager.add("organizations:session-replay-ui", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, default=True, api_expose=True)
# Enable new UI for replay details page
manager.add("organizations:replay-details-new-ui", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing flag breaks new UI - always shows old UI

The feature flag replay-details-new-ui is being removed from the backend, but frontend code in static/app/views/replays/details.tsx still checks organization.features.includes('replay-details-new-ui') to decide which UI to show. After this removal, the check will always return false, causing users to always see the old UI instead of the new UI. The frontend usage needs to be removed first or simultaneously, making the new UI the unconditional default.

Fix in Cursor Fix in Web

# Enable playlist view in replay details page
manager.add("organizations:replay-playlist-view", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
# Enable the rendering of @sentry/toolbar inside the sentry app. See `useInitSentryToolbar()`
Expand Down
Loading