Skip to content

Commit 825502d

Browse files
authored
chore(issue-details): Don't default to false for streamlined ui (#87337)
with #87336 will allow us to start opting users into the new experience. Returns `None` instead of False so that the frontend can determine if we show the new UI or not
1 parent cc8d905 commit 825502d

File tree

1 file changed

+2
-2
lines changed
  • src/sentry/users/api/serializers

1 file changed

+2
-2
lines changed

src/sentry/users/api/serializers/user.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class _UserOptions(TypedDict):
6565
defaultIssueEvent: str
6666
timezone: str
6767
clock24Hours: bool
68-
prefersIssueDetailsStreamlinedUI: bool
68+
prefersIssueDetailsStreamlinedUI: bool | None
6969
prefersSpecializedProjectOverview: dict[str, bool]
7070
prefersStackedNavigation: bool
7171
quickStartDisplay: dict[str, int]
@@ -199,7 +199,7 @@ def serialize(
199199
"timezone": options.get("timezone") or settings.SENTRY_DEFAULT_TIME_ZONE,
200200
"clock24Hours": options.get("clock_24_hours") or False,
201201
"prefersIssueDetailsStreamlinedUI": options.get(
202-
"prefers_issue_details_streamlined_ui", False
202+
"prefers_issue_details_streamlined_ui"
203203
),
204204
"prefersSpecializedProjectOverview": options.get(
205205
"prefers_specialized_project_overview", {}

0 commit comments

Comments
 (0)