-
Notifications
You must be signed in to change notification settings - Fork 189
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
Loading post for mobile alpha version: #3420
Conversation
@tpmai22 Oh wait, I almost have a PR for this. Mine is like 99% done but for now it will just load the first page of Posts (not infinite). I can work on other stuff of the posts component since it's huge. here is my work |
minHeight: 300, | ||
}, | ||
title: { | ||
'-webkit-box-orient': 'vertical', |
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 have tested your PR. The some of the CSS properties will not work in React Native like webkit, overflow, letterSpacing
or units like em, rem
won't work either. I tested this PR using my android emulator of Android studio and I had to chance some styling properties to make it work. The Posts timeline is working fine
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.
@nguyenhung15913 feel free to push the PR or if you want you can file follow up issues with the features that you have implemented
@Kevan-Y @TueeNguyen any opinion ? |
Other than those comments, good use of |
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.
Almost ready, later I'd like to see the Load More
button not being sticky to the screen
Since this one is about loading posts only, and it working fine on fetching the posts, I think we can rebase and merge. Then based on this, I will create another PR for the styling that is compatible for mobile app. |
I just fix all the syling issues @nguyenhung15913 @TueeNguyen @DukeManh @Kevan-Y I think we are good to go |
. Basic style for post . Loading post using FlatList Co-author: Duke Manh <manhducdkcb@gmail.com>
Closes #2857
. Basic style for post
. Loading post using FlatList
Co-author: Duke Manh manhducdkcb@gmail.com
Issue This PR Addresses
Type of Change
Description
Loading
posts
foralpha
version in ourmobile
app homepageSteps to test the PR
Prefer to use Gitpod which make ease in reviewing this PR.
cd src/mobile
pnpm start
Checklist
Android.Emulator.-.Pixel_4_API_32_5554.2022-04-12.18-19-04.mp4