1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-05 22:33:02 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
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
Tw93
fc72d69125 chore: auto format code 2025-12-12 01:50:52 +00:00
Tw93
4955e02523 Uninstall supported continue to uninstall 2025-12-12 09:50:14 +08:00
Tw93
3e50a103f6 chore: clean bot commits and improve documentation
- Merged all bot commits (github-actions, Bot) into Tw93 account
     - Fixed M/U/T key bindings in main menu
     - Updated help menu and README command order
     - Improved install script output
     - Updated GitHub Actions to use Tw93 identity
2025-12-10 14:12:43 +08:00
Tw93
2386701897 Fix search problems and best practices 2025-12-08 17:40:54 +08:00
Tw93
9e7fc41445 Enhanced optimization for better use 2025-12-08 15:40:39 +08:00
Tw93
ea8488c1bb Improved User Feedback 2025-12-08 15:34:12 +08:00
Tw93
3b59920bab Simplify the debug code 2025-12-06 12:40:07 +08:00
Tw93
b939442e92 Support debug 2025-12-05 17:16:46 +08:00
Tw93
a92d352376 Safety and Reliability Improvements 2025-12-04 15:06:45 +08:00
Tw93
bb50a345b6 optimize code structure and reduce duplication 2025-12-02 15:24:19 +08:00
Tw93
61644caf92 Uninstall supports multi-level directory search 2025-12-02 10:58:40 +08:00
Tw93
4bd4ffc7be Reconstruct clean lib code 2025-12-01 16:58:35 +08:00
Tw93
75bd91840f Safer cleaning and enhancement capabilities 2025-11-29 22:43:57 +09:00
Tw93
7c4c106558 format 2025-11-27 07:51:38 +09:00
Tw93
0edd6f1562 Compatible with the use of GNU CoreUtils 2025-11-27 07:28:37 +09:00
Tw93
e517bf4a3e format 2025-11-25 17:25:13 +08:00
Tw93
b9760573bc Empty line normalization 2025-11-21 10:44:36 +08:00
Tw93
3ddf2dd3b9 Uninstallation experience enhancement 2025-11-20 15:15:33 +08:00
Tw93
05925194c8 Code robustness enhanced 2025-11-18 23:07:48 +08:00
Tw93
cccc41990e Apply scan cache to simplify 2025-11-15 13:20:58 +08:00
Tw93
4f8f31444d More secure deletion and cannot delete path 2025-11-14 11:38:25 +08:00
Tw93
9a3d5c11aa Incremental check when app is uninstalled 2025-10-22 10:04:12 +08:00
Tw93
640499d302 Greatly improve scanning speed 2025-10-17 21:19:05 +08:00
Tw93
2f0c74c621 Adjustment of file structure 2025-10-16 10:53:00 +08:00
Tw93
f1af63bfb9 Uninstall List Cache 2025-10-14 20:06:52 +08:00
Tw93
f842d4092f Delete useless help and optimize format 2025-10-14 19:43:59 +08:00
Else00
cfdd414320 feat(menu): add sort (date/name/size), live filter, reverse; visible-only A/N; responsive footer (#34)
Paginated menu:
- Sorting: press S/s to cycle Date → Name → Size; press R/r to reverse.
- Live filter: press F/f to enter; case-insensitive substring; prefix with ' to anchor at start; DELETE to backspace; ENTER to apply; ESC to cancel. Shows “searching…” while rebuilding.
- Selection scope: A (All) and N (None) now work on the currently visible items only (after filter/sort), not the entire list.
- Footer: adds A/N to the help line and wraps only at ' | ' separators so labels are never broken; adapts to terminal width.
- Internals: view_indices mapping for filtered/sorted view; glob-safe matching via _pm_escape_glob; drain_pending_input; robust stty restore; optional MOLE_MANAGED_ALT_SCREEN; cleanup unsets MOLE_READ_KEY_FORCE_CHAR; shellcheck clean.

common.sh:
- read_key supports a raw typing mode (MOLE_READ_KEY_FORCE_CHAR=1) emitting CHAR:<k>; ENTER/DELETE/ESC handled.
- Uppercase A/N/R mappings (ALL/NONE/RETRY), printable-key detection, better ESC sequence handling.

app_selector.sh:
- Builds and exports per-item metadata CSV for epochs and size_kb via MOLE_MENU_META_EPOCHS and MOLE_MENU_META_SIZEKB; unsets them after the menu.
- Menu options keep display text; sorting/filtering use metadata.

uninstall.sh:
- Computes app_size_kb using du -sk for numeric sorting while keeping human-readable size; writes it as the final field.
- load_applications reads the new size_kb field.

Notes:
- Footer grew due to new commands; responsive wrapping prevents mid-word breaks.
- ./tests/run.sh: only the two upstream failures remain (unchanged by this patch).

Co-authored-by: Jonas Bertossa <jonas.bertossa@eoc.ch>
2025-10-14 09:40:47 +08:00
Tw93
cf821cdc4b Code support format detection 2025-10-12 20:49:10 +08:00
Tw93
3c56fe0633 Complete automated testing 2025-10-12 15:43:45 +08:00
Tw93
9e7c70a9f8 Symbol specification output 2025-10-12 12:42:04 +08:00
Tw93
55f6bd352f Well-structured output 2025-10-11 22:43:18 +08:00
Tw93
65e3585f95 Uninstall function detailed upgrade 2025-10-11 11:40:01 +08:00
Tw93
70c5db8c9a Neat and uniform output 2025-10-09 14:24:00 +08:00
Tw93
6c60c0f01b I don't like emojis anymore 2025-10-08 23:21:52 +08:00
Tw93
1657ff584b 🎨 Loading optimization and better use of links 2025-10-08 18:01:46 +08:00
Tw93
1ae3479072 Compatible with German and French system users 2025-10-08 11:31:03 +08:00
Tw93
12d9e89847 More complete cleaning 2025-10-06 10:45:51 +08:00
Tw93
c253e0ee60 🐛 change color 2025-10-05 22:37:43 +08:00
Tw93
3ff933f5d5 🐛 Normalize output tags 2025-10-05 22:16:25 +08:00
Tw93
70f53dcc89 🎨 Consider two application folders when uninstalling 2025-10-05 16:41:14 +08:00
Tw93
a830123ac4 🎨 Uninstalling and cleaning is a cleaner experience 2025-10-04 17:59:12 +08:00
Tw93
eb7cbb8e10 Uninstall function uninstalls system-level files more thoroughly 2025-10-04 08:50:26 +08:00
Tw93
59f4c22a32 🎨 Updates for better use and support 2025-09-30 13:48:28 +08:00
Tw93
e2fd35f8a7 🎨 Continue to upgrade to easy to use 2025-09-30 00:43:52 +08:00
Tw93
df716abc53 🎨 Optimization instructions 2025-09-28 00:22:04 +08:00
Tw93
65a9b0e354 update mole 2025-09-25 20:26:59 +08:00
Tw93
c35a210344 🎨 Refactor new feature uninstall 2025-09-25 20:22:51 +08:00