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

Discarding changes doesn't update sidebar #184

Closed
rossmcdonald opened this issue Oct 9, 2019 · 2 comments

Comments

@rossmcdonald
Copy link
Collaborator

@rossmcdonald rossmcdonald commented Oct 9, 2019

To Reproduce

  1. Create an API
  2. Click Commit > Discard changes
  3. View sidebar

Expected behavior
The newly-created API would be removed.

Actual behavior
The newly-created API is still present in the sidebar. Note that this does not just apply to APIs, but models and other artifacts as well.

Reproduced with v1.1.4

@lottamus

This comment has been minimized.

@StoplightDeb

This comment has been minimized.

Copy link

@StoplightDeb StoplightDeb commented Oct 25, 2019

This looks good - files are removed from the file structure if discarded before commit.

Note - if you create a folder and add files to it, and then discard the files, the folder is still there.
filed a followup ticket #1080 in case we want to clean this up?

Closing this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.