Skip to content

sumedh - bugfix: fixes global distribution map#4473

Merged
one-community merged 7 commits intodevelopmentfrom
sumedh-bugfix-global-distribution-map
Jan 23, 2026
Merged

sumedh - bugfix: fixes global distribution map#4473
one-community merged 7 commits intodevelopmentfrom
sumedh-bugfix-global-distribution-map

Conversation

@sumedhkumar96
Copy link
Copy Markdown
Contributor

@sumedhkumar96 sumedhkumar96 commented Nov 29, 2025

Description

image

Issues:

Global distribution map issue

Main changes explained:

  • Modified the EmbedInteractiveMap.jsx
  • Modified the InteractiveMap.jsx
  • Added new styles in InteractiveMap.module.css

How to test:

  1. Check into the current branch
  2. Do npm install and npm run start:local to run this PR locally
  3. Clear site data/cache
  4. Log in as Owner user
  5. Go to Dashboard -> Reports -> Total Construction Report -> Global Distribution and Project Status

Screenshots or videos of changes:

GlobalDistributionMap.mp4

Note:

None

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 29, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 0d60477
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6973f546fcbfb3000818c613
😎 Deploy Preview https://deploy-preview-4473--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.

@sumedhkumar96 sumedhkumar96 added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Nov 29, 2025
sundarmachani
sundarmachani previously approved these changes Nov 29, 2025
Copy link
Copy Markdown
Contributor

@sundarmachani sundarmachani left a comment

Choose a reason for hiding this comment

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

Reviewed this PR, and the code changes are working great. I noticed that this also fixes the data filter functionality, which wasn’t working before. Great job on that! Also, the dark mode looks good with the highlighted button.

Before:

Screenshot 2025-11-29 at 6 19 22 AM

After:

Screenshot 2025-11-29 at 6 22 58 AM

Prem203
Prem203 previously approved these changes Nov 30, 2025
Copy link
Copy Markdown
Contributor

@Prem203 Prem203 left a comment

Choose a reason for hiding this comment

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

Reviewed the PR with and owner account and the global distribution map now renders correct number of projects. The same is now reflected in dark mode as well.

image image

@sonarqubecloud
Copy link
Copy Markdown

Anusha-Gali
Anusha-Gali previously approved these changes Dec 5, 2025
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 Sumedh,

I have reviewed your PR locally and all the functionalites do work as per the requirement, though i have identified one issue which could be out of scope - when we filter dates which are not related to any projects, all the projects are still visible - even if we assume that they could be active - you can see below the projects with status completed is visible.
Screenshot 2025-12-05 at 5 08 38 PM
Screenshot 2025-12-05 at 5 08 46 PM
Screenshot 2025-12-05 at 5 11 10 PM
Issue identified
Screenshot 2025-12-05 at 5 12 00 PM

Note: Approving your PR since the issue is not a part of your requirement but do let the team managing the document know that this issue exists

@sumedhkumar96
Copy link
Copy Markdown
Contributor Author

@Anusha-Gali can you please provide an example of the dates? I will see if that can be fixed.

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.

All functionality has been tested, working well. Good Job.

PR 4473 Screenshot PR 4473 Screenshot 2 PR 4473 Screenshot 3 PR 4473 Screenshot 4

@sumedhkumar96 sumedhkumar96 changed the title sumedh-bugfix: fixes global distribution map sumedh - bugfix: fixes global distribution map Jan 4, 2026
@Anusha-Gali
Copy link
Copy Markdown

@Anusha-Gali can you please provide an example of the dates? I will see if that can be fixed.

Hi Sumedh,

Below video shows you two different scenarios. The first being me selecting a timeframe before the start of Test Project Alpha, still i can see that project. I have attached screenshot for Test Project Beta too wherein i have selected start date way before the project's but still all are visible even the one's that started in 2025. The second scenario if i selected the same start and end data still all project's are visible. Attached screenshot for Test Project Beta too.

sumedh.mov
Screenshot 2026-01-03 at 11 52 17 PM Screenshot 2026-01-03 at 11 55 03 PM

@sumedhkumar96
Copy link
Copy Markdown
Contributor Author

sumedhkumar96 commented Jan 10, 2026

@Anusha-Gali thanks for sharing a detailed info the date filtering issue. Apparently the project have End Date along with the Start Date and it was not displayed in the UI, so it looked like it was filtering out the wrong data. I have verified the date filter logic and also have made changes to the UI to display both start and end dates of the projects. Now the date filters display all the projects that fall within the date range i.e., it could have start date or end date or both in the given range. Also you might see the UI has changed a bit, that is because somebody else had worked on the same code changed the appearance a bit. I have attached a screen recording below for your reference. Thanks!

GlobalDistributionMap.mp4

Anusha-Gali
Anusha-Gali previously approved these changes Jan 15, 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 Sumedh,

Appreciate your update. I have re-reviewed your PR locally and it works as expected.
Screenshot 2026-01-15 at 6 46 02 PM
Screenshot 2026-01-15 at 6 47 09 PM
Screenshot 2026-01-15 at 6 47 50 PM

@beblicarl
Copy link
Copy Markdown
Contributor

This feature worked as intended and the code is great

image

@beblicarl beblicarl self-requested a review January 23, 2026 13:47
beblicarl
beblicarl previously approved these changes Jan 23, 2026
@sumedhkumar96 sumedhkumar96 dismissed stale reviews from beblicarl and Anusha-Gali via 0d60477 January 23, 2026 22:25
@sonarqubecloud
Copy link
Copy Markdown

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 6c20cfd into development Jan 23, 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