Risheit opened a new pull request, #36323: URL: https://github.com/apache/superset/pull/36323
<!--- Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/ Example: fix(dashboard): load charts correctly --> ### SUMMARY <!--- Describe the change below, including rationale and design decisions --> This PR updates the existing on-hover tooltip for country map charts, bringing it to visual parity with the hover tooltip found in the world map chart, and fixing a visual bug where the tooltip text could be obscured by similarly coloured regions on the map itself. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> #### Hover over a full map **Before:** <img width="648" height="653" alt="Screenshot 2025-11-28 at 2 52 37 AM" src="https://github.com/user-attachments/assets/9bf575ea-2618-4fa3-bfea-fef723b41dff" /> **After:** https://github.com/user-attachments/assets/97fb8590-e786-4af6-8c2a-7c44480a464c #### Hover over an expanded map region **Before:** <img width="682" height="565" alt="Screenshot 2025-11-28 at 2 53 05 AM" src="https://github.com/user-attachments/assets/d8b98a0d-22c8-4514-8bfa-4a5c0bd561cd" /> **After:** https://github.com/user-attachments/assets/b9223fd9-2e99-4cae-8089-936fb3f32b5d ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> 1. Create a country map chart. 2. Verify that the hover tooltip displays under and moves along with the mouse cursor, and shows the correct region name and data. 4. Click on a region on the map to enlarge to it. 5. Verify that the hover tooltip continues to work identically as in step 2. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [x] Has associated issue: #28458 - [ ] Required feature flags: - [x] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
