Commit eafc821
authored
ref(issue-details): Remove useHasStreamlinedUI hook and legacy UI code (#112465)
Remove the `useHasStreamlinedUI` hook which always returned `true`,
along with
all legacy (non-streamlined) UI code paths gated behind it.
Changes:
- Delete `useHasStreamlinedUI` from `utils.tsx`
- Remove all call sites and simplify conditional branches in
`groupEventDetailsContent`, `groupEventDetails`, and `groupDetails`
- Remove dead imports, styled components, and functions that were only
reachable from the legacy path (`renderGroupStatusBanner`,
`trackTabChanged`, `StyledLayoutBody`, `StyledLayoutMain`,
`GroupStatusBannerWrapper`, `GroupTabPanels`, `NotFoundMessage`,
`StyledDataSection`, etc.)
- Remove `jest.mock` overrides of the hook in test files
- Simplify `inputWithStorage.tsx` to no longer gate on the hook
Agent transcript:
https://claudescope.sentry.dev/share/N42GnuAIP46Yfs6hbcGKQ4Uybjtnlxsgws23v5IjV_o1 parent 78e84a2 commit eafc821
File tree
29 files changed
+30
-3794
lines changed- static/app
- components
- activity/note
- errors
- events
- eventTagsAndScreenshot
- interfaces/crashContent/exception
- group/inboxBadges
- views/issueDetails
- groupEventDetails
- streamline
29 files changed
+30
-3794
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | | - | |
| 138 | + | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
Lines changed: 0 additions & 45 deletions
This file was deleted.
0 commit comments