Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/0971 implement trash bin #3976

Merged
merged 9 commits into from
Nov 26, 2023
Merged

Feature/0971 implement trash bin #3976

merged 9 commits into from
Nov 26, 2023

Conversation

VishalNehra
Copy link
Member

@VishalNehra VishalNehra commented Nov 1, 2023

Description

Issue tracker

Fixes #971

Automatic tests

  • Added test cases

Manual tests

  • Done

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@VishalNehra VishalNehra changed the title Feature/0971 Feature/0971 implement trash bin Nov 1, 2023
Copy link
Member

@VishnuSanal VishnuSanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work! basic features works as expected.

  • a small bug I noticed was: delete a file ~/Picutes/Quotes/Quote.png & delete/rename the directory ~/Picutes/Quotes/. the file doesn't get restored now from the bin.

VishalNehra and others added 4 commits November 21, 2023 10:28
In most file manager implementations, including desktop ones, remote files are to be deleted directly even when put to recycle bin.
Also a condition inside DeleteTask, that delete SSH files should not trigger mediascanner as well.
@TranceLove
Copy link
Collaborator

TranceLove commented Nov 23, 2023

@VishalNehra Fixed test failures in 8dbfaec and Codacy complaints on missing Javadoc in bd77530.

There should be no option to allow user to put remote files (SMB/SSH/etc) to trash bin, and as I checked (Pixel 2 emulator running SDK 28), this had been covered in the UI level.

@VishalNehra VishalNehra changed the base branch from release/3.9 to release/3.10 November 26, 2023 22:48
@VishalNehra VishalNehra merged commit 7af5f87 into release/3.10 Nov 26, 2023
2 of 3 checks passed
@VishalNehra VishalNehra deleted the feature/0971 branch December 16, 2023 05:29
@eleius
Copy link

eleius commented Mar 27, 2024

Is there a way to disable the trash bin? I couldn't find a setting. Not sure if using 0 for file # limit works?

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.

None yet

4 participants