-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
My Site: fix iPad default selected row #18118
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.
From my side, it all looks good! Tested on iPad simulator, and also checked for regressions on iPhone. Thanks, @leandroalonso!
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.
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.
I'm seeing a something similar to what @hassaanelgarem mentioned above -- when switching from a site that has Quick Start enabled to a P2 site, "Stats" is shown but "Menus" is selected
@momo-ozawa @hassaanelgarem the issues you were seeing should be fixed with the last commits. Could you please try again? |
Context: we have 16 BlogDetailsSubsection and @unknown requires the switch to be exhaustive. However, that was never the case. I removed it to suppress the warning.
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.
Yes, the issue is fixed for me 🚀
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!
Part of #17873
Fixes #17958
This PR fixes a bug that has been there for quite some time: the default selected row when using iPad.
To test
With My Site Dashboard flag disabled:
With My Site Dashboard flag enabled
Make sure to check the site that has Quick Start enabled too, "Stats" should be the selected row there.
My Site Dashboard flag enabled and dashboard as the default
Regression Notes
Potential unintended areas of impact
iPhone
What I did to test those areas of impact (or what existing automated tests I relied on)
Manually tested on iPhone
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txt
if necessary.