Commit graph

14 commits

Author SHA1 Message Date
ByteAtATime
8852c73f5a
feat(actions): improve keyboard shortcut display
Previously, the logic for displaying keyboard shortcuts was all over the place. This commit creates a single KeyboardShortcut component that is responsible for displaying it. It slightly changes some styles in the Kbd component, and also adds the Tauri `os` plugin to determine whether to display Mac symbols or Windows names. It also maps cmd to Ctrl on Windows.
2025-06-29 11:32:18 -07:00
ByteAtATime
58e48213bd
feat: Implement hide on escape and focus loss
This commit adds two ways that hides the main window. First, when the user presses escape in the command palette, the window hides; second, when the focus is lost (i.e. the user's cursor goes outside the window), it also hides itself.
2025-06-25 14:31:21 -07:00
ByteAtATime
56813684e1
feat(snippets): add import snippet feature
Currently, our application does not support snippets without keywords. We will have to figure out why it's possible to have a text replacement item without the text to replace.
2025-06-25 08:38:14 -07:00
ByteAtATime
b8d87a745f
feat(client): allow client to listen to hud title change 2025-06-22 19:14:13 -07:00
ByteAtATime
ffd8f3c4bf
fix(client): use http extension for fetching on backend
Originally, using the built-in `fetch()` resulted in CORS errors because it was fetching from the "frontend", which doesn't work after building. This commit migrates to Tauri's HTTP plugin, which is made for exactly this scenario.
2025-06-22 10:45:06 -07:00
ByteAtATime
28d1605bba
feat: add hud API
This commit adds the HUD API, allowing extensions to display temporary, non-interactive messages on the screen. The implementation adds a `show_hud` Tauri command that manages a dedicated, borderless Svelte window. This window is dynamically resized to fit its content and is automatically hidden after two seconds.
2025-06-22 09:04:10 -07:00
ByteAtATime
fed96e0cf2
feat: add alt+space global shortcut to show window 2025-06-18 17:40:21 -07:00
ByteAtATime
92b13f650d
feat: remove hardcoded paths in sidecar
Added a new config module to manage directory paths for data, cache, support, plugins, preferences, and assets.
2025-06-17 21:13:59 -07:00
ByteAtATime
c69f10102e
fix: add shell:allow-open permission for open function 2025-06-17 12:02:08 -07:00
ByteAtATime
6b4dea7a38 feat: implement Action.OpenInBrowser 2025-06-11 17:46:48 -07:00
ByteAtATime
fc7c835c66 style: formatting 2025-06-11 14:58:11 -07:00
ByteAtATime
91c1b4e811 feat: basic sidecar functionality for rendering 2025-06-11 09:35:29 -07:00
ByteAtATime
dac77c76b7 feat: integrate clipboard manager plugin and update dependencies 2025-06-10 14:20:15 -07:00
ByteAtATime
fa4c71502f Initial commit 2025-06-10 11:24:18 -07:00