1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 20:54:50 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Tw93
d25c9f7637 refactor(uninstall): remove search and optimize scan performance
- Remove complex search/filter feature from menu (simplify UX)
  - Optimize Homebrew cask detection (only check Caskroom symlinks)
  - Cache whoami outside loop, use bash parameter expansion
  - Fix spinner overlap with error messages
  - Add trap for Ctrl+C cleanup
  - Use ICON_ERROR for failure messages
2026-01-19 16:53:51 +08:00
Tw93
7294ef65a1 feat(ui): allow arrow keys and space during search filtering
- Modified FORCE_CHAR mode in read_key() to recognize arrow keys and space
- Users can now navigate and select items while typing in search mode
- Improves UX by eliminating need to press Enter before selecting
- ESC key still works to cancel search

This restores V1.19.0 behavior where navigation worked during search
2026-01-16 11:17:26 +08:00
Tw93
ae95512560 fix(ui): restore real-time search filtering in paginated menu
- Previous perf optimization (318c67f) broke real-time search by removing rebuild_view call
- Now calls rebuild_view and triggers full redraw when typing/deleting
- Uses 'continue' to skip drain_pending_input, preserving fast typed characters
- Fixes issue where only first character was effective in search
2026-01-16 10:51:36 +08:00
Tw93
318c67ffbe perf: optimize search filter rendering in paginated menu
- Use partial redraw for search input updates instead of full screen refresh
- Reduces flickering when typing in the filter box
- Improve responsiveness of search interaction
2026-01-15 11:41:16 +08:00
Tw93
3c8c2b3b98 chore: auto format code 2026-01-13 02:45:33 +00:00
Tw93
6b594c7d69 feat: add Homebrew integration and optimize UI performance
- Add Homebrew cask detection and use 'brew uninstall --cask' for proper cleanup
  - Add real-time progress feedback during uninstallation
  - Optimize scroll performance by only redrawing visible items
  - Replace Python-based Dock removal with PlistBuddy for better compatibility
  - Add comprehensive tests for Homebrew functionality

  Fixes #306
2026-01-13 10:44:48 +08:00
Tw93
4efe1411aa Merge branch 'dev' 2026-01-03 14:17:45 +08:00
Tw93
07a61844fb Merge pull request #237 from jimmystridh/fix/arrow-key-responsiveness
fix(ui): improve arrow key responsiveness in menu
2026-01-03 14:16:27 +08:00
Tw93
6698099215 chore: auto format code 2026-01-03 06:11:23 +00:00
Jimmy Stridh
e57e71557c fix(ui): improve arrow key responsiveness in menu
drain_pending_input was discarding buffered arrow keys during
key repeat, causing slow/jerky scrolling and lingering movement
after key release.
2026-01-03 07:08:37 +01:00
Jimmy Stridh
4fd3ae4e01 fix(ui): preserve sort state after uninstall
Sort mode and order were reset to defaults when returning
from uninstallation. Now persisted via environment variables.
2026-01-03 06:44:54 +01:00
Tw93
b5b09461c7 feat: add spinner feedback to optimization tasks, enhance app discovery for uninstall, and improve UI robustness and signal handling 2025-12-31 10:59:50 +08:00
Tw93
492f3f77d6 Adjust uninstall menu footer controls order 2025-12-29 15:13:54 +08:00
Tw93
22db4291ce chore: auto format code 2025-12-26 10:26:55 +00:00
Tw93
aff8d3fde3 Uninstall list scrolling performance enhanced for smoothness 2025-12-26 18:25:15 +08:00
Tw93
f4419c7c7a chore: auto format code 2025-12-20 14:18:53 +00:00
Tw93
2a0fe88fd3 feat: dynamically adjust column widths in UI and analysis output based on terminal size for improved readability 2025-12-20 22:18:06 +08:00
Tw93
9d72eab95a feat: add interactive purge command with comprehensive tests 2025-12-18 14:16:56 +08:00
Tw93
27205c653d feat: Boost UI performance with pure bash string width calculation and truncation, and add visual feedback for cache hits in uninstall scripts. 2025-12-17 11:01:15 +08:00
Tw93
b843cde0fd feat: localize app names based on system language and improve UI display width calculation for CJK characters with loading indicator 2025-12-17 10:36:33 +08:00
Tw93
749ed2230b improve analyze scanning performance, UI responsiveness, symlink navigation 2025-12-12 15:01:17 +08:00
Tw93
fa75da07ca Add 'F' key to refresh paginated menus, clarify UI text for search and selection, and improve robustness of BOM file processing 2025-12-12 14:33:07 +08:00
github-actions[bot]
5b73e4ffad chore: auto format code 2025-12-10 03:53:17 +00:00
Tw93
598c2b410d Uninstall list display name length optimization 2025-12-10 11:40:41 +08:00
Tw93
2386701897 Fix search problems and best practices 2025-12-08 17:40:54 +08:00
Tw93
443b59d9c7 Grammar check and optimization 2025-12-02 17:02:14 +08:00
Tw93
8cdf583d85 Uniform color specifications 2025-12-02 14:45:48 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00