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

Nt/post display optimise #2591

Merged
merged 44 commits into from Feb 7, 2023
Merged

Nt/post display optimise #2591

merged 44 commits into from Feb 7, 2023

Conversation

noumantahir
Copy link
Collaborator

@noumantahir noumantahir commented Jan 19, 2023

What does this PR?

  • restructured comment cache management
  • using react query and redux to unify comment/discussion fetch
  • using single FlatList to render post, comment and replies efficiently

Pending:
inject local cache,

Where should the reviewer start?

Steps to reproduce

Issue number

fixes #2614

Screenshots/Video

Over all demo
https://user-images.githubusercontent.com/6298342/216063131-d4e26fa8-57c5-4458-ae50-ee9a6c272c1e.mov

New comment shows on top
https://user-images.githubusercontent.com/6298342/216063296-6f6c307b-70e9-476c-a3c0-04dfc9af8ae0.mov

comment update test
https://user-images.githubusercontent.com/6298342/216063348-94f49007-36d4-4066-b5a1-95068cf7d33c.mov

@noumantahir noumantahir changed the title [WIP] Nt/post display optimise Nt/post display optimise Feb 1, 2023
Copy link
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@feruzm feruzm merged commit e3a4626 into development Feb 7, 2023
@feruzm feruzm deleted the nt/post-display-optimise branch February 7, 2023 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimise Post Display : Phase 2
2 participants