-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Show icon indicating extension in Extension Manager is available for update #6723
Comments
+1 on this. Good idea. |
If @larz0 can make an icon for this, I would be glad to do the pull request for this addition. |
Yep, definitely. We've talked about this a bunch but I don't think there's any bug or backlog item tracking it yet (other than the "full" extension updates story). We can presumably reuse the green-circle overlay from the Extension Manager dialog, so I'm not sure we need any additional icons. I think we've talked about doing a once per 24-hrs ping to check for updates, similar to how we check for Brackets updates. We should probably double check with @jrowny about the bandwidth implications of this though, since his company is hosting the extension registry. |
@peterflynn, sounds good. Do you want me to talk to @jrowny, or do you guys want to do it and let me know what the next steps are? |
@lkcampbell I won't have laptop access til Feb 6 but here's a comp from an old discussion: https://f.cloud.github.com/assets/1495261/1467328/8b0bf01e-4580-11e3-8700-b94a6805eba9.png It's relatively smaller than the update count on the tab so that people won't notice it while they're focusing on work. |
@larz0 Man, that's really subtle! Maybe if it's not too much trouble @lkcampbell could try out a couple slightly larger radii for the dot (once a PR is up) and post screenshots to see how they compare? |
@peterflynn sounds good because I actually don't feel strongly about it. Here's the old discussion thread: |
Why can't we change the color of the icon in a subtle way? Make the icon glow and add a halo to it. |
I actually don't mind the entire icon being green when there are updates. |
Hey @lkcampbell. I'll get in touch with @jrowny, but I'm guessing that an update ping every 24 hours will be fine. We were planning to do that all along anyhow. So, I think it's fine to get started on this. |
@dangoor, sounds good, I will start working on the PR. |
Yay! |
Fantastic! |
Okay, I finally had some time to make progress on this but there are still a few design issues I would like feedback on before I commit the PR. The icon turns green when updates are available. The green is the same color as the green circle background in the update count in the Extension Manager. The code checks the extension registry every 24 hours, assuming the icon has not already been turned green. If there are one or more updates available for installed extensions, the icon is turned green. This icon stays green until the Extension Manager is opened (via the icon or the menu entry or whatever). The moment the Extension Manager is opened, the icon changes back to light gray; its job is done at this point. Whatever the user decides to do once the Extension Manager is opened does not affect the icon in any way. For example, if the user opens the Extension Manager, looks at the updates available, and decides to update some, all, or none of the extensions, the icon will still remain light gray in all cases. After 24 hours, the cycle restarts. Let me know if you have any concerns or suggestions. Otherwise, this is the design of the PR I am committing in the next day or two. |
So if I don't decide to update right now the icon will turn green after 24 hours right? If that's the case then it's pretty cool. |
@larz0 , correct, the icon will enter the cycle again and flip back to green in 24 hours if you don't touch your potential updates. |
That seems like it could feel a little weird: I open Extension Manager but don't accept all updates, and the icon goes gray -- so my mental model is "ah, it's like an 'unread' indicator, so it remembers which ones I've chosen to ignore." Then the icon turns green at some seemingly-arbitrary later point, yet there are no additional updates available -- it seems to have forgotten which ones I already saw. So I think it'd be better if we either keep it green whenever a nonzero number of updates is still available, or actually do remember which were already "seen." The former seems simpler to implement, although it might argue for a subtler visual indicator since it's more likely to hang around longer. I'll defer to @larz0 on that :-) |
Remembering which were seen is not likely to be too difficult. Something like:
The array would also need to be updated every time the user updates an extension. I'd personally be quite happy with a UX like that: an indicator whenever there's an update that I haven't seen before. |
Okay, thanks for the input. I will start working on an improved implementation. |
Guys, I made the green circle larger than what I posted originally. We can use CSS to hide the green circle on the SVG icon (here it is: http://cl.ly/0R341g3W090s) |
@larz0, as an alternative, I made a green version of the icon: What do you think of it as an alternative? |
@lkcampbell, I like that. It stands out. |
I like it too. Some people prefer a quieter indicator so I provided one just in case. |
Sorry to jump in late, and I don't want to derail the current implementation, but is there a reason we can't just badge it persistently with the number of extensions that have available updates? Do we feel like it's going to be common for people to want to ignore updates? |
What would happen if there are extensions that have updates but can't be updated because they need a newer version of Brackets? In this case the user would avoid those updates but would want to update them once they upgrade Brackets. (It usually happens when an extension updates to support the next release of Brackets before Brackets is released). Maybe we could not count these updates? |
@TomMalbran That makes sense to me... I don't think it counts as an "available update" if you can't actually install it. |
@dangoor But IIRC, it does count as an update in the update badge (green icon on Installed tab). |
Yes, I don't think it should be counted on either of the places. So we should change the behavior of the update badge on the Installed tab. |
Just now catching up on the discussion. I agree with @larz0, I don't like the look of the number badge on the toolbar icon. The plain green looks better to me. |
Assigning to @zaggino since he is working on a solution. |
@lkcampbell Thanks. If you have any input in his PR let us know. Since you though about this. |
#7330 has been merged to master so this feature will be available in the next release. Leaving this open for a while if involved people want to test/comment on it. |
Awesome job, this looks great. |
Closing since we got no reported errors. |
If you open Extension Manager in Brackets the "Installed" icon will indicate if an update is available for extensions. It would be good to see the same call-to-action icon (green circle) used on Extension Manager icon (below the Live Preview icon) so a user knows one is available there.
The text was updated successfully, but these errors were encountered: