Skip to content

Reina create interactive map showing location of projects 20#3915

Closed
ReinaT5678 wants to merge 6 commits intodevelopmentfrom
reina-create-map-showing-location-of-projects-new
Closed

Reina create interactive map showing location of projects 20#3915
ReinaT5678 wants to merge 6 commits intodevelopmentfrom
reina-create-map-showing-location-of-projects-new

Conversation

@ReinaT5678
Copy link
Contributor

Description

This PR is for the HGN Phase 2 Implementation.
Create an interactive map that shows the location of projects under the title, Global Distribution and Project Status Overview. The map was created using LeafLet.js and dots are shown as markers for various locations of TEST organizations. A date filter is implemented on the top right of the map to allow results to be filtered so the data between those days are displayed.

The interactive map is also implemented in the construction weekly project summary dashboard page.

Related PRS (if any):

This frontend PR is related to the #1342 backend PR.

Main changes explained:

  • Added a new route to bmdashboard/interactivemap
  • Implemented a Leaflet.js map with color coded markers / dots to represent test organizations around the world.
  • A date filter on the top right that filters results so only data with between those days are displayed.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to http://localhost:5173/bmdashboard/interactivemap
  6. Verify that the map is interactive and the dots are clickable
  7. Verify that the date filters work.

Screenshots or videos of changes:

Screen.Recording.2025-08-16.at.6.45.39.PM.mov

@netlify
Copy link

netlify bot commented Aug 17, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 703995b
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/68a9bab6a5e1380008e9196c
😎 Deploy Preview https://deploy-preview-3915--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.

@ReinaT5678 ReinaT5678 changed the title interactive map Reina create interactive map showing location of projects 20 Aug 17, 2025
@ReinaT5678 ReinaT5678 added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Aug 17, 2025
Copy link

@SallaguntaRaahul SallaguntaRaahul left a comment

Choose a reason for hiding this comment

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

Tested PR #3915 locally: after install and cache clear, logged in as Admin and checked /bmdashboard/interactivemap. The map pans/zooms smoothly, dots/markers are clickable with the expected details, and the date filters correctly update and reset the results. Works fine across light/dark themes and different screen sizes—no issues found.
Screenshot 2025-08-22 at 2 41 40 PM
Screenshot 2025-08-22 at 2 43 49 PM

Copy link
Contributor

@aseemdeshmukh aseemdeshmukh left a comment

Choose a reason for hiding this comment

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

Referred PR1342 and checked all the date filters which are working fine. The map works perfect along with the dots.
Looks good in dark mode too. Nice job!

Copy link
Contributor

@vishnu-ing vishnu-ing left a comment

Choose a reason for hiding this comment

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

I have reviewed the PR and all the file changes looks good. The map UI with zoom in, zoom out with markers, details and rendering looks awesome in both light and dark modes.

A minor issue was noted while applying date filter to display the markers. The marker need to be displayed only when the filter criteria matches. It is displayed when giving one day later in the filter than the actual start date. I'm attaching a video of the issue with local time stamp.

map_marker_display_date_filter_issue.mp4

A small suggestion would be to limit the max zoom out size of the map.
image

@favils favils closed this Aug 23, 2025
@favils favils deleted the reina-create-map-showing-location-of-projects-new branch August 23, 2025 17:17
@one-community one-community added Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it. do not review Do not review or look at code without full context and removed High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible labels Sep 1, 2025
@one-community one-community restored the reina-create-map-showing-location-of-projects-new branch September 1, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not review Do not review or look at code without full context Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants