fix(ActivityComments): fix sorting comments, upvote/downvote & feedback tab issues#4585
Open
somramnani wants to merge 8 commits intodevelopmentfrom
Open
fix(ActivityComments): fix sorting comments, upvote/downvote & feedback tab issues#4585somramnani wants to merge 8 commits intodevelopmentfrom
somramnani wants to merge 8 commits intodevelopmentfrom
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
beblicarl
requested changes
Feb 20, 2026
Contributor
beblicarl
left a comment
There was a problem hiding this comment.
This functionality works as intended, however, on darkmode it isn't visible enough
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Related PRS:
This frontend PR is related to the backend development branch.
Related PRs: PR4196, PR4135
Main changes explained:
ActivityComments.jsx:
sortedCommentslist based oncreatedAtto ensure comments render in the selected order without mutating state.createdAt) with safer date handling for all sort modes (Newest, Oldest, Highest Rated, Lowest Rated).How to test:
npm installandnpm run start:localto run this PR locally/communityportal/activity/1/engagement/Comments- if the Sorting functionality works
- if the Upvote/Downvote functionality works
- if the Newest first and Oldest first filtering works
- if the Thumbs button increases or decrease when clicking instead of having the count keep increasing
Screenshots or videos of changes:
Sorting:
PR.4585-Demo.mov
Upvoting and Downvoting:
PR.4585-Upvoting-Downvoting.mov
Newest/Oldest Filtering:
Screen.Recording.2025-12-22.at.4.11.16.PM.mov
Thumbs Up in Feedback Tab:
PR.4585-Thumbs-Up-Demo.mov
Dark Mode:
Screen.Recording.2026-03-19.at.6.23.02.PM.mov