Skip to content

feat: send files to the Recycle Bin and add an About tab - #47

Merged
thonyydev merged 2 commits into
mainfrom
feat/recycle-bin-and-about
Nov 13, 2026
Merged

thonyydev merged 2 commits into
mainfrom
feat/recycle-bin-and-about

Conversation

@thonyydev

Copy link
Copy Markdown
Owner

Summary

Recycle Bin

  • On the Files page, files can be picked with checkboxes and moved to the Windows Recycle Bin after a confirmation that lists them with their total size.
  • Only picked files that are still shown are sent.
  • The backend accepts only files from the last listing that are unchanged on disk. It sends them in one shell operation (SHFileOperationW with FOF_ALLOWUNDO), and Windows asks before deleting any file it can't recycle.
  • No lock is held while Windows may show its own dialog, so the window and automatic organization keep running.
  • This isn't recorded in the history. The files can be restored from the Windows Recycle Bin.

About tab (Settings)

  • Shows the logo, version, privacy summary and license.
  • Buttons open the website, the repository, the feature request form, the bug report form (prefilled with the app and Windows versions) and the third-party notices.
  • The page sends a link name; the URLs are fixed in Rust (about.rs).
  • The app name and the version in the sidebar open this tab.
  • The Save/Discard bar shows there only with pending changes. It now animates in and out, and returns focus to the open tab when it leaves.

Other

  • The Files page moves out of App.tsx into files-page.tsx.
  • The share card no longer spreads the whole operation list into Math.min.

Tests

  • Rust tests:
    • only listed, unchanged files reach the Recycle Bin;
    • About URLs are fixed and the bug form is prefilled;
    • an ignored test sends a temp file to the real bin (--ignored).
  • Frontend tests:
    • picking and keyboard navigation in the table;
    • the trash flow through App: confirmation, partial result, focus;
    • About links;
    • the Save/Discard bar visibility on About, and its entrance and exit animations.
  • Tested in the native app: Recycle Bin, a busy file, the About links (bug form prefill), and the bar animation.

🤖 Generated with Claude Code

thonyydev and others added 2 commits November 13, 2026 18:20
- Files page: pick files with checkboxes and move them to the Windows
  Recycle Bin after a confirmation. The backend only accepts files from the
  last listing that are unchanged on disk, sends them in one shell operation
  and lets Windows ask before deleting any file it can't recycle.
- Settings > About: version, privacy summary, license, and buttons that open
  the website, the repository, the feature request form, the bug report form
  (prefilled with the app and Windows versions) and the third-party notices.
  The page names a link; the URLs are fixed in Rust.
- The version in the sidebar now opens the About tab.
- The Files page moves out of App.tsx into its own component.
- The share card no longer spreads the whole operation list into Math.min.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The app name in the sidebar opens the About tab.
- About shows the logo next to the name and version, and drops the draft
  note, which is about preferences.
- On About, the Save/Discard bar only shows with pending changes.
- The bar rises in and sinks out, and keeps focus on the open tab when it
  leaves. With reduced motion it appears and goes at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thonyydev
thonyydev merged commit 423e06d into main Nov 13, 2026
2 checks passed
@thonyydev
thonyydev deleted the feat/recycle-bin-and-about branch November 13, 2026 22:00
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