-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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.
Changes will be tested once the code is merged into 5.16 release.
@jespino
Can you please confirm if these changes will also be made into mobile app? Will there be a separate PR?
@srkgupta nope, they aren't made, but I'm not 100% sure if they are needed, is this failing in mobile too? This is related to routing and both projects work in a very different way about routing. |
Thanks @jespino Will recheck this on mobile and raise it as a separate issue if the issue is seen. |
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 👍
// IE Detection | ||
if (UserAgent.isInternetExplorer() || UserAgent.isEdge()) { | ||
body.classList.add('browser--ie'); | ||
} |
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.
Is it worth adding browser--ie
(and os--windows
and os--mac
) from a more global location and have the styling target it with .app_body.browser--ie
(or something) so that it doesn't affect existing pages? This just makes the 3rd place that browser--ie
is being added and it would be a shame if that number keeps growing. Just wanted to brainstorm it really.
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.
This is just moving code from one place to another, and is part of cherry-pick PR for 5.16, I'm ok to discuss this as part of another Jira issue, but I think for now, if the code looks good (in the sense of fix the problem and keep the old existing correct behavior), we can merge it and talk about the browser--ie
class as a separate thing.
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.
Totally fair.
// IE Detection | ||
if (UserAgent.isInternetExplorer() || UserAgent.isEdge()) { | ||
body.classList.add('browser--ie'); | ||
} |
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.
Totally fair.
@jespino
|
* Improving redirect on guest accounts * Fixing tests * moving tests to the new correct place
* Improving redirect on guest accounts * Fixing tests * moving tests to the new correct place
This reverts commit 3d2198b.
* Improving redirect on guest accounts * Fixing tests * moving tests to the new correct place
Summary
Fixing certain situation on guest accounts redirects
Ticket Link
MM-17921