Abhishek_Fix: Add Search and Clear buttons to Resource Management page#5360
Open
Abhi-R0211 wants to merge 2 commits into
Open
Abhishek_Fix: Add Search and Clear buttons to Resource Management page#5360Abhi-R0211 wants to merge 2 commits into
Abhi-R0211 wants to merge 2 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Contributor
Author
|
Hi @one-community, this is a quick follow-up to #5360 fixing the SonarQube contrast issue that surfaced after merge. Would appreciate a review when you have a moment. Thanks! |
kzou55
approved these changes
Jul 3, 2026
kzou55
left a comment
There was a problem hiding this comment.
Hi Abhishek,
I ran and tested the PR locally.
Verified
- Typing in the search box filters the list live
- Clearing the search input restores the full list
- Clicking clear resets the list and sets the pagination to page 1
- Searching for an item that doesn't exist results in an empty table
- The Add New Log form works and validates the inputs
- Dark Mode works
Tests
-
Testing in Light Mode
Recording.2026-07-03.162638.mp4
-
Testing in Dark Mode
Recording.2026-07-03.162803.mp4
HemanthNidamanuru
approved these changes
Jul 4, 2026
DeepighaJ
approved these changes
Jul 4, 2026
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.














Related PRs: Supersedes #5068
Reason for new branch:
The older branch had drifted significantly from development - it was missing ~6 months of merged features including column sorting, XLSX/CSV export, pagination, lucide-react icons, toast notifications, and PropTypes validation. Rebasing it would have caused major regressions. Instead, this PR implements the same feature (Search + Clear button) cleanly on top of the current development branch, preserving all existing functionality.
What this PR does:
Implements the missing feature from issue (Phase 3 - Resource Management page Search Results Do Not Revert After Clearing Input; Missing Clear Filter Control) at
/communityportal/activity/:activityId/resources:How to test:
fix/resource-management-clear-buttondevelopmentbranchnpm installthennpm run start:local/communityportal/activity/:activityId/resourcesNote:
The Add Log feature currently stores data in mock state only and does not persist to the backend — no backend endpoint exists in HGNRest for this feature. This is a pre-existing project-wide limitation and is out of scope for this PR. A separate backend PR would be needed to implement persistence.