-
Notifications
You must be signed in to change notification settings - Fork 324
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
feat: icon in browser action menu upon version update #935
Conversation
Hi @lidel -- is this enough to get started? |
Thanks! I'll try to wire this up today 🤞 |
this hides new release notes indicator until new version is released and persists it until the newer release shipps it also converts old opt-out for opening releasenotes in a new tab to an opt-in
2fa86be
to
5b676e5
Compare
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.
LGTM! Thank you @jessicaschilling
- I've wired it up
- Turned out to be more involved than expected, mostly because choo does not support async render functions: I had to calculate show/hide flag in background page and then send it to the popup.
- Added migration from opt-out to opt-in
- If someone opts-in to opening release notes in a new tab, the redundant notification via icon won't be displayed.
Mind double checking if works as expected?
ps. while at it, mind eyeballing in Firefox? I see this weird cut-off, but it could be just my Linux box:
@lidel -- confirmed everything works as expected in both Chrome and Firefox on Mac. Also saw the same FF visual glitch, and adjusted icons' |
Look good in Firefox now, thanks! |
Closes #933.
To do
Note: There was discussion in #933 about changing the browser bar icon itself in some way to indicate the new version. Suggesting we leave this off (at least for now) - we have significant cube icon mods in #662 and I think the cube icon may be "full up" on its ability to convey different states once that issue is implemented.
Screenshot