feat: enhance map popups with dropdown menus and API links#71
Merged
fityannugroho merged 3 commits intomainfrom Aug 25, 2025
Merged
feat: enhance map popups with dropdown menus and API links#71fityannugroho merged 3 commits intomainfrom
fityannugroho merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the map popup experience by introducing dropdown menus for both island markers and area popups, providing better organization of actions and adding API data access links.
- Added dropdown menus to consolidate actions in popups for better UX
- Integrated API data links for direct access to area and island data endpoints
- Improved popup styling with consistent button layouts and proper width constraints
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| modules/MapDashboard/PopupArea.tsx | Redesigned area popups with dropdown menu containing copy link and Google Maps actions, plus new API data button |
| modules/MapDashboard/IslandMarkers.tsx | Complete redesign of island markers with dropdown menu for coordinate copying and Google Maps, plus API data button |
| app/globals.css | Fixed link color inheritance in leaflet containers to prevent styling conflicts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Features
Enhanced Map Popup Actions
🎨 UI/UX Improvements
Island Markers
Area Popups
🛠️ Technical Changes
Component Updates
modal={false}to prevent unwanted modal behavior in map contextonCloseAutoFocusprevention for better map interactionStyling Fixes
!importantoverride🔧 Dependencies
DropdownMenu,ButtonMoreVerticalIcon,ExternalLinkIcon,ClipboardIconconfigandendpointsfrom lib📱 User Experience
🧪 Testing