Skip to content

Pause and resume while removing - #14

Draft
joepio wants to merge 2 commits into
mainfrom
claude/project-thread-bac63k
Draft

joepio wants to merge 2 commits into
mainfrom
claude/project-thread-bac63k

Conversation

@joepio

@joepio joepio commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Requested by Joep · project thread

Pause / resume while removing

  • The removal dialog has a Pause / Resume button next to Stop. While paused, the title says "Paused" and the bar stops sweeping.
  • Rust: DeleteControl (stop + pause flags) replaces the bare cancel flag in delete_inner. should_stop() waits while paused at every point that used to check for a stop, so a pause takes effect after the current file (permanent removal) or the current item (move to trash, which is one OS call per item). Stop also ends a paused removal.
  • New bridge functions pause_delete / resume_delete, bindings regenerated.
  • Tests: two Rust tests (pause holds until resumed; stop while paused) and a widget test for pause, resume and stop.

Installers are handled separately in #13.

Checked locally: cargo test, cargo clippy -D warnings, flutter analyze, flutter test all pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AHutN58YXDeid8sdGRS3M5

The removal dialog gets a Pause/Resume button next to Stop. The Rust core
checks a pause flag wherever it already checked for a stop, so a pause
holds after the file at hand (or the item being moved to the trash), and
Stop still ends a paused removal.

CI now builds a drag-to-Applications disk image for macOS and an Inno
Setup installer for Windows (per user, no admin, Start menu entry and
uninstaller) instead of zips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHutN58YXDeid8sdGRS3M5
@joepio joepio self-assigned this Nov 2, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHutN58YXDeid8sdGRS3M5
@joepio joepio changed the title Pause while removing; installers instead of zips Pause and resume while removing Nov 2, 2026

This branch has not been deployed

No deployments
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.

2 participants