Skip to content

Chirag - Added toggle to Show Past Events on Activities page in the Community Portal#4772

Merged
one-community merged 10 commits intodevelopmentfrom
chirag-fix-activity-list-default-display-functionality
Apr 5, 2026
Merged

Chirag - Added toggle to Show Past Events on Activities page in the Community Portal#4772
one-community merged 10 commits intodevelopmentfrom
chirag-fix-activity-list-default-display-functionality

Conversation

@ChiragBellara
Copy link
Copy Markdown
Contributor

@ChiragBellara ChiragBellara commented Jan 30, 2026

Description

Screenshot 2026-01-31 at 7 34 02 PM

Related PRS (if any):

This is NOT related to any other PRs.

Main changes explained:

  • Added a toggle to show/hide past events
  • Defaulted the behavior to Hide past events
  • Added new mock events to help with the testing.

How to test:

  1. check into current branch
  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/activities
  6. Verify that the events shown by default have a date of either today or of the future.
  7. Verify that when Show Past Events toggle is checked, you are able to see all the events including the ones happening in the future.
  8. Verify that the toggle functions in both light and dark modes.

Screenshots or videos of changes:

Show.Past.Events.Toggle.Implementation.mov

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 30, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 00d00a9
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69d2e1a0f227790008f9c1ee
😎 Deploy Preview https://deploy-preview-4772--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@ChiragBellara ChiragBellara marked this pull request as ready for review February 1, 2026 03:42
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 1, 2026

@ChiragBellara ChiragBellara changed the title Added Past toggle Chirag - Added toggle to Show Past Events on Activities page in the Community Portal Feb 1, 2026
naznin07
naznin07 previously approved these changes Mar 12, 2026
Copy link
Copy Markdown

@naznin07 naznin07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline conditional logic in JSX.

PR # 4772

@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Mar 13, 2026
Anusha-Gali
Anusha-Gali previously approved these changes Mar 13, 2026
Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Chirag,

I have reviewed your PR locally and the past events filter works as per requirement.

Image Image Image Image Image Image

Copy link
Copy Markdown

@rohanrastogi311 rohanrastogi311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI Chirag,

Well done with this implementation.

Image Image

Copy link
Copy Markdown

@HemanthNidamanuru HemanthNidamanuru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Chirag,

I have reviewed your PR locally, and the past events filter works as expected and meets the specified requirements.

Image Image Image Image Image

@Nirali164
Copy link
Copy Markdown

Hello Chirag,

I have used your branch locally and tested the feature.
It seems to be working for me. It has the Show Past Date toggle, and it shows past dates only when the toggle is true.
By default, it shows all the present and future dates.

Screen.Recording.2026-04-02.at.11.32.12.AM.mov

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 5, 2026

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 807042f into development Apr 5, 2026
10 checks passed
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.

7 participants