Commit 39442a3
authored
Command Palette (#13658)
- Close #13675 (Add Command Palette)
- `Ctrl+K` (non-macOS)/`Cmd+K` (macOS) to open, `Escape` to close
- Supports icons
- Fully reactive (reloads list of entries when changing between Local and Cloud backends, for example)
- Uses `fuzzysort` library to search, and highlight matches
- Automatically generated from `useMenuEntries` used for menus on the Dashboard; ~~and `registerHandlers` used for registering key bindings on the Project View~~
- (Edit: `registerHandlers` are no longer being used to generate Command Palette entries for now because they should be more finely scoped/thought should be taken to make it more intuitive)
# Important Notes
>[!NOTE]
> *Not* requested by anyone, just opening for feedback1 parent e0f6b81 commit 39442a3
File tree
30 files changed
+916
-296
lines changed- app
- common/src/text
- gui
- src
- components
- dashboard
- configurations
- hooks
- layouts
- Settings
- pages/dashboard
- Drive/DriveBar
- UserBar
- components
- column
- providers
- utilities
- project-view
- providers
- util
- providers
- react
- ide-desktop/client/src
30 files changed
+916
-296
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
874 | 883 | | |
875 | 884 | | |
876 | 885 | | |
| |||
1013 | 1022 | | |
1014 | 1023 | | |
1015 | 1024 | | |
| 1025 | + | |
| 1026 | + | |
1016 | 1027 | | |
1017 | 1028 | | |
1018 | 1029 | | |
| |||
1245 | 1256 | | |
1246 | 1257 | | |
1247 | 1258 | | |
1248 | | - | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1249 | 1270 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
98 | 89 | | |
99 | 90 | | |
100 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments