Can't auto close diff panel after stage all files #1108
Description
Prerequisites
- Have you tried to reproduce the problem in Safe Mode?
- Have you followed all applicable steps in the debugging guide?
- Have you checked the FAQs on the message board for common solutions?
- Have you checked that your issue isn't already filed?
Description
I use the github package 0.4.0. When after I staged the last changed file, it switch to the staged changes panel which is not what I expected.
I think most people must have reviewed the changes before stage each file. So after staging, people may want to return to the editor to continue typing instead of reviewing the staged changes again.
Steps to Reproduce
- Modify two files in git repo opened in atom.
- Stage one file.
- Stage another file.
Expected behavior:
The diff panel close after I staged all the modified files.
Actual behavior:
The diff panel focus to the first staged file.
Reproduces how often:
100%
Versions
Atom : 1.20.0-beta2
Additional Information
Please include any additional information, configuration or data that might be necessary to reproduce the issue. Screenshots, if appropriate, are helpful as well.
If your issue involves a repository, and that repository is public, please include a link to it.