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

PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) #19700

Merged
merged 4 commits into from
Oct 11, 2022

Conversation

dalthviz
Copy link
Member

@dalthviz dalthviz commented Oct 4, 2022

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

See #19112 (comment)

A preview showing the new dialog without having the installer downloaded:

installer_download

A preview showing the new dialog when the installer was already downloaded previously:

installer

Issue(s) Resolved

Part of #19112

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

@dalthviz dalthviz added this to the v5.4.0 milestone Oct 4, 2022
@dalthviz dalthviz self-assigned this Oct 4, 2022
@dalthviz dalthviz changed the base branch from master to 5.x October 4, 2022 17:56
@dalthviz dalthviz closed this Oct 4, 2022
@dalthviz dalthviz reopened this Oct 4, 2022
@dalthviz
Copy link
Member Author

dalthviz commented Oct 7, 2022

Note: Seems like the MacOS installer workflow is failing due to the release of black 2.10.0

@dalthviz dalthviz changed the title [WIP] PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) Oct 7, 2022
@mrclary
Copy link
Contributor

mrclary commented Oct 8, 2022

Note: Seems like the MacOS installer workflow is failing due to the release of black 2.10.0

Yep, looks like we should pin that to <=22.8.0.

Copy link
Contributor

@mrclary mrclary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@dalthviz dalthviz changed the title PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) [WIP] PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) Oct 10, 2022
@dalthviz dalthviz changed the title [WIP] PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) PR: Add dialog to confirm downloaded installer installation and update related code organization (Application) Oct 10, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty nice! Thanks a lot @dalthviz for your work on it.

spyder/plugins/application/container.py Outdated Show resolved Hide resolved
spyder/plugins/application/container.py Show resolved Hide resolved
spyder/plugins/application/widgets/install.py Outdated Show resolved Hide resolved
spyder/plugins/application/widgets/install.py Show resolved Hide resolved
spyder/plugins/application/widgets/install.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
Code style and strings

Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dalthviz, last small suggestions for you, then this should be ready.

spyder/plugins/application/widgets/install.py Outdated Show resolved Hide resolved
spyder/workers/updates.py Outdated Show resolved Hide resolved
Signals docstrings changes

Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @dalthviz, and @jsbautista too, for your great job on this! The auto-update functionality is shaping so nicely! Keep up the good work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants