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

fix: distinguish between Move to Trash and Delete Immediately when right clicking a file or folder. #1694

Conversation

plbstl
Copy link
Contributor

@plbstl plbstl commented Apr 30, 2024

Description

Basically what the PR title says.

This PR fixes the issue when deleting a file is not as predictable.

Right click a file or folder to see Move to Trash, and this moves the file or folder to trash.

context menu move to trash alert

Holding Option while the context menu is open will change the option to "Delete Immediately...", which deletes the file or folder immediately.

context menu delete delete immediately alert

Related Issues

closes #1693

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Before:

code-edit.bug.move.to.trash.mov

After:

code-edit.fix.move.to.trash.mov

@austincondiff
Copy link
Collaborator

Excellent work @plbstl! Reviewing this now.

@knotbin
Copy link
Contributor

knotbin commented May 1, 2024

@FastestMolasses could you rereview this? There's an issue I want to work on that would conflict with this PR

@thecoolwinter thecoolwinter merged commit b134f55 into CodeEditApp:main May 1, 2024
2 checks passed
@thecoolwinter thecoolwinter added the bug Something isn't working label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞 Move to trash deletes file or folder permanently
5 participants