Skip to content

Vikas taking over for Kanishk: Implement Event Participation Analytics landing page with functional dropdowns and CSS modules#4162

Open
kanishkagarwal6101 wants to merge 7 commits intodevelopmentfrom
kanishk_design_the_landing_page_analytics_eventPopularity
Open

Vikas taking over for Kanishk: Implement Event Participation Analytics landing page with functional dropdowns and CSS modules#4162
kanishkagarwal6101 wants to merge 7 commits intodevelopmentfrom
kanishk_design_the_landing_page_analytics_eventPopularity

Conversation

@kanishkagarwal6101
Copy link
Copy Markdown
Contributor

Description

Implemented the Event Participation Analytics landing page at /communityportal/reports/participation with comprehensive analytics dashboard, functional dropdowns, and CSS modules conversion. This addresses the urgent issue where the event registration page was only showing month/year view and the registration form/page was not accessible.

Fixes # (Event Participation Analytics landing page accessibility and functionality)

Related PRS (if any):

This frontend PR implements the complete Event Participation Analytics landing page as specified in the requirements.

Main changes explained:

  • Fixed routing in src/routes.jsx to make /communityportal/reports/participation accessible
  • Converted to CSS modules for all participation components:
    • MyCases.jsx → uses MyCases.module.css
    • DropOffTracking.jsx → uses Participation.module.css
    • NoShowInsights.jsx → uses Participation.module.css
  • Created comprehensive analytics dashboard with new components:
    • EventParticipationHeader.jsx - Header with navigation and event metrics summary
    • EngagementSummaryCards.jsx - Key performance indicator cards
    • EventTypePieChart.jsx - Pie chart for event type popularity visualization
    • EngagementBarChart.jsx - Bar chart for monthly engagement trends
    • AnalyticsNavigation.jsx - Navigation links to detailed analytics sub-pages
  • Added four new analytics sub-pages with functional dropdowns:
    • VirtualVsInPerson.jsx - Compare virtual vs in-person attendance patterns
    • EventValue.jsx - Analyze estimated event value and ROI calculations
    • ParticipationTrends.jsx - Track participation growth over time
    • EventPerformance.jsx - Detailed individual event performance metrics
  • Created CSS modules with dark mode support:
    • Participation.module.css - Main styles for all participation components
    • MyCases.module.css - Specific styles for MyCases component
  • Implemented functional dropdowns with dynamic data filtering for all analytics pages

How to test:

  1. Check into current branch kanishk_design_the_landing_page_analytics_eventPopularity
  2. Run npm install to install dependencies
  3. Run npm start to start the app locally
  4. Clear site data/cache
  5. Log in as any user
  6. Navigate to /communityportal/reports/participation
  7. Verify the landing page loads with all sections:
    • Header with navigation and metrics summary
    • Engagement summary cards
    • Pie chart and bar chart visualizations
    • Analytics navigation section
  8. Test navigation links to sub-pages:
    • Virtual vs. In-Person Attendance
    • Estimated Event Value
    • Participation Trends
    • Event Performance Metrics
  9. Test dropdown functionality on each sub-page to ensure data changes dynamically
  10. Test dark mode toggle to verify all components support theme switching

Screenshots or videos of changes:

Screenshot 2025-10-03 at 7 54 44 PM Screenshot 2025-10-03 at 7 58 45 PM

Note:

  • All components use CSS modules for better maintainability and to prevent class name collisions
  • Mock data is used for demonstration purposes and should be replaced with real API data
  • Dropdowns are fully functional with dynamic data filtering
  • All navigation links are working and properly routed
  • The page serves as a central hub for accessing event participation data and analytics

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 4, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 9e779e7
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6941b3054ab65c0008ca099a
😎 Deploy Preview https://deploy-preview-4162--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.

@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 Oct 7, 2025
@sumedhkumar96 sumedhkumar96 self-requested a review October 9, 2025 00:38
Copy link
Copy Markdown
Contributor

@sumedhkumar96 sumedhkumar96 left a comment

Choose a reason for hiding this comment

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

Followed the instructions provided by the developer and verified all functionalities as stated:

1. Landing Page

✅ Header with navigation and metrics summary
header and summary

✅ Engagement summary cards
header and summary

✅ Pie chart and bar chart visualizations
piechart

✅ Analytics navigation section
analytics navigation section

2. Navigation Links to Sub-Pages

✅ Virtual vs. In-Person Attendance
virtual

✅ Estimated Event Value
estimated

✅ Participation Trends
participation

✅ Event Performance Metrics
event

3. Dropdown Functionality

✅ Verified that dropdowns on each sub-page dynamically update the displayed data

4. Dark Mode Toggle

❌ Tested dark mode toggle, some fonts do not fully support theme switching
Screenshot 2025-10-08 162618
Screenshot 2025-10-08 171845
Screenshot 2025-10-08 172022

Copy link
Copy Markdown

@Aswin20010 Aswin20010 left a comment

Choose a reason for hiding this comment

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

Tested the landing page at /communityportal/reports/participation and verified that all sections — header, summary cards, charts, and navigation to sub-pages — load and function correctly. Dropdowns work as expected, and data updates dynamically across views.
However, in dark mode, the font contrast is low, making text and labels less visible in several areas. Functionality is solid, but readability needs improvement. Please enhance text contrast for better visibility before merging.

Screenshot 2025-10-15 at 1 10 54 PM Screenshot 2025-10-15 at 1 11 05 PM Screenshot 2025-10-15 at 1 11 19 PM

Copy link
Copy Markdown
Contributor

@Aditya-gam Aditya-gam left a comment

Choose a reason for hiding this comment

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

  • Tested the changes mentioned in this PR. All the links and pages work correctly and are visually readable in light mode.
  • In dark mode, some of the titles and labels on the charts are dark-colored, making them difficult to see.
  • The three-button links have no backlinks to the landing page.
TestVideo.mov

…ytics

- Fixed dark mode text contrast across all components (cards, charts, tables)
- Improved hover states for dark mode (no more white backgrounds)
- Fixed dark mode horizontal stretching on sub-pages (100% viewport width)
- Left-aligned main heading on landing page for better alignment
- Enhanced readability with proper color contrast in dark mode
- Fixed backlink button visibility in light mode
- Ensured all content remains centered while dark background stretches full width
@sonarqubecloud
Copy link
Copy Markdown

@kanishkagarwal6101
Copy link
Copy Markdown
Contributor Author

Thank you for the feedback everyone some things miss the eyes, but I have made sure to fix the issues outlined by you all. Please review the pages again and approve if all looks good!

Aditya-gam
Aditya-gam previously approved these changes Nov 20, 2025
Copy link
Copy Markdown
Contributor

@Aditya-gam Aditya-gam left a comment

Choose a reason for hiding this comment

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

  • Tested the changes mentioned in this PR. All links and pages work correctly and are visually readable in light mode.
Image
  • In dark mode, all titles and labels on the charts are now clearly readable with proper contrast.
  • The comprehensive dark mode CSS fixes ensure that chart legends, axis labels, bar labels, and all text elements have sufficient contrast against the dark background.
Image
  • All analytics sub-pages (Virtual vs. In-Person Attendance, Estimated Event Value, Participation Trends, and Event Performance Metrics) now include backlinks to the participation landing page, improving navigation flow.
Image

Testing:

Verified functionality across all pages:

  • Landing page loads with all sections (header, engagement cards, charts, navigation)
  • All four analytics sub-pages are accessible and functional
  • Dropdown filters work correctly with dynamic data updates
  • Dark mode toggle works properly throughout all components
  • Navigation links function as expected

Test video demonstrating the functionality:

TestVideoUpdate.mov

Note:

  • You should remove yarn.lock from the commit so there are no merge conflicts with development.

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 Kanishk,

I have reviewed your PR locally and most of the functionalities do work as per requirement but there are a few misses in the dark mode (point 1,2,3,4,5) and one in light mode(point 4):
In Estimated Event Value Analysis - The word Value in Monthly Value Trends overlaps the X-axis and the title and there is no data label for Y axis
Screenshot 2025-12-03 at 8 51 26 PM
In Participation Trends Analysis - The word Attendance in Monthly Participation Trends overlaps the title and there is no data label for Y axis
Screenshot 2025-12-03 at 8 51 48 PM
On the dashboard - The word Attendance in Monthly Engagement Trends overlaps the title
Screenshot 2025-12-03 at 8 52 07 PM
In Event Performance Metrics - When the Upcoming Events dropdown is selected in the Filter Events - the dates do not co-relate to the current system date
Screenshot 2025-12-03 at 8 52 52 PM
On the dashboard - In Upcoming Events - When selected filters that also show the words "More" and "Show Less" - their text color is black and does not correlate to dark mode
Screenshot 2025-12-03 at 8 53 01 PM
Screenshot 2025-12-03 at 8 53 50 PM

- Add dark mode styling for 'Drop-off rate' and 'No-show rate' text in DropOffTracking component
- Fix duplicate CSS selectors to resolve stylelint errors
- Fix CSS syntax error (extra closing brace)
- Ensure text is visible in dark mode with proper color contrast
- Resolved yarn.lock merge conflict by accepting development version and regenerating
- Merged latest changes from development branch
@kanishkagarwal6101
Copy link
Copy Markdown
Contributor Author

Hello All, I have made the fixes as per the feedback and i re-request your review again, please and thank you

Copy link
Copy Markdown

@debadyuti23 debadyuti23 left a comment

Choose a reason for hiding this comment

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

Hi @kanishkagarwal6101 after landing the webpage, these are my observations in the video shown below.

PR_4162.mp4

In short:

  1. every functionality is working
  2. in dark mode some boxes dont render with appropriate color. Here's a screenshot of the broken dark mode
PR_4227_dark_mode_bug Therefore would request to resolve this bug since other reviewers are also having issues with dark mode

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 Kanishk, great work with the page. All functionality except dark mode is working great. My video below of the run through showcases this as well as highlights the issues with the dark mode toggle. Some of the dark mode toggle issues are: The boxes for no-show rate insights and Drop off and now show rate tracking.

Video of my run-through highlighting the issues: https://www.dropbox.com/scl/fi/hexzbsxh9am08co8u3i74/PR-4162-Recording.mov?rlkey=72bphz7hje7vlhghuyzhrmhlw&st=6b8i756k&dl=0

@sonarqubecloud
Copy link
Copy Markdown

@kanishkagarwal6101
Copy link
Copy Markdown
Contributor Author

Hello all, I have fixed the dark mode caveats please re review the pr. Your feedback helps a lot thank you.

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 Kanishk,

I have re-reviewed the PR locally and all the errors i have pointed appear to be fixed except i could not test The Show More or Show Less probably due to the counts of event being less.
Screenshot 2025-12-16 at 10 10 50 PM
Screenshot 2025-12-16 at 10 11 17 PM
Screenshot 2025-12-16 at 10 11 28 PM
Screenshot 2025-12-16 at 10 12 19 PM
Screenshot 2025-12-16 at 10 13 20 PM

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 Kanishk,

Well done on the fix. Dark mode issues are rectified.

PR 4162 Screenshot PR 4162 Screenshot 2

Copy link
Copy Markdown

@Vikas-8055 Vikas-8055 left a comment

Choose a reason for hiding this comment

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

Hi Kanishk,
I have thoroughly tested this PR locally and all functionalities work as expected. The landing page loads correctly with all sections (header, engagement cards, charts, and navigation links). All sub-pages (Virtual vs. In-Person, Event Value, Participation Trends, Event Performance) navigate properly and display data correctly. Dropdown filters work smoothly and update data dynamically. Dark mode implementation is excellent - all text, charts, and labels have proper contrast and are clearly readable with no overlap issues. Responsive design adapts well to different screen sizes. Overall, the analytics dashboard is clean, intuitive, and fully functional.

Screenshot 2026-01-08 at 2 00 53 PM Screenshot 2026-01-08 at 2 01 00 PM Screenshot 2026-01-08 at 2 01 11 PM Screenshot 2026-01-08 at 2 01 23 PM Screenshot 2026-01-08 at 2 01 54 PM

Copy link
Copy Markdown
Contributor

@Shravan-neelamsetty Shravan-neelamsetty left a comment

Choose a reason for hiding this comment

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

Hi Kanishk, I tested this PR locally by navigating to /communityportal/reports/participation and verified all the functionalities. The landing page loads correctly with all sections including the header, engagement summary cards, pie chart, bar chart visualizations, and analytics navigation. All four sub-pages (Virtual vs. In-Person Attendance, Estimated Event Value, Participation Trends, and Event Performance Metrics) are accessible and working properly. The dropdown filters work smoothly and update data dynamically. Dark mode implementation looks good with proper text contrast across all pages and charts. Backlinks to the landing page are working as expected.

Screenshot 2026-01-08 at 5 37 11 PM Screenshot 2026-01-08 at 5 37 20 PM Screenshot 2026-01-08 at 5 37 47 PM Screenshot 2026-01-08 at 5 37 56 PM Screenshot 2026-01-08 at 5 38 07 PM

Copy link
Copy Markdown

@Ganesh112001 Ganesh112001 left a comment

Choose a reason for hiding this comment

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

Hi Kanishk, I tested this PR locally following the provided steps and verified that all functionality works perfectly as intended. After checking out the kanishk_design_the_landing_page_analytics_eventPopularity branch, installing dependencies, and starting both servers, I navigated to /communityportal/reports/participation and confirmed the landing page is now fully accessible with all components rendering correctly. The comprehensive analytics dashboard displays beautifully with the header showing event metrics summary, engagement summary KPI cards, pie chart for event type popularity, bar chart for monthly engagement trends, and navigation links to all four sub-pages. I thoroughly tested each sub-page (Virtual vs. In-Person Attendance, Estimated Event Value, Participation Trends, and Event Performance Metrics) and verified that all functional dropdowns work smoothly with data updating dynamically based on selections. The CSS modules conversion is clean with consistent styling across all components, and dark mode support works flawlessly across every page with proper contrast and theme adaptation. No console errors were observed during testing, and the routing fix successfully makes the page accessible via direct URL. This is a comprehensive and polished implementation that successfully resolves the urgent accessibility issue while delivering a complete, professional analytics solution. Everything functions perfectly and is ready for merge.
Screenshot 2026-01-10 at 7 08 59 PM
Screenshot 2026-01-10 at 7 10 42 PM

Screenshot 2026-01-10 at 7 11 06 PM

@abhinav-TB
Copy link
Copy Markdown
Member

Hi Kanishk, I am reviewed you PR and everything works well as expected.

image image

Copy link
Copy Markdown
Contributor

@saitejakaasoju saitejakaasoju left a comment

Choose a reason for hiding this comment

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

Hi Kanishk,
I tested the landing page at /communityportal/reports/participation and confirmed that all major sections—including the header, summary cards, charts, and navigation to analytics sub-pages—load and function as expected. The dropdowns behave correctly, and the data updates dynamically across different views. Overall, I’ve reviewed your PR and everything works well as intended.
PR-4162
PR-4162-1
PR-4162-2
PR-4162-3

Copy link
Copy Markdown

@roshini1212 roshini1212 left a comment

Choose a reason for hiding this comment

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

Tested the landing page at /communityportal/reports/participation—all sections load correctly: header with metrics, engagement cards, pie/bar charts, and analytics navigation. Navigation to sub-pages (Virtual vs. In-Person, Event Value, Trends, Metrics) works, dropdowns update data dynamically, and all components support light/dark mode switching perfectly.

Image Image

@maithili20
Copy link
Copy Markdown
Contributor

Hi @kanishkagarwal6101
Everything seems to work fine in both light and dark mode. The links to detailed analytics work fine and also the drop downs on those respective pages. The page is responsive as well.
Screenshot 2026-02-09 at 6 41 39 PM
Screenshot 2026-02-09 at 6 41 47 PM
Screenshot 2026-02-09 at 6 42 43 PM
Screenshot 2026-02-09 at 6 42 59 PM
Screenshot 2026-02-09 at 6 43 27 PM

@Vishnu10-hub
Copy link
Copy Markdown

  • Ran both backend and frontend locally
  • Logged in and opened the participation analytics page
  • Landing page loaded correctly
  • All sections and navigation tabs are visible
  • Sub-pages open properly
  • Dropdown filters are working
  • Charts update based on selected options

No UI or functional issues observed
Screenshot 2026-02-27 at 17 30 25
Screenshot 2026-02-27 at 17 30 32
Screenshot 2026-02-27 at 17 30 46

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.

Virtualized scrolling if events grow large.
PR #4162

Copy link
Copy Markdown
Contributor

@ManojPuttaswamy ManojPuttaswamy left a comment

Choose a reason for hiding this comment

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

Landing page loads fine with all sections, navigation links are working as expected, UI looks fine in dark mode.

Suggestion: Using a plain tag causes a full page reload instead of a client-side navigation. Use React Router, and also using array index as key is an anti-pattern. Since navigationItems has stable titles, key={item.title} would be more appropriate.

Screenshot 2026-03-16 at 9 08 17 PM Screenshot 2026-03-16 at 9 09 32 PM Screenshot 2026-03-16 at 9 10 01 PM

@SharadhaKasiviswanathan
Copy link
Copy Markdown
Contributor

Tested the initial/default flow and everything else looks fine from my side. The only issue I found is in the Virtual vs In-Person Attendance page:
In the default 6-month view, the Growth Rate row shows '+18%' for Virtual and '+8%' for In-Person, but the winner is rendered as In-Person. This looks like the percentages are being compared as strings instead of numbers.
I think the growth values could be parsed to numbers before comparing them so the winner is calculated correctly.
Screenshot 2026-03-29 at 6 35 50 AM

@one-community one-community changed the title Kanishk: Implement Event Participation Analytics landing page with functional dropdowns and CSS modules Vikas taking over for Kanishk: Implement Event Participation Analytics landing page with functional dropdowns and CSS modules Apr 5, 2026
Copy link
Copy Markdown

@rajanidi1999 rajanidi1999 left a comment

Choose a reason for hiding this comment

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

Hi,
I have tested your PR and its running successfully
Image
Image

rithika-paii
rithika-paii approved these changes Apr 21, 2026
Copy link
Copy Markdown

@rithika-paii rithika-paii left a comment

Choose a reason for hiding this comment

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

Hi Vikas,

I reviewed this PR #4162 and tested the changes locally in both light and dark modes, as well as across different screen sizes. The functionality works as expected, and I did not encounter any issues during testing.

Approved from my end.

PR.4162.-.approved.mov

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.