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

Show settings after install #763

Merged
merged 4 commits into from Jun 25, 2016
Merged

Show settings after install #763

merged 4 commits into from Jun 25, 2016

Conversation

bastilian
Copy link
Contributor

This PR fixes #650 by not removing the settings button and show after a package has been installed that has settings.

For this I had to remove _.memoize for PackageManager#packageHasSettings as it returned a wrong result, this may effect rendering of longer package lists, but so far I have not noticed any negative effect.

Chaching the results gives wrong results after a package has been installed as it is not aware of it when the package manager is initiated.
@lee-dohm
Copy link
Contributor

There is a bug in this implementation. When I'm on a package's settings page, the settings button is displayed:

screen_shot_2016-06-21_at_8_43_26_am

@bastilian
Copy link
Contributor Author

@lee-dohm I've added a spec to verify this and fixed it. The settings button in now shown after install and not shown on the settings page of a package.

@lee-dohm
Copy link
Contributor

Thanks very much @bastilian!

@lee-dohm lee-dohm merged commit 463868a into atom:master Jun 25, 2016
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.

Settings button not available in Install view, post-package-install
2 participants