Skip to content

Preview loose files in the mass-deletion summary - #206

Merged
gnacho merged 1 commit into
mainfrom
feat/resumen-preview
Sep 8, 2026
Merged

Preview loose files in the mass-deletion summary#206
gnacho merged 1 commit into
mainfrom
feat/resumen-preview

Conversation

@gnacho

@gnacho gnacho commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #203. When the deletion-guard review summarizes a large deletion (more than 50 files), flat files sitting at the top level of the folder previously collapsed to a bare counter ("At the top level · N files") with no way to see what was removed.

This adds a preview: the loose files are grouped in an expandable "At the top level · N files" row showing the first 15 paths and a "y M more…" note. Subfolder groups stay collapsed by count.

Changes

  • ui/main_window.rs: in the summary mode, collect up to LOOSE_PREVIEW_CAP (15) loose file paths and render them as expandable rows with a "{count} more…" footer.

Validation

  • 708 tests passed + 1 ignored, clippy clean.
  • End-to-end: a 260-file flat deletion shows the preview in the review dialog (verified in-app).
  • Bump to 0.2.20 (CHANGELOG, version.json, metainfo, READMEs, landing).

@gnacho
gnacho merged commit d4ba2c3 into main Sep 8, 2026
2 checks passed
@gnacho
gnacho deleted the feat/resumen-preview branch September 8, 2026 18:05
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