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

UI: Action changes to updating previous version after installing #1

Closed
jeffhandley opened this issue Jan 29, 2015 · 1 comment
Closed
Labels
Priority:2 Issues for the current backlog. Type:Bug
Milestone

Comments

@jeffhandley
Copy link
Member

After installing the latest version of a package, the following happens:

  1. The Action changes to "Update"
  2. The Version changes to the previous version
  3. The button changes to "Update"

When selecting a package that is already installed, here's what I'm thinking we should do:

  1. If there is an update available, select the latest version (respecting prerelease checkbox) and set the action to Update.
  2. If the latest version is already installed, set the action to Uninstall.
@jeffhandley
Copy link
Member Author

Ended up breaking apart the Upgrade/Downgrade choices for project-level management, while retaining the Update option for solution-level management.

For a project, it's now a clear separation between Upgrade and Downgrade, and the action ordering urges you to upgrade first, but if there are no upgrades available, then uninstall is selected rather than downgrade.

For solution-level management, the distinction between upgrade and downgrade wouldn't really work because a new version could be an upgrade for one project but a downgrade for another. So I left it as just Update at the solution level.

@deepakaravindr deepakaravindr added Type:Bug Priority:2 Issues for the current backlog. labels Feb 24, 2015
@jeffhandley jeffhandley removed their assignment Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:2 Issues for the current backlog. Type:Bug
Projects
None yet
Development

No branches or pull requests

3 participants