Skip to content

feat(painter-dom): Register chart renderer as a feature module#3606

Open
ggdaltoso wants to merge 5 commits into
superdoc-dev:mainfrom
ggdaltoso:feat/register-chart-feature-module
Open

feat(painter-dom): Register chart renderer as a feature module#3606
ggdaltoso wants to merge 5 commits into
superdoc-dev:mainfrom
ggdaltoso:feat/register-chart-feature-module

Conversation

@ggdaltoso
Copy link
Copy Markdown

I've been studying the codebase and noticed that chart-renderer.ts was already living in its own file but wasn't registered in feature-registry.ts, unlike inline-direction and math, which follow the feature module pattern described in CLAUDE.md.

This PR wires it up. No logic was changed; just the import path in renderer.ts now goes through the feature barrel, and charts are finally discoverable via the registry.

(Genuinely impressed by how well-documented and thought-through the architecture is, btw. Learned a lot just reading through it!)

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Re-trigger cubic

ggdaltoso added 4 commits June 2, 2026 16:14
This commit introduces a new rendering feature for various types of charts in the feature registry. The new entry includes support for bar, line, stock, area, scatter, bubble, radar, pie, doughnut, and of pie charts, along with the corresponding module and specification reference.
This module renders DrawingML chart blocks as inline SVG elements, supporting various chart types with performance guardrails in place.
Updated the import path for the chart rendering function to point to the new features directory structure.
This commit introduces smoke tests to verify that all exports are correctly re-exported through the feature barrel and that the module handles every registered chart type without throwing or returning a generic placeholder. Full rendering correctness is covered by chart-renderer.test.ts.
@ggdaltoso ggdaltoso force-pushed the feat/register-chart-feature-module branch from 0f6d7c3 to 2bc2d2d Compare June 2, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant