You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we show a modal dialog whenever we detect that an update is available. This approach has two clear problems
We could potentially destroy work that the user is doing since we forcibly close any open popup in order to show the dialog
It's distracting and very much in-your-face
For the first issue there's several things we could do such as not showing the dialog if any other dialog or foldout is currently showing. If we decided that dialogs was the best way to go for updates we could also special case the update dialog to render on top of whatever is showing the same way we do error dialogs.
The second problem, however, would require a re-think on how we display these notifications to begin with.
Here's one suggestion about how we could do it inline (disregard the fact that it's based on an old mock of the app)
I'm pretty sold on this direction, it's unobtrusive, but I'd like to hear if there's any strong arguments in favor of keeping it in a dialog, @desktop/core?
My initial thought with that mockup is that when the app detects an update and inserts that banner, it'd shift the bulk of the UI down 30 pixels (or whatever). Which might be jarring/confusing if the user is interacting with the app at that moment.
Which might be jarring/confusing if the user is interacting with the app at that moment.
It might be yeah. I think that the odds of that actually being a problem are fairly low considering how seldom we check for updates and how seldom we release but it's a fair criticism.
I think a bigger problem when it comes to jarring is that the app currently (at least on Windows) moves to the foreground when it detects an update. I hit that the other day when I was writing some code in my editor and the app suddenly jumped up and stole focus from what I was doing. I think that if possible we should disable that behavior at the same time as we implement the new update notification.
it'd shift the bulk of the UI down 30 pixels (or whatever)
A little less jarring if you can animate it down rather than pop it down.
It might be yeah. I think that the odds of that actually being a problem are fairly low considering how seldom we check for updates and how seldom we release but it's a fair criticism.
We can also think about when we should automatically check and show that there's an update available. If the concern is that it would be jarring while the user is interacting with the app, would it make sense to only show the update banner right when the app is refocused (the moment before they start doing any work in Desktop)?
The flow I'm thinking is something like:
Developer switches out of Desktop to work on tasks
GHD checks for updates in the background and downloads the next update (EDIT: lol we don't need to wait until it's in the background to check if there's an update)
Developer switches back to the app
Desktop animates the upgrade banner in before they start doing any work.
microsoft/vscode#24823 is an interesting thread in context of this issue, especially because a user cites Desktop as being a good example of unobtrusive updates 👍
Related to that VSCode issue - we also have some space in the app toolbar if we want to stick to iconography like the classic apps (this is at 800x600 which is as far as I can shrink the app on macOS):
Activity
joshaber commentedon Apr 5, 2017
I definitely don't want to keep it in a dialog. 🔥
My initial thought with that mockup is that when the app detects an update and inserts that banner, it'd shift the bulk of the UI down 30 pixels (or whatever). Which might be jarring/confusing if the user is interacting with the app at that moment.
niik commentedon Apr 5, 2017
It might be yeah. I think that the odds of that actually being a problem are fairly low considering how seldom we check for updates and how seldom we release but it's a fair criticism.
I think a bigger problem when it comes to jarring is that the app currently (at least on Windows) moves to the foreground when it detects an update. I hit that the other day when I was writing some code in my editor and the app suddenly jumped up and stole focus from what I was doing. I think that if possible we should disable that behavior at the same time as we implement the new update notification.
joshaber commentedon Apr 5, 2017
That sounds like a bug. I wouldn't expect that to happen.
haacked commentedon Apr 5, 2017
A little less jarring if you can animate it down rather than pop it down.
Ditto.
donokuda commentedon Apr 5, 2017
We can also think about when we should automatically check and show that there's an update available. If the concern is that it would be jarring while the user is interacting with the app, would it make sense to only show the update banner right when the app is refocused (the moment before they start doing any work in Desktop)?
The flow I'm thinking is something like:
shiftkey commentedon Apr 5, 2017
👍 to a less jarring update notification
joshaber commentedon Apr 17, 2017
microsoft/vscode#24823 is an interesting thread in context of this issue, especially because a user cites Desktop as being a good example of unobtrusive updates 👍
shiftkey commentedon Apr 17, 2017
Related to that VSCode issue - we also have some space in the app toolbar if we want to stick to iconography like the classic apps (this is at 800x600 which is as far as I can shrink the app on macOS):
iAmWillShepherd commentedon Apr 18, 2017
How are we handling links to the latest version's release notes?
shiftkey commentedon Apr 19, 2017
@iAmWillShepherd for the app, it's currently just an external link to here. And this is what the website does to highlight the PR links.
shiftkey commentedon Apr 27, 2017
Fixed in #1231