Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

🐛 Deleting squashed directory - #1008

Merged
winstliu merged 1 commit into
atom:masterfrom
mcampagonzalez:fix/unsquash_deleted_directories
Dec 31, 2016
Merged

winstliu merged 1 commit into
atom:masterfrom
mcampagonzalez:fix/unsquash_deleted_directories

Conversation

@miguelcg

Copy link
Copy Markdown
Contributor

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Calling @updateRoots() after the deletion of a squashed directory refresh the view and solves the bug in #1005.

Alternate Designs

Benefits

It solves a bug. The expected behavior after deleting a directory is to make it disappear from the tree view. That's possible with this pull request. The current behavior is that the directory is deleted in the file system but the tree view keeps showing the un-existing directory.

Possible Drawbacks

Applicable Issues

#1005 #799

@miguelcg miguelcg changed the title 🐛 Deleting squashed directory #1005 :bug Deleting squashed directory #1005 Dec 29, 2016
@miguelcg miguelcg changed the title :bug Deleting squashed directory #1005 🐛 Deleting squashed directory #1005 Dec 29, 2016
@miguelcg miguelcg changed the title 🐛 Deleting squashed directory #1005 🐛 Deleting squashed directory #1005 Dec 29, 2016
@miguelcg miguelcg changed the title 🐛 Deleting squashed directory #1005 🐛 Deleting squashed directory Dec 29, 2016
@winstliu

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants