-
Notifications
You must be signed in to change notification settings - Fork 177
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
Mi 146 list view - retry #3113
Mi 146 list view - retry #3113
Conversation
Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
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.
Nice find, couldn't reproduce.
Happy we found the issue here 😅
const shouldUseListFeedLayoutOnMobileTablet = | ||
!isNullOrUndefined(isLaptop) && !isLaptop && isFeedIncludedInListLayout; |
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.
Weird feels as the !isLaptop
would already be enough here.
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.
Not enough because it's taking the contrary value of what it should take.
The initial PR was reverted because of an issue in tags and sources page - see commits here for the last changes to fix the issue.
Issue was related to isLaptop not being defined in SSR and resulting to false statement that the env was mobile when it was not. Resolved by not considering isLaptop view evaluation if it is null or undefined
Decision to move on with this PR here
Preview domain
https://mi-146-list-view.preview.app.daily.dev/
Preview domain
https://mi-146-list-view.preview.app.daily.dev