-
Notifications
You must be signed in to change notification settings - Fork 129
General: Validate if current process OpenPype version is requested version #2529
General: Validate if current process OpenPype version is requested version #2529
Conversation
Is the wait time (5 minutes) configurable in the settings? |
@@ -369,7 +369,7 @@ def __init__(self, project_name, parent): | |||
cancel_btn = QtWidgets.QPushButton("Cancel", self) | |||
cancel_btn.setToolTip("Cancel deletion of the project") | |||
confirm_btn = QtWidgets.QPushButton("Permanently Delete Project", self) | |||
confirm_btn.setObjectName("DeleteButton") | |||
confirm_btn.setObjectName("WarningButton") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it correct that GitHub is showing these style changes for Project Manager in this PR? Or has there been a merge conflict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed the object name because it's using same colors and has same purpose.
It wasn't, added. Does make sense to use decimal points for this validation like each 0.5 minutes? |
Unless its a bother to implement later, I would stick with whole minutes. Dont think anyone cant wait 1 minute for an update. |
I mean, if there's an Update Now button in the Version pop-up window users could always go down that route. Haven't checked myself but is that there? If not, should it be there? I guess just shutting down OP + starting it manually isn't that much effort either. But yes, integer minutes sounds fine. Ignore, what then?If a user clicks Ignore. What happens? Do they get the callback again after 5 minutes? Pop-up too aggressive message?Also, I feel Wrong OpenPype version in the dialog bar feels wrong. It should feel more "hey, there's a new update!" than "you did something wrong / are using the wrong software" How about changing the pop-up to something like this: TITLE A new version of OpenPype is available or OpenPype update available MESSAGE
Similarly Restart & Change I think should be either just Update or Restart & Update Slack referenceI also liked that e.g. Slack would have update messages come with a little wrapped present icon. As if you're about to receive something nice!" See below: |
It's not there, should be there, not goal of this PR. This is more for artists that start OpenPype only when PC is restarted (once in month) so they do not catch new updates at all.
Yes.
I agree it's aggresive. I wanted to avoid using
I like "Later". Much better than "Ignore". EDITED: Maybe |
@BigRoy I agree with all points with a few minor tweaks. TITLE OpenPype update is needed I'd use MESSAGE Running OpenPype version is 3.8.0-nightly.3. Your production has been updated to version
I do like the idea with a little present icon. Even though you can't really choose not to unwrap it :D Regarding the notification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't done a full code review nor tested locally but just going based on the screenshots. Looking good to me!
The action |
What a shame. I didn't push last commit. |
All good now |
Brief description
Added periodical checks of OpenPype version.
Description
Main change is affecting OpenPype tray application. A dialog with information about outdated OpenPype version is shown. If dialog is closed or ignore button is clicked a tray message will popup.
Ftrack event server statuser will show information if is up to date.
Changes
OPENPYPE_VERSION
environment for new processTesting notes:
Alternative to not wait 5 minutes (code modification needed)
In build go to
~/openpype/tools/tray/pype_tray.py
on line 375 is method_on_version_action
modify it toNow when you click on version action in tray menu it should trigger version validation.
Notes
Screenshot of dialog showed from Tray