Skip to content

Unobtrusive update notifications #1136

Closed

Description

@niik

Right now we show a modal dialog whenever we detect that an update is available. This approach has two clear problems

  1. We could potentially destroy work that the user is doing since we forcibly close any open popup in order to show the dialog
  2. 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)

dark header copy

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?

Activity

  1. joshaber commented on Apr 5, 2017

    @joshaber
    Contributor

    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.

  2. niik commented on Apr 5, 2017

    @niik
    MemberAuthor

    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.

  3. joshaber commented on Apr 5, 2017

    @joshaber
    Contributor

    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.

    That sounds like a bug. I wouldn't expect that to happen.

  4. haacked commented on Apr 5, 2017

    @haacked
    Contributor

    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.

    Ditto.

  5. donokuda commented on Apr 5, 2017

    @donokuda
    Contributor

    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:

    1. Developer switches out of Desktop to work on tasks
    2. 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)
    3. Developer switches back to the app
    4. Desktop animates the upgrade banner in before they start doing any work.
  6. shiftkey commented on Apr 5, 2017

    @shiftkey
    Member

    👍 to a less jarring update notification

  7. joshaber commented on Apr 17, 2017

    @joshaber
    Contributor

    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 👍

  8. shiftkey commented on Apr 17, 2017

    @shiftkey
    Member

    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):

  9. iAmWillShepherd commented on Apr 18, 2017

    @iAmWillShepherd
    Contributor

    How are we handling links to the latest version's release notes?

  10. shiftkey commented on Apr 19, 2017

    @shiftkey
    Member

    @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.

  11. shiftkey commented on Apr 27, 2017

    @shiftkey
    Member

    Fixed in #1231

  12. locked as resolved and limited conversation to collaborators on Jul 22, 2018
  13. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions