14 Commits

Author SHA1 Message Date
Mitchell Hashimoto
2b4d89e11f
macOS: scheme doesn't need to be state 2025-04-25 11:42:12 -07:00
Aaron Ruan
1acb1715c3
replace NSVisualEffectView with ultraThinMaterial plus a background color 2025-04-25 10:42:22 +08:00
Aaron Ruan
3827ce9e4c
feat: beautify command palette 2025-04-24 12:46:38 +08:00
Mitchell Hashimoto
9bfe4544bf
macOS: Command palette has no selection by default, selection wraps
#7173

(1) The command palette no longer has any selection by default.
If and when we introduce most recently used commands, defaulting to that
would make sense. A selection only appears when the arrow keys are used
or the user starts typing.

(2) The selection with arrow keys now wraps, so if you press "down" on
the last option, it will wrap to the first option, and if you press "up"
on the first option, it will wrap to the last option. This matches both
VSCode and Zed.
2025-04-23 10:37:20 -07:00
Friedrich Stoltzfus
b4b2b10328 macOS: command pallete scroll improvements
Removes the withAnimation closure which caused flashing when scrolling
up or down with arrow keys. Also removes the center anchor to behave
more like other command palletes (e.g., Zed, Raycast).
2025-04-22 16:12:09 -04:00
Mitchell Hashimoto
5427b0b507
macOS: add description as hover tooltip 2025-04-22 08:36:17 -07:00
Mitchell Hashimoto
28404e946b
order commands alphabetically and preserve capitalization 2025-04-21 17:13:12 -07:00
Mitchell Hashimoto
a732bb272d
fix CI 2025-04-21 10:54:23 -07:00
Mitchell Hashimoto
e33eed0216
macOS: command palette visual tweaks 2025-04-21 10:40:30 -07:00
Mitchell Hashimoto
baad082438
macOS: command palette selection tweaks 2025-04-21 10:26:29 -07:00
Mitchell Hashimoto
8bd91e7104
macOS: hook up full action execution 2025-04-21 09:40:08 -07:00
Mitchell Hashimoto
afd4ec6de2
macOS: command palette "enter" works 2025-04-21 09:32:51 -07:00
Mitchell Hashimoto
5fab6faf04
macOS: hook up command palette C API to actual command palette 2025-04-21 08:32:42 -07:00
Mitchell Hashimoto
be7fb45e9f
command palette SwiftUI view 2025-04-21 08:32:05 -07:00