Skip to content

HotFix SaiSandeep - Fix "No comparison" filter options failing in Total Org Summary Dashboard #5355

Open
saisandeepkoritala wants to merge 6 commits into
developmentfrom
hotfix_saisandeep-fix-filter-options-totalorgsummary
Open

HotFix SaiSandeep - Fix "No comparison" filter options failing in Total Org Summary Dashboard #5355
saisandeepkoritala wants to merge 6 commits into
developmentfrom
hotfix_saisandeep-fix-filter-options-totalorgsummary

Conversation

@saisandeepkoritala

@saisandeepkoritala saisandeepkoritala commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Description

HotFixed to make sure when we select a filter there is no error popping up. When users try to filter stats and compare them by week by week or month by month or year by year by selecting one of the options in dropdown , we get an blank page with error details.

Screenshot 2026-05-14 001530 Screenshot 2026-05-14 001538

Fix

Ensured the data passed onto the children component is rendered properly by handling all edge cases and made sure the code is reusable by extracting some portion of code into a function.

Related PRS :

Not Related to any other PR's

Main changes explained:

Made sure the data is rendered properly in children component

How to test:

  1. check into current branch
  2. do npm install and npm start to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to dashboard→ Reports→ Total Org Summary
  6. Verify all options in "No Comparison" are working properly

Note

Still need to work on filtering data in dashboard by selected time periods. Leaving it for next dev to take it up.

Screenshots or videos of changes:

Screenshot 2026-05-16 022543 Screenshot 2026-05-16 022536 Screenshot 2026-05-16 022528

Video

CompressedVideo.mp4

@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 2daf776
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a3a559950bfd300092354e8
😎 Deploy Preview https://deploy-preview-5355--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.

@sonarqubecloud

Copy link
Copy Markdown

@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 Jun 26, 2026

@pixelpix13 pixelpix13 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Testing Summary

Tested PR #5355 locally on the Total Org Summary page.

Verified

  • Total Org Summary page loads correctly.
  • No blank page appears when changing comparison filters.
  • No runtime errors occur while switching filters.
  • All "No Comparison" options work correctly.
  • Week-over-Week comparison works correctly.
  • Month-over-Month comparison works correctly.
  • Year-over-Year comparison works correctly.
  • Dashboard data renders correctly after changing comparison options.
  • Child components render without errors.
  • No regressions observed while testing the comparison filters.
  • No console errors related to this functionality were observed.

Total Org Summary

Image

Overall Assessment

The issue described in the PR has been resolved. Switching between the available comparison options no longer results in a blank page or rendering errors, and the dashboard updates correctly for the supported comparison modes. No issues were observed during testing.

@kzou55 kzou55 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I ran and tested the PR locally.

I can verify that the No Comparison Filter Options in are functional.

  • No Comparison
    Image

  • Week Over Week
    Image

  • Month Over Month
    Image

  • Year Over Year
    Image

@Dnagabahiru Dnagabahiru left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Retested the changes on the current branch after running npm install and npm start, clearing the browser site data/cache, and logging in as an admin user. Navigated to Dashboard → Reports → Total Org Summary and verified all the options under "No Comparison".

All the "No Comparison" options are functioning as expected, and the report updates correctly when switching between them. The page loads properly, the dashboard data renders without any issues, and no blank pages or rendering problems were observed during testing.

I also checked for any regressions and monitored the browser console throughout the verification. No runtime or console errors related to this functionality were encountered.

Image

@sundarmachani sundarmachani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR fixes the Dropdrow as expected compared to the current code in the development branch. I’ve also noticed two headers in the development branch that I assume were added when another developer resolved merge conflicts. This change also resolved the duplication of the header on the page along with the dropdown option selection.

From Developement:

Image

From this Current PR:

Image

@DeepighaJ DeepighaJ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  • Tested the PR locally.
  • In light more the Vounteer status, Activites, Global distribution & Volunteer Status Overview titles are not visible need contrast improvement.
  • Need improvement on the saved pdf.
Image Image Image

pdf:
Image

@mahathiganimi mahathiganimi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi,

I have tested these changes in my local, The functionality that this PR expects of, is working properly. However I just wanted to know if month over month, week over week, and year over year analysis is logically correct? For instance, I do not see any change in active volunteers count over years. If that is not the concern, and considering this to be mock data - Everything else looks good to me! Please confirm if that's the case.

Image Image Image

@saisandeepkoritala

Copy link
Copy Markdown
Contributor Author

Hi,

I have tested these changes in my local, The functionality that this PR expects of, is working properly. However I just wanted to know if month over month, week over week, and year over year analysis is logically correct? For instance, I do not see any change in active volunteers count over years. If that is not the concern, and considering this to be mock data - Everything else looks good to me! Please confirm if that's the case.

Image Image Image

Hi mahathiganimi thanks for testing it out. I appreciate the feedback but I did include in the notes that none of filters actually filter the data, that is something that needs to be resolved and I am leaving it for a new dev to take over. The whole dashboard is unresponsive to filters so it takes more than 1 dev to sort it out. And it's something I been working on in a new PR

@saisandeepkoritala

saisandeepkoritala commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author
  • Tested the PR locally.
  • In light more the Vounteer status, Activites, Global distribution & Volunteer Status Overview titles are not visible need contrast improvement.
  • Need improvement on the saved pdf.

Image Image Image
pdf: Image

Hi Deephiga i included a video for you above in the PR from checking into branch to testing. I didn't find any issues or any duplicate headers or css issues, please let me know if you still find any issues. If you do please send me a video of all issues from checking to branch to testing, as most of the other reviewers too didnt find any issues.

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.

8 participants