Add Python export options and docs#18
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Python as a first-class “code” export format across the app UI, generator UI, exporter pipeline, tests, and documentation (Closes #14).
Changes:
- Implement Python export convertor + options model, and wire it into
Exporter/file types. - Add Python options panel and surface Python in the app “Code” tab + generator “-- Code --” export group.
- Add Python-focused tests and new documentation pages/blog post.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/utils/options-python-panel.test.js | Adds unit tests for the new Python options panel UI bindings. |
| tests/data_formats/python-convertor.test.js | Adds unit tests for Python export formatting and option behaviors. |
| js/gui_components/tabbed-text-control.js | Adds Python as a “Code” subtab alongside JavaScript. |
| js/gui_components/options_panels/options-python-panel.js | Implements the Python export options panel UI. |
| js/gui_components/import-export-controls.js | Registers the Python options panel in the main app export controls. |
| js/gui_components/data-generator-page.js | Adds Python to generator options panels and groups code exporters under a “-- Code --” optgroup. |
| js/grid/exporter.js | Registers Python options + convertor in the exporter pipeline. |
| js/data_formats/python-convertor.js | Introduces Python export logic and option handling. |
| js/data_formats/file-types.js | Adds .py file extension mapping for Python exports. |
| docs-src/docs/030-data-formats/python/options.md | Adds documentation for Python export options. |
| docs-src/docs/030-data-formats/python/010-python.md | Adds documentation overview for the Python data format export. |
| docs-src/blog/2026-04-28-more-programming-language-exports.md | Adds a draft release blog post announcing language-style exports + Python. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14