-
Notifications
You must be signed in to change notification settings - Fork 582
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
refactor(PHIRE-218): use MasonryFlashList of full screen grids #9332
Conversation
fe77a00
to
28beee6
Compare
3dc736e
to
7d62286
Compare
A thing that I noticed is that for the LotsByArtistsYouFollow screen we don't have any analytics for pageviews. I will ask in #analytics-help to see if we should add them |
height={imgHeight} | ||
navigateToPageableRoute={navigateToPageableRoute} | ||
/> | ||
</Flex> |
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.
awesome work, this is looking much nicer!
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.
sorry just found out I didn't submit my review - lgtm
<Flex | ||
pl={columnIndex === 0 ? 0 : 1} | ||
pr={NUM_COLUMNS_MASONRY - (columnIndex + 1) === 0 ? 0 : 1} |
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.
nitpick: it would be nice to do some explorations on supporting gaps to our Flex component to avoid conditional paddings.
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.
that's a great point, we can use also https://reactnative.dev/docs/0.71/flexbox#row-gap-column-gap-and-gap when we upgrade to either 0.71 or 0.72
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.
exactly that!
This PR resolves PHIRE-218
Description
Important
Nothing changed UI wise!
Replacing the following surfaces with the new MasonryFlashList.
Created also a reusable component for FullScreen Masonry grids (there is another one for the tabs).
Refactored surfaces:
Note
There was also a bonus refactor on the
LotsByArtistsYouFollow.tsx
surface that refactored the queryRenderer to use relay hooks instead ⭐️PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.