-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
#2430 remove app.relaunch on desktop update #4406
#2430 remove app.relaunch on desktop update #4406
Conversation
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
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging in version: 1.0.82-8🚀
|
I am worried this caused a regression where the update app modal doesn't display after the update notification is clicked? Would love it someone could independently verify the bug. This PR seems like the most likely culprit, but I'm not sure. |
I actually haven't seen any update modal during any of my tests. I don't believe there is any reason to assume this PR has caused it, because the change is to update callback only. The logic behind showing the update modal wasn't changed. |
Looks like this PR may not be the cause of the issue since we've been able to reproduce the issue on production while this code is only on staging. |
Yep, my mistake this PR was not the cause. |
Coming here from the Update App modal issue. Lines 213 to 224 in 3ec2137
was dependent on the code removed. I know that relaunching is the issue but Shouldn't something be added to keep the other functionality intact. |
🚀 Deployed to production by @francoisl in version: 1.0.83-1 🚀
|
Yeah, it looks like a fair amount of code related to the expected update version flag was not removed along with the flag itself. |
What exactly is that code's function? Is that something I should have reimplemented in some other way? |
Yes. That code determines the Window visibility after the update. (Casually saying 🐳) But It's shocking that you removed a piece of code without tracing its usages. |
Details
Removes unnecessary from update function that breaks notifications after update.
Fixed Issues
$ #2430
Tests
new Notification('Test notification');
in console. You see a notification.QA Steps
Tested On
The change only affects desktop, no need to test anything else.
Screenshots
Desktop
2430-desktop.mp4