Skip to content

Chirag - Fix Event fetch error on the Community Calendar Screen#5241

Open
ChiragBellara wants to merge 6 commits into
developmentfrom
chirag-fix-event-fetch-error-on-calendar-screen
Open

Chirag - Fix Event fetch error on the Community Calendar Screen#5241
ChiragBellara wants to merge 6 commits into
developmentfrom
chirag-fix-event-fetch-error-on-calendar-screen

Conversation

@ChiragBellara
Copy link
Copy Markdown
Contributor

Description

Screenshot 2026-05-07 at 7 49 49 PM

Related PRS (if any):

This frontend PR is related to OneCommunityGlobal/HGNRest#2198

Main changes explained:

  • fixed the UI to display all events
  • updated the UI to show the events more clearly
  • fixed the linking to registration page in the modal
  • updated the css to remove style lint errors and show the information more clearly

How to test:

  1. check into current branch and get the API from HGNRest
  2. do npm install and npm run start:local to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. navigate to /communityportal/calendar
  6. verify that you can see events that occur in the future and in the past
  7. check if you see the list of events on the left side of the screen when you click on any date

Screenshots or videos of changes:

FixCommunityCalendarEventDisplay.mov

Note:

This screen can still produce duplicate-entry behavior for certain dates because some legacy records in MongoDB contain multiple rows/documents with the same ID. When switching dates, the UI cleanup logic removes only one instance of the duplicated ID, leaving stale entries behind and causing console errors.
This is caused by pre-existing corrupted/duplicate data and is not introduced by this PR. The underlying database issue no longer occurs for newly created records, but historical data has not yet been cleaned up.
A proper fix would require a MongoDB data cleanup/migration to remove duplicate records.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 2eac4b5
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a02c15b8b3eb500081a0bde
😎 Deploy Preview https://deploy-preview-5241--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ChiragBellara ChiragBellara added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label May 12, 2026
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant