Skip to content

feat(cleaner): add rich post-clean summary receipt UI#82

Merged
dbfx merged 2 commits intomainfrom
feat/post-clean-summary
Mar 26, 2026
Merged

feat(cleaner): add rich post-clean summary receipt UI#82
dbfx merged 2 commits intomainfrom
feat/post-clean-summary

Conversation

@dbfx
Copy link
Contributor

@dbfx dbfx commented Mar 26, 2026

Summary

  • Replace the minimal green "Cleaning Complete" banner with a visually rich receipt card
  • Add animated metric counters (space reclaimed, files deleted, duration) using useAnimatedCounter with staggered Framer Motion entrances
  • Add per-category breakdown with horizontal progress bars sorted by space freed
  • Extend scan store with CleanSummaryData type carrying category breakdown, duration, and pre-clean size (renderer-only, does not touch the shared IPC CleanResult type)
  • Add formatDuration utility and new i18n translation keys

Test plan

  • Run npm test — all 1892 tests pass
  • Run npm run dev → System Cleaner → Scan → Clean and verify the receipt card renders with animated metrics and category bars
  • Verify edge cases: single category only (no breakdown shown), clean with errors (collapsible details), elevation needed (admin banner)
  • Verify animations are smooth and staggered correctly

🤖 Generated with Claude Code

Replace the minimal green banner with a visually rich receipt card
featuring animated metric counters (space reclaimed, files deleted,
duration), per-category breakdown bars with Framer Motion staggered
animations, and retained elevation/error sections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the ui label Mar 26, 2026
@dbfx dbfx merged commit 6b9dd9c into main Mar 26, 2026
3 checks passed
@dbfx dbfx deleted the feat/post-clean-summary branch March 26, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant