rusackas opened a new pull request, #34524:
URL: https://github.com/apache/superset/pull/34524

   ### SUMMARY
   Fixes #28458 - The Country Map tooltip was not readable as it displayed 
information in fixed text elements at the top of the chart instead of a proper 
tooltip that follows the mouse cursor like the World Map does.
   
   This PR implements a proper mouse-following tooltip for the Country Map 
visualization with improved styling for better readability.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   **Before:** 
   - Tooltip information appeared as fixed text at the top of the chart
   - Poor contrast and readability
   - Did not follow mouse position
   
   **After:**
   - Tooltip follows mouse cursor
   - Dark background with white text for high contrast
   - Smooth transitions on show/hide
   - Consistent with World Map tooltip behavior
   
   ### TESTING INSTRUCTIONS
   1. Create a Country Map chart with any dataset
   2. Hover over different regions on the map
   3. Verify that:
      - A tooltip appears near the mouse cursor
      - The tooltip has a dark background with white text
      - The tooltip shows the region name and metric value
      - The tooltip follows the mouse as you move within a region
      - The tooltip disappears when you move the mouse off a region
   4. Click on a region to zoom in and verify tooltips still work correctly
   
   ### ADDITIONAL INFORMATION
   - [x] Has associated issue: Fixes #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]

Reply via email to