Sanjeev fix event display for selected date#4451
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…ighestGoodNetworkApp into Sanjeev_fix_event_display_for_selected_date
|
bhanuanishakkineni
left a comment
There was a problem hiding this comment.
Hello Sanjeev,
I have reviewed and tested the PR using the admin, owner and volunteer accounts. As I tested the PR, I found that the events are not displayed using dashboard calendar while they are displayed using calendar filter from events. This raises functional inconsistency between two part of the systems according the given requirements.
This issue occurs across all the users - volunteer, admin, owner


…ighestGoodNetworkApp into Sanjeev_fix_event_display_for_selected_date
shashank-madan
left a comment
There was a problem hiding this comment.
Looks good to me. All functionality works as expected. Good job
HGN.APP.-.Google.Chrome.2026-01-31.19-18-38.mp4
…ighestGoodNetworkApp into Sanjeev_fix_event_display_for_selected_date
44813be
|
|
Thank you all, merging! |
…splay_for_selected_date Sanjeev fix event display for selected date











Description
Related PRS (if any):
Main changes explained:
src/components/CommunityPortal/Calendar/CommunityCalendar.jsx- Added date selection state and filtering logic to display events for selected date, connected calendar component with onChange handler and passed filtered events to activity sectionsrc/components/CommunityPortal/Calendar/CalendarActivitySection.jsx- Added conditional rendering to display filtered events for selected date or show "Latest News" when no date selected, added formatDate helper and clickable event buttonssrc/components/CommunityPortal/CPDashboard.jsx- Migrated to CSS Modules (CPDashboard.module.css), renamed events state to allEvents, added selectedDate state and parseEventDate helper function, updated image URLssrc/components/CommunityPortal/CPDashboard.csstoCPDashboard.module.css- Converted to CSS Modules pattern with updated class name syntaxyarn.lock- Updated dependency versionsHow to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
https://www.dropbox.com/scl/fi/q586p1f3xkbc39gir2w4e/fix_events_date_filter.mov?rlkey=qo2nivjtt2lko5gbyzbjga1c3&st=3ej5qdf3&dl=0
Note:
The events and activities used in the UI are mock data.