Skip to content

Add disk cleanup, provenance, overlap & version-picker screens - #4

Merged
padovanl merged 6 commits into
mainfrom
develop
Aug 14, 2026
Merged

padovanl merged 6 commits into
mainfrom
develop

Conversation

@padovanl

Copy link
Copy Markdown
Owner

Summary

  • Disk cleanup explorer (K): old kernels, leftover configs, disabled snap revisions, with a direct purge
  • "Why is this installed?" (W): manual vs. dependency, navigable reverse-dependency tree
  • apt+snap overlap view (O): duplicate installs across backends, stale snaps (6+ months unrefreshed)
  • Unattended-upgrades dashboard (A, apt): enabled/last run/next run
  • Install a specific version or downgrade (V, apt via apt-cache madison); revert to previous revision (V, snap)
  • Redesigned GitHub Pages landing page (docs/index.html)
  • CHANGELOG.md, reconstructed from tag history + an Unreleased section

Fixes included

  • Help/settings screens no longer overflow the terminal on long content (now scroll, keep selection in view)
  • Same fix extended to the new disk cleanup / provenance screens after a live-reported overflow on a package with many reverse dependencies (cyrus-common)

Test plan

  • go build ./..., go vet ./..., go test ./...
  • Full e2e suite (real binary + pty + terminal emulator), including new tests for every new screen
  • Manually verified in a local WSL2 session

🤖 Generated with Claude Code

Self-contained static HTML (no build step) under docs/, so GitHub Pages
can serve it directly with a plain "deploy from branch, main, /docs"
setup, no Action needed. Reuses the demo GIFs and feature copy already
in the README rather than introducing a second source of truth for
either.
…nd version/revert screens

Closes the feature gap against comparable apt TUIs and adds a few things
none of them (or apt/snap themselves) surface on their own: a disk-space
explorer for old kernels/leftover configs/disabled snap revisions, a
navigable "why is this installed" reverse-dependency tree, an
unattended-upgrades status dashboard, a unified apt+snap view for
duplicate installs and stale snaps, and picking a specific package
version (apt) or reverting to the previous one (snap). Also fixes a
real, pre-existing overflow bug in the help/settings screens (now
scrollable) and redesigns the GitHub Pages landing page.
Reported live: a package with enough reverse dependencies (cyrus-common)
rendered every single one unconditionally, with no height bound, pushing
the screen's own title off the top of the terminal -- the same overflow
class help/settings already had, just missing a regression test here.
Reuses the settings screen's cursor-following scroll window (extracted
into clampToWindow) for both the provenance and disk cleanup screens.
Reconstructed from tag history for 1.0.0-1.2.0, plus an Unreleased
section for the current batch of work. Linked from the README.
Failed on GitHub Actions: that runner has zero installed snaps (not even
core/snapd), so there's nothing to select and "V" has nothing to act on.
Not a pkgtui bug, just this test's premise not holding on that runner.
@padovanl
padovanl merged commit 8ccd26c into main Aug 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant