This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 364
feat: Add a command to delete items permanently #1373
Open
aminya
wants to merge
14
commits into
atom:master
Choose a base branch
from
aminya:permanently-delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aminya
changed the title
feat: Add a command to delete items permanently
feat: Add a command to delete items permanently on MacOS
Dec 28, 2020
aminya
changed the title
feat: Add a command to delete items permanently on MacOS
feat: Add a command to delete items permanently
Dec 28, 2020
aminya
force-pushed
the
permanently-delete
branch
2 times, most recently
from
December 28, 2020 08:20
283345c
to
2c1f70b
Compare
This will be used in the next commit
aminya
force-pushed
the
permanently-delete
branch
2 times, most recently
from
December 28, 2020 08:32
788c650
to
ed3e763
Compare
aminya
force-pushed
the
permanently-delete
branch
4 times, most recently
from
December 28, 2020 10:09
540afa1
to
6b500f7
Compare
aminya
force-pushed
the
permanently-delete
branch
from
December 28, 2020 10:10
6b500f7
to
e3a5650
Compare
sadick254
reviewed
Apr 8, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feature. I have noticed that this feature has no specs. Would you mind adding some specs on it?
aminya
force-pushed
the
permanently-delete
branch
from
April 8, 2021 20:50
daad82d
to
c3c0430
Compare
aminya
commented
Apr 8, 2021
aminya
commented
Apr 8, 2021
aminya
force-pushed
the
permanently-delete
branch
from
April 9, 2021 00:53
c3c0430
to
18729a3
Compare
aminya
force-pushed
the
permanently-delete
branch
from
April 9, 2021 01:21
18729a3
to
c868589
Compare
I don't know why the test failed again. It was working 😥 Writing tests with CoffeeScript 1 and Jasmine 1 is a very bad experience. |
aminya
force-pushed
the
permanently-delete
branch
from
April 9, 2021 05:17
66a0d3c
to
098a195
Compare
The issue was that I was comparing arrays and objects together using |
aminya
force-pushed
the
permanently-delete
branch
from
April 9, 2021 05:19
098a195
to
52a572b
Compare
Thanks for the contribution 🙇🏾♂️ . Could you fix the conflicts? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
This adds a command to delete items permanently. It uses the Sift+delete shortcut similar to operating system shortcuts. It prompts before doing so.
Benefits
Applicable Issues
This PR does not provide an alternative trashing implementation for tree-view:remove, but it provides a new command to avoid these issues by using tree-view:remove-permanently. In later PRs, we can use the trash package as a fallback to fix and close these issues:
#1368
#1237
#345
#1046
Possible Drawbacks
none