Commit 998580f
authored
ref(nav): extract header actions, use pageframe slots (#113083)
Refactors the Issue Details header actions:
- extracts actions into a self-contained component
- switch control flow to `if-return` over inline ternaries
- introduces a `MaybeTopBarSlot` component that does slot projection
behind the `page-frame` flag
| Before | After |
|--------|--------|
| <img width="1280" height="298" alt="issue-detail-before"
src="https://github.com/user-attachments/assets/9ff4ffc5-dec1-417f-8aa9-3d7f8291c9aa"
/> | <img width="1280" height="346" alt="issue-detail-after"
src="https://github.com/user-attachments/assets/1b38f231-810a-4cb3-9da5-cd3af5b1c188"
/> |
Closes DE-11341 parent 1093817 commit 998580f
File tree
5 files changed
+64
-425
lines changed- static/app/views/issueDetails
- actions
- streamline/header
5 files changed
+64
-425
lines changedLines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 0 additions & 232 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 108 | | |
129 | 109 | | |
130 | 110 | | |
| |||
0 commit comments