1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:49:41 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
tw93
e966838c82 style: standardize punctuation across codebase
- Replace parentheses with commas for supplementary info
- Use commas instead of em-dashes for separators
- Update bullet points from - to * in some contexts
- Improve version extraction regex with fallback logic
2026-01-26 14:36:06 +08:00
Andrei Murariu
192ea08f8d bug-fix: mo analyze keybindings misalignment (#342)
* bug-fix: mo analyze keybindings misalignment

handle also uppercase R together with lowercase r

* bug-fix: mo analyze keybindings misalignment

Fix the logic also for:
- q with Q
- k with K
- j with J
- l with L
- b with B
- h with H
- o with O
2026-01-22 11:16:42 +08:00
bikraj2
c99535c2d7 fix(history): prevent adding multiple history entries with same path when scanning 2026-01-16 19:28:32 +05:30
Jack Phallen
47ce1cb75b fix(analyze): Fix race condition in currentPath 2026-01-11 23:44:55 -05:00
Tw93
8aee56b7fa fix: enhance overview scan UI and invalidate cache on refresh
- Invalidate disk cache for overview entries on refresh to ensure fresh data.

- Show dynamic status messages (e.g., 'Scanning Applications...') instead of static text in Overview.

- Adjust spinner animation speed to 100ms for smoother visual experience.
2026-01-12 11:42:07 +08:00
Oleksandr Redko
14b8fa688e refactor: simplify with slices.Clone 2026-01-10 20:41:05 +02:00
Tw93
7d43e669a8 fix(analyze): improve deletion safety and UI clarity
- Update UI status to 'Moving to Trash...' for clarity
- Use os.Lstat instead of os.Stat to correctly handle broken symlinks during deletion checks
2026-01-10 08:51:14 +08:00
Tw93
ebb4f7a1e9 feat(analyze): safer deletion with Trash and two-key confirm
- Change delete confirmation from double-delete to Delete→Enter
- Move files to macOS Trash instead of permanent deletion
- Allow file recovery from Trash if accidentally deleted
- Update UI prompts to show 'Press Enter to confirm'
- Skip Finder-dependent tests in CI environments
- Update SECURITY_AUDIT.md with new safety mechanisms

Closes #288
2026-01-10 07:24:58 +08:00
Tw93
2b5dd3f44c feat: show scanning progress as percentage in disk analyzer
- Implemented progress percentage display (e.g., `(45%)`) in `cmd/analyze` to show scanning status based on cached total files.
- Kept the UI clean by avoiding a full progress bar.
- fix: formatting improvements in `bin/touchid.sh`.
2026-01-09 14:16:29 +08:00
Tw93
c2c589ac81 Merge pull request #264 from alexandear-org/refactor/do-not-use-deprecated-funcs
refactor: replace deprecated `Start` with `Run`
2026-01-06 21:05:10 +08:00
Oleksandr Redko
158af1e1ba refactor: modernize Go code 2026-01-06 12:04:27 +02:00
Oleksandr Redko
80757ec074 refactor: replace deprecated Start with Run 2026-01-06 11:46:59 +02:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
d2dc68da90 feat: Enhance app protection with centralized critical component checks, improve UI string width calculation, refine analysis and cleaning logic, and add new tests. 2025-12-22 11:24:04 +08:00
Tw93
58e30fbcaa feat: Separate Home and Library entries in overview, exclude Library from Home's size, and sort overview entries by size. 2025-12-22 10:38:38 +08:00
Tw93
f8765ee3d3 feat: optimize application scanning performance, improve multi-selection robustness 2025-12-22 09:46:10 +08:00
Tw93
e13d92abc0 fix(analyze): clear multi-select on refresh and optimize delete
- Clear multi-selection map on refresh to prevent index mismatch
- Use built-in min function in delete.go
- Improve delete cancellation logic
2025-12-21 22:15:18 +08:00
Sizk
74d05ed9aa feat(analyze): add multi-select for batch file operations (#140)
- Add spacebar to toggle selection on files/directories
- Support batch delete for multiple selected items
- Support batch open (O) and reveal in Finder (F) for selections
- Show selection count and total size in status bar
- Display selection indicator (● selected, ○ unselected)
- Clear selections when navigating directories or switching views

Authored-by: Sizk <sizk@users.noreply.github.com>
2025-12-21 22:15:14 +08:00
Tw93
749ed2230b improve analyze scanning performance, UI responsiveness, symlink navigation 2025-12-12 15:01:17 +08:00
Tw93
bb50a345b6 optimize code structure and reduce duplication 2025-12-02 15:24:19 +08:00
Tw93
8cdf583d85 Uniform color specifications 2025-12-02 14:45:48 +08:00
Tw93
36a84e5211 Reconstruct the structure of go 2025-12-01 19:26:03 +08:00
Tw93
388f58dbe6 Repair the analysis navigation and the maximum list key 2025-12-01 14:26:23 +08:00
Tw93
5dba933e25 The analysis function supports refresh. 2025-11-28 22:54:19 +09:00
Tw93
12713dd1f9 Support vim's arrow keys 2025-11-24 11:34:40 +08:00
Tw93
541f52d46e All lists highly support terminal-based high adaptability 2025-11-24 11:20:34 +08:00
Tw93
198077de76 Simplified words 2025-11-22 14:00:27 +08:00
Tw93
3766906424 The window is enlarged to 12. 2025-11-21 09:53:46 +08:00
Tw93
6e9f4ac63d Fix the problem of calculating the size after deletion 2025-11-20 20:10:17 +08:00
Tw93
780b738e72 Optimize the display of all prompts 2025-11-20 15:33:16 +08:00
Tw93
45c65345ac Significantly optimize the speed and cache of scanning 2025-11-19 11:53:57 +08:00
Tw93
2a81c38f8f The loading experience and effect of the analysis are unified 2025-11-19 10:39:33 +08:00
Tw93
621b4090a9 Continuously optimize go analysis 2025-11-18 22:00:05 +08:00
Tw93
a900d03bef Refactor Go analysis capabilities 2025-11-18 18:23:33 +08:00
Tw93
4a7f6eac2f no longer land in a meaningless Volumes 2025-11-18 10:08:30 +08:00
Tw93
a5663f70d4 Optimization of large file list display 2025-11-16 09:03:35 +08:00
Tw93
bebcf4d166 Disk Analyzer performance optimization and UI improvement 2025-11-16 09:01:04 +08:00
Tw93
aa85672833 Greatly improve the experience of Analyze Disk 2025-11-16 00:56:40 +08:00
Tw93
7ee341de7c npm/venv scan speed improvement 2025-11-16 00:39:13 +08:00
Tw93
b903a7f8db Overall repair exception situation 2025-11-16 00:13:13 +08:00
Tw93
523bb70d65 Scan Optimization 2025-11-15 14:06:40 +08:00
Tw93
32add19564 Data analysis speed and neglect of customization 2025-11-14 11:38:48 +08:00
Tw93
ddef8c4bc0 Data scanning for a better experience, display time. 2025-11-13 17:06:13 +08:00
Tw93
f3d76f32de optimize disk analysis with caching and concurrency 2025-11-12 23:58:26 +08:00
Tw93
6e11c52039 The analysis module has been refactored using Go. 2025-11-12 17:12:01 +08:00
Tw93
479d09246d The analysis module has been refactored using Go. 2025-11-12 17:09:04 +08:00