chore(viz): phase 0 — remove orphaned viz.py classes and nvd3 BoxPlot leftovers - #41715
Conversation
|
Bito Automatic Review Skipped - Branch Excluded |
…vers MapboxViz, MapLibreViz, and EventFlowViz have no registered frontend: mapbox charts were migrated to point_cluster_map (which has its own buildQuery) by revision ce6bd21901ab, and event_flow's frontend was removed long ago. Removing MapLibreViz also lets point_cluster_map charts warm their cache through the v1 query-context path instead of the legacy get_viz path. The nvd3 BoxPlot directory contained only unregistered story leftovers; the ECharts BoxPlot replaced it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bfc972a to
75c210e
Compare
|
The flagged issue is correct. Adding a gitlink (subproject pointer) for a local worktree path that is not declared in Based on the provided diff, the entry .gitignore |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## remove-legacy-viz-pipeline #41715 +/- ##
=============================================================
Coverage ? 64.62%
=============================================================
Files ? 2684
Lines ? 148431
Branches ? 34249
=============================================================
Hits ? 95930
Misses ? 50739
Partials ? 1762
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
… leftovers (#41715) Co-authored-by: Claude Code <noreply@anthropic.com>
SUMMARY
Phase 0 of #41714 (targets the
remove-legacy-viz-pipelinefeature branch): delete dead legacy-viz code that needs no migration.superset/viz.py: removeMapboxViz,MapLibreViz,EventFlowViz(−204 lines). None has a registered frontend:mapboxsaved charts were migrated topoint_cluster_mapby revisionce6bd21901ab, thepoint_cluster_mapfrontend plugin has its own modernbuildQuery, andevent_flow's frontend was removed years ago. Bonus: withMapLibreVizgone,point_cluster_mapcache warm-up flows through the v1 query-context path instead of legacyget_viz.legacy-preset-chart-nvd3/src/BoxPlot/: remove leftover story files — the sub-plugin is unregistered (not exported, not in MainPreset) and was superseded by the ECharts BoxPlot.plugins/legacy-preset-chart-deckgl/turned out to contain zero tracked files — just a stale localnode_modules/husk.)BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — dead code removal only.
TESTING INSTRUCTIONS
ruff check superset/viz.pypasses; no repo references to the removed classes remain (grep -rn "MapboxViz\|MapLibreViz\|EventFlowViz").pytest tests/unit_tests/test_viz_get_df_payload.py tests/unit_tests/test_viz_cache_key.pypasses.ADDITIONAL INFORMATION
🤖 Generated with Claude Code