Commit graph

34 commits

Author SHA1 Message Date
25a719382f
fix: store button click locations as signed values 2025-10-10 16:05:50 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
146a8e8afb
fix: reduce horizontal space waste in command palette 2025-07-31 14:30:16 +02:00
1d947ab499
refactor: improve capsulation and safety of tui module public api 2025-01-23 16:45:04 +01:00
b3bd6d19b5
refactor: move hints out of generic palette 2024-12-10 20:08:43 +01:00
6372beb762
refactor: rename command.get_id and add command.get_name 2024-11-21 17:55:03 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
bdd16f43fb
feat: add support for command metadata 2024-09-17 23:00:48 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
7b877de6d7
feat: use palatte instance specific name and icon 2024-08-31 21:13:55 +02:00
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +02:00
e83d9ea74d refactor: simplify load_entries in command and theme palette 2024-08-19 22:53:38 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
4b6c08154b feat: add theme selection palette
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00
49b701c9af fix(command_palette): let pageup move all the way to the top 2024-08-11 22:41:04 +02:00
221bc5741d feat: improve styling of command palette scrollbar 2024-08-11 21:59:05 +02:00
948328bcd0 docs: update readme and help 2024-08-01 18:10:05 +02:00
24d07ec8a4 feat(palette): color command palatte pointer 2024-07-27 23:12:12 +02:00
c1d3394246 fix(palette): wrong use of command.ID in set_used_time 2024-07-27 13:41:59 +02:00
032982c1e8 refactor: rework error handling to simplifiy command implementation and provide better back traces 2024-06-26 23:29:39 +02:00
77b949306e feat(palette): persist command last used times 2024-06-23 19:26:36 +02:00
c167257c89 feat(palette): sort command palette by last used time 2024-06-22 21:57:19 +02:00
394874fb20 feat: add alternate keybinding for command palette
For terminals that block C-S-p.
2024-06-21 12:40:50 +02:00
deaad1e90a fix(palette): update command palette on resize 2024-06-21 01:37:48 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00
d4019d00b2 feat: add keybind hints to command palette 2024-06-20 22:27:13 +02:00
b4bc8276f8 fix(palette): select first item in command palette after query 2024-06-19 17:52:53 +02:00
0a3efee633 feat: add fuzzy matching to command palette 2024-06-19 17:37:09 +02:00
88a036113b fix(palette): correct resize handling in command_palette 2024-06-18 21:14:31 +02:00
25556336b9 feat: add initial simplistic command palette implementation 2024-06-14 21:48:28 +02:00