Commit 81858f2
feat(cmd-k): Add 'Open Superuser Modal' action
Add the old superuser modal action from the deprecated command palette
to the new CMD-K implementation. This action allows staff users to
escalate to superuser mode by opening the superuser authentication modal.
The action is only shown when the user is NOT already a superuser, and
is searchable via the 'superuser' keyword.
Co-authored-by: Jonas <JonasBa@users.noreply.github.com>1 parent 004c1b4 commit 81858f2
File tree
1 file changed
+17
-0
lines changed- static/app/components/commandPalette
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
369 | 386 | | |
370 | 387 | | |
371 | 388 | | |
| |||
0 commit comments