add export programming language Typescript#22
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds TypeScript as a supported programming-language export format (closing #19), including UI integration, conversion logic, tests, and documentation.
Changes:
- Introduces a new
TypeScriptConvertor+TypeScriptConvertorOptionsand wires it into the exporter + file type mapping. - Adds a dedicated TypeScript options panel and integrates TypeScript into the “Code” UI group (tabs + generator page).
- Adds Jest tests for the convertor and options panel, plus new TypeScript documentation pages and a blog update.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/utils/options-typescript-panel.test.js | Adds UI tests for the new TypeScript options panel. |
| tests/generator/data-generator-page.test.js | Updates generator tests to expect TypeScript in the “Code” optgroup. |
| tests/data_formats/typescript-convertor.test.js | Adds unit tests for TypeScript export formatting and option behaviors. |
| js/gui_components/tabbed-text-control.js | Adds TypeScript as a “Code” subtab entry. |
| js/gui_components/options_panels/options-typescript-panel.js | Implements the TypeScript options panel UI and option serialization. |
| js/gui_components/import-export-controls.js | Registers the TypeScript options panel in the import/export UI. |
| js/gui_components/data-generator-page.js | Adds TypeScript to generator output formats and registers its options panel. |
| js/grid/exporter.js | Registers TypeScript convertor + default options in the exporter. |
| js/data_formats/typescript-convertor.js | Implements TypeScript export conversion logic and option handling. |
| js/data_formats/file-types.js | Adds .ts file extension mapping for TypeScript. |
| docs-src/docs/030-data-formats/typescript/options.md | Documents TypeScript export options. |
| docs-src/docs/030-data-formats/typescript/010-typescript.md | Adds TypeScript data format documentation page. |
| docs-src/blog/2026-04-28-more-programming-language-exports.md | Updates release blog draft to include TypeScript export. |
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 #19