Tw93
|
6be7f7d0f8
|
Merge branch 'pr-348'
|
2026-01-22 17:22:48 +08:00 |
|
Dylan Joss
|
217eb986e2
|
test: add formatUnusedTime tests and fix duplicate comment
Add unit tests for formatUnusedTime in cmd/analyze/format_test.go:
- Zero time (time.Time{}) returns empty string
- Recent files (< 90 days) return empty string
- Boundary tests at 89/90 days threshold
- Month formatting (3mo, 4mo, 6mo, 11mo, 12mo)
- Year formatting (1yr, 2yr, 3yr)
- Boundary tests at year transitions
Also remove duplicate "Memory pressure penalty" comment in
cmd/status/metrics_health.go (line 72-73).
|
2026-01-21 22:42:13 -08:00 |
|
Tw93
|
7a5bdac385
|
feat: add uptime display to status header (#329)
Show system uptime in the header row with a concise format (e.g., "up 1d 5h").
Simplify title from "Mole Status" to "Status" for better fit.
|
2026-01-18 16:52:44 +08:00 |
|
Tw93
|
180037c22b
|
feat(status): persist cat visibility preference
- Add loadCatHidden/saveCatHidden functions
- Save preference to ~/.config/mole/status_prefs
- Load preference on startup
|
2026-01-08 15:58:50 +08:00 |
|
Tw93
|
79a19ffbfe
|
Go code formatting optimization
|
2026-01-08 15:26:35 +08: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
|
36a84e5211
|
Reconstruct the structure of go
|
2025-12-01 19:26:03 +08:00 |
|