-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-27861 signal successful login to other tabs #6319
Conversation
Thank you @bhargav50! |
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.
Thanks for the PR, @bhargav50! I have a few questions, but they're mostly since it's been a long time since I last looked at this code.
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.
Thanks for answering my questions. This looks good to me then!
LGTM can you resolve the conflict and sync with master? Thanks for the contribution 👍 |
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.
Thank you @bhargav50
Tested, looks good to merge.
- Verified login is signaled to other tabs (Windows, macOS and Linux browsers).
After user has been logged in, login on other tabs completes when focus is placed on those tabs and not immediately at the time of initial login.
@nevyangelova Can you please help merge? Thanks.
Test server destroyed |
I have resolved conflicts with master and pushed but one check is still failing. @nevyangelova can you help me figuring out what is this actually suggesting? |
/update-branch |
@nevyangelova @bhargav50 The failed build check was for an outdated branch, so I ran |
I've updated again to fix a merge conflict. Hopefully the build failure was just due to a random failure. I'll keep an eye on it to ensure it passes. |
* signal successful login to other tabs * signal login to other tabs Co-authored-by: Mattermod <[email protected]> Co-authored-by: Harrison Healey <[email protected]>
Summary
Signals login event to other tabs on successful login
Ticket Link
Fixes mattermost/mattermost#15302
Changes introduced
Unit tests added