Tw93
c5d6cdc2f9
perf(purge/uninstall): eliminate per-item subprocess forks in scan phase
...
purge:
- is_safe_project_artifact: replace echo|tr|wc depth calc with pure bash
string arithmetic (2 forks → 0 per item)
- process_scan_results: replace dirname subprocess with ${item%/*}
- is_recently_modified: accept pre-computed epoch to avoid redundant
get_epoch_seconds call (N date forks → 1 before loop)
- fd pattern construction: replace 45 per-target sed forks with single
printf|sed pass (45 forks → 2)
- pre-compute _cached_project_paths alongside existing name/basename
cache so display loop avoids get_project_path subshell per item
uninstall/app-selector:
- default size display: N/A → -- for apps without cached size data
(cleaner UX on first scan; real sizes populate from background refresh)
- Pass 1 scan: replace basename/dirname subshells with parameter expansion
2026-03-21 15:33:57 +08:00
Tw93
702f299e78
fix(ui): rename Filter to Search in paginated menu
2026-03-18 14:55:20 +08:00
tw93
c19a0276b8
refactor: Update shell arithmetic increment syntax from ((var++)) || true to var=$((var + 1)) across various scripts.
2026-02-28 11:10:18 +08:00
tw93
7d70889ad4
chore: auto format code
2026-02-28 11:03:16 +08:00
tw93
7d8bfbc9d9
improve uninstall scan metadata and list refresh UX
2026-02-10 16:23:15 +08:00
tw93
361d0dda05
fix: P1/P2 issues in file ops, menu state, and logging
...
- Fix safe_sudo_remove early exit on error (P1)
- Fix menu filter state leakage in paginated menu (P2)
- Fix cleanup of MOLE_MENU_FILTER_NAMES in app selector (P2)
- Correct log_operation signature for memory dumps (P2)
- Apply minor formatting fixes to dev cleanup module
2026-02-07 11:21:37 +08:00
tw93
a2afb786af
fix(ui): standardize spacing in terminal control functions and improve readability
2026-02-07 10:31:15 +08:00
tw93
02843dee74
feat(ui): add Ctrl+U support and optimize paginated menu performance
2026-02-07 10:28:41 +08:00
Tw93
d2de32f2fe
chore: auto format code
2026-02-05 11:52:43 +00:00
tw93
30777dafa3
fix(ui): stop treating space as search filter in paginated menu
2026-02-05 19:50:16 +08:00
tw93
579c963940
uninstall: refine protection flow and menu filtering
2026-02-03 17:36:15 +08:00
tw93
aaa3a6ae5a
ui: add menu filtering support
2026-02-02 17:05:19 +08:00
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