Skip to content

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

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

ggdaltoso wants to merge 5 commits into
superdoc:v1from
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!)

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

Copy link
Copy Markdown

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
ggdaltoso force-pushed the feat/register-chart-feature-module branch 3 times, most recently from 132b52e to ffc85c5 Compare June 5, 2026 23:33
@ggdaltoso
ggdaltoso force-pushed the feat/register-chart-feature-module branch from ffc85c5 to 7f8ba18 Compare June 10, 2026 18:54
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 7f8ba18 to 491f868 Compare June 23, 2026 18:14
@caio-pizzol caio-pizzol self-assigned this Jul 14, 2026
@caio-pizzol

Copy link
Copy Markdown
Contributor

Thanks for the thoughtful contribution, Gabriel! Making the chart renderer easier to discover is a useful DX improvement. We verified that this organization gap still exists in V2, and we’d like to carry your work forward on main through the internal mirror.

@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

superdoc-bot Bot pushed a commit that referenced this pull request Sep 13, 2026
#50)

* feat(chart): add rendering feature for DrawingML charts

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.

* feat(chart): add rendering feature module for DrawingML charts

This module renders DrawingML chart blocks as inline SVG elements, supporting various chart types with performance guardrails in place.

* feat(chart): update chart rendering import path

Updated the import path for the chart rendering function to point to the new features directory structure.

* test(chart): add smoke tests for chart feature module public API

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.

---------

Co-authored-by: ggdaltoso <ggdaltoso@gmail.com>

Ported-From-Source-Repo: superdoc/orbit
Ported-From-Source-Commit: 1851b21fb7bbd1d685a5490686d9e4c36dbdcabe
Ported-Public-Prefix: superdoc/public
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.

2 participants