24 Commits

Author SHA1 Message Date
166570dcf5 fix: repair help keybinding and update help dialog
- Fix ? keybinding requiring SHIFT modifier (was key_eq, now key_eq_shift)
- Update help dialog with complete keybindings for all modes
- Use proper Ctrl+X notation instead of ^X or Ctrl+X mixed case
- Organize help by LIST MODE, EDIT MODE, GLOBAL sections
- Fix column alignment for consistent display
2026-01-07 13:39:10 +01:00
7568b1ef6e fix: optimize enter_edit_mode and fix borrow checker errors
- Change enter_edit_mode to take Entry by value instead of reference
- Optimize TextArea initialization with TextArea::from() for message
- Reduce clone operations in navigation paths (detail.rs, list.rs, actions/mod.rs)
- Remove duplicate dead code from list.rs edit conflict
- Fix syntax error (extra } in state.rs)
- All 78 tests pass, clean clippy output
2026-01-07 12:17:47 +01:00
b1ac1a0d9a fix: simplify entry list rendering and fix alignment/scroll issues
- Simplify draw_entry_list by rendering block separately, not wrapping List
- Remove double block rendering that caused title to consume item row
- Fix mouse click row calculation for correct entry selection
- Fix scrollbar area to match visible items height exactly
- Remove unused render_list_scrollbar function
- Adjust scroll trigger condition to use visible_height - 1
2026-01-07 12:01:32 +01:00
33345c4e2f fix: hide navigation keybindings in create mode
Only show Ctrl+P and Ctrl+N in the help line when editing an existing entry, not when creating a new one.
2026-01-07 11:13:50 +01:00
2418f06c47 feat: add entry navigation in edit view with unsaved changes dialog
- Add CTRL+P/CTRL+N to navigate to prev/next entry in edit mode
- Show confirmation dialog when navigating with unsaved changes
- Add NavigateDirection enum and NavigateConfirm dialog variant
- Add pending_navigation state for dialog confirmation flow
- Refactor navigation into navigate_to_entry helper function
- Add help text for new keybindings in detail view help line
2026-01-07 11:10:58 +01:00
3edab451b1 fix: display tags/mentions individually, add scrolling, and fix CSV import
- Fix tags/mentions display to work when only one exists
- Add scrolling support to entry list with scrollbar indicator
- Fix CSV import to parse tags/mentions from message content
- Verify and update tags/mentions when opening entries for edit
- Refactor draw_entry_list to fix too_many_lines clippy warning
2026-01-07 10:47:42 +01:00
17f2016e6e fix tag/mention display 2026-01-07 08:09:25 +01:00
itsscb
755bdb063e refactor: extract actions module and keycode helpers
- Created actions/ module with save, load, delete business logic
- Created inputs/keycodes.rs with 30+ keybinding helper functions
- Separated business logic from UI/event handling
- Added 28 new unit tests and 8 integration tests
- Fixed bug: save now requires ctrl+s not just 's'
- Reduced ui/mod.rs from 618 to ~290 lines total
2026-01-07 02:38:15 +01:00
itsscb
a1b5024907 SWE big brain 2026-01-07 02:08:16 +01:00
itsscb
5e019e96b4 20/80 boost 2026-01-07 01:32:57 +01:00
itsscb
6b396e1304 colors 2026-01-07 01:18:06 +01:00
itsscb
550ae8652a selection color 2026-01-07 01:06:26 +01:00
itsscb
d501645589 tests 2026-01-07 01:00:30 +01:00
itsscb
b7bea3afd4 fix subject display 2026-01-07 00:04:59 +01:00
itsscb
a0dc455485 obey compiler 2026-01-06 23:57:37 +01:00
itsscb
590ffb5a2b fix styles 2026-01-06 23:43:54 +01:00
itsscb
7053900d63 obey compiler 2026-01-06 23:34:33 +01:00
itsscb
42551d10b8 tags & mentions 2026-01-06 23:29:46 +01:00
itsscb
85fc85cac0 fix labels and toasts 2026-01-06 22:53:01 +01:00
itsscb
54aa3a4422 some fixes 2026-01-06 22:08:39 +01:00
itsscb
ae633bdd73 add README.md 2026-01-06 03:27:44 +01:00
itsscb
75825004eb mouse support 2026-01-06 03:21:04 +01:00
itsscb
13c3505b80 import/export 2026-01-06 03:05:56 +01:00
itsscb
07d2d27396 vibe coded poc 2026-01-06 02:47:03 +01:00