- Notifications
You must be signed in to change notification settings - Fork1k
Commitff4fc2f
feat: add View Source button for template administrators in workspace creation
Adds a View Source button to the workspace creation page that allows templateadministrators to quickly navigate to the template editor. The button:- Only appears for users with template update permissions- Links directly to the template version editor- Uses the ExternalLinkIcon for consistency with other source viewing features- Is positioned next to the Cancel button in the page headerThis addresses user friction where template admins expect to be able to edittemplates directly from the workspace creation flow.Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>1 parent4ac6be6 commitff4fc2f
File tree
2 files changed
+28
-4
lines changed- site/src/pages/CreateWorkspacePage
2 files changed
+28
-4
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 |
| |
70 | 79 |
| |
71 | 80 |
| |
| |||
208 | 217 |
| |
209 | 218 |
| |
210 | 219 |
| |
| 220 | + | |
211 | 221 |
| |
212 | 222 |
| |
213 | 223 |
| |
|
Lines changed: 17 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
| |||
67 | 69 |
| |
68 | 70 |
| |
69 | 71 |
| |
| 72 | + | |
70 | 73 |
| |
71 | 74 |
| |
72 | 75 |
| |
| |||
92 | 95 |
| |
93 | 96 |
| |
94 | 97 |
| |
| 98 | + | |
95 | 99 |
| |
96 | 100 |
| |
97 | 101 |
| |
| |||
218 | 222 |
| |
219 | 223 |
| |
220 | 224 |
| |
221 |
| - | |
222 |
| - | |
223 |
| - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
224 | 238 |
| |
225 | 239 |
| |
226 | 240 |
| |
|
0 commit comments
Comments
(0)