Skip to content
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

Merged
merged 36 commits into from
May 21, 2024
Merged

Mi 146 list view - retry #3113

merged 36 commits into from
May 21, 2024

Conversation

nensidosari
Copy link
Contributor

@nensidosari nensidosari commented May 17, 2024

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

nensidosari and others added 28 commits May 2, 2024 16:39
Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
Copy link

vercel bot commented May 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 8:14am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
storybook ⬜️ Ignored (Inspect) May 21, 2024 8:14am

Copy link
Contributor

@rebelchris rebelchris left a 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 😅

Comment on lines +116 to +117
const shouldUseListFeedLayoutOnMobileTablet =
!isNullOrUndefined(isLaptop) && !isLaptop && isFeedIncludedInListLayout;
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@nensidosari nensidosari merged commit ca508b4 into main May 21, 2024
10 checks passed
@nensidosari nensidosari deleted the MI-146-list-view branch May 21, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants