Repository navigation
ui redesign - #6
Merged
Merged
Conversation
aquistusfami
commented
Nov 5, 2026
Owner
- Add undo, dry-run, CLI, more distros and smarter cleaner
- Redesign TUI and make the optimizer honest and safe
- trash.py: freedesktop Trash + action history; dev junk and uninstall remnants are trashed and `marmot undo` restores the last batch. - Dry-run for every cleaner item (TUI Preview button, --dry-run). - pkgmgr: dnf (4/5), zypper, apk backends and Flatpak apps; verified against real Fedora, openSUSE and Alpine containers. - cli.py: marmot status|scan|clean|undo|history, --json output; the TUI still opens when no command is given. - Cleaner: per-folder ~/.cache selection, orphaned packages, unused Flatpak runtimes, Docker/Podman prune, old Snap revisions (argv-safe). - Analyzer: cached sizes, progress, cancellation, percentage bars, stays on one filesystem. - TUI: scan/clean/uninstall run in worker threads; log markup fixed. - Tests isolate XDG dirs; 108 tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Fix: "Reclaim swap" ran swapoff -a && swapon -a, which leaves zram / systemd swap units disabled (swapon -a only reads fstab). Devices are now cycled one at a time and restored with their priority; offered only when there is swap in use and RAM to hold it. - Optimizer tasks check first and show why they do not apply; new Trim SSDs; drop caches labelled benchmarking-only; `marmot optimize`. - New layout: theme-aware cards, sparklines, coloured bars, top processes, system card, 1-5 tab keys, confirm dialogs, cleaner summary, one-line package rows, analyzer d=move to Trash (home only). - Escape user-controlled text in markup ([ in file/package names). - Uninstaller filters a cached package list instead of re-running the package manager on every keystroke. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 1 s monitor timer and worker callbacks looked widgets up by id; when they fired while the app was exiting the screen was already emptied and query_one raised NoMatches (flaky CI on py3.11 and Arch, and a possible traceback on quit). Widgets are now resolved once in on_mount. Adds a regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.