rusackas commented on code in PR #42910:
URL: https://github.com/apache/superset/pull/42910#discussion_r4404341997
##########
superset/mcp_service/chart/chart_utils.py:
##########
@@ -3822,6 +3829,9 @@ def merge_bullet_form_data(
"marker_labels",
"marker_lines",
"marker_line_labels",
+ # Explore-only per-band colors; the typed config does not model them,
+ # so keep them as opaque saved state across MCP updates.
+ "range_colors",
Review Comment:
Good catch @sadpandajoe. Replacing `ranges` without `range_colors` now
resets `range_colors` to `[]`, with a test covering both the reset and the
omitted-ranges preserve case.
--
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]