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

   ### SUMMARY
   When using metric-based (sequential) coloring in the World Map chart, 
`colorFn(d.m1)` can return `null` or `undefined` for certain data values, 
causing countries to render without a fill color. This adds a nullish 
coalescing fallback to `theme.colorBorder`, consistent with the `defaultFill` 
used elsewhere in the component.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A - visual bug fix where countries with null color values now correctly 
fall back to the default border color.
   
   ### TESTING INSTRUCTIONS
   1. Create a World Map chart with a metric-based (sequential) color scheme
   2. Include data where some country metric values may produce null from the 
color scale
   3. Verify all countries render with a visible fill color (previously some 
would appear without fill)
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] 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
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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