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

Can't auto close diff panel after stage all files #1108

Open
@yubaoquan

Description

@yubaoquan

Prerequisites

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.
staged

Steps to Reproduce

  1. Modify two files in git repo opened in atom.
  2. Stage one file.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions