Completed implementation of adding comment pagination when user adds a new comment. Brandon helped me solve a bug when populating comments.
User Stories
As a Developer, I would like to implement functionality to allow the user to infinite scroll through comment section of profile tab, so that the user can have a seamless user experience
As a developer, I want to implement infinite scroll to improve load times and load content more efficiently, so that the application loads comments in a stable manner and doesn't have issues
20
Features
Implements infinite scrolling pagination so as the user scrolls downwards, comment are displayed in chunks
Increasing website performance as all the comment data isn't loaded all at once, but in reasonable chunks
Increases user experience with the comment section
Changes
Moved getComments method for fetching comments into its own action
New comments are added in descending order
Infinite scroll functionality so as the user scrolls down in comment section more comments appear
Removed pagination buttons as we now have infinite scrolling
Modal to add new comments now resets upon new comment submission
Overview
Completed implementation of adding comment pagination when user adds a new comment. Brandon helped me solve a bug when populating comments.
User Stories
20
Features
Changes
Known Bugs or Issues
None
Snapshots
https://github.com/brandonhach/rep/assets/114207613/7bd908cd-81c2-4c3e-a1a5-e7e3ee4ed45b
Let me know if there's anything I missed!