Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samchon
Copy link
Owner

@samchon samchon commented Aug 10, 2025

This pull request introduces support for customizable TypeScript transform options in the playground UI, allowing users to adjust transformation settings through a new modal dialog. It also refactors the compiler service interface and related code to handle these options throughout the compile/transform/bundle flow. Additionally, it renames the output viewer component for clarity and updates dependencies.

Support for customizable transform options in the playground:

  • Added a new OptionsModal component (OptionsModal.tsx) that lets users adjust TypeScript transform options (finite, numeric, functional, undefined) via a UI dialog. This modal is integrated into the playground and can be opened with a settings button. [1] [2] [3]
  • Updated the playground state and logic to store and propagate ITransformOptions, ensuring that compile and transform actions use the selected options. [1] [2]

Refactoring of compiler service interface and usage:

  • Refactored ICompilerService to accept a props object containing both source and optional options, and renamed output types from IOutput to IResult for clarity. All calls to the compiler service now use this new interface. [1] [2] [3] [4] [5] [6]

Component renaming and code clarity:

  • Renamed the OutputViewer component to ResultViewer for improved clarity and updated all references accordingly. [1] [2] [3] [4]

Dependency updates:

  • Bumped the typedoc dependency from 0.28.8 to 0.28.9 in package.json.

@samchon samchon requested a review from Copilot August 10, 2025 15:38
@samchon samchon self-assigned this Aug 10, 2025
@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces customizable TypeScript transform options to the playground website, allowing users to configure transformation settings through a UI dialog. The changes enable users to adjust options like finite, numeric, functional, and undefined validation behaviors directly from the playground interface.

  • Adds a new OptionsModal component with UI controls for transform options
  • Refactors the compiler service interface to accept options alongside source code
  • Renames OutputViewer to ResultViewer for better clarity

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
website/src/movies/PlaygroundMovie.tsx Integrates options modal, updates state management for transform options, and refactors compiler service calls
website/src/components/playground/ResultViewer.tsx Renames component from OutputViewer to ResultViewer
website/src/components/playground/OptionsModal.tsx New modal component for configuring transform options with form controls
website/src/compiler/index.ts Updates compiler service implementation to accept and use transform options
website/src/compiler/ICompilerService.ts Refactors interface to use props object and renames output types
website/package.json Bumps typedoc dependency version

@samchon samchon merged commit ffeb7bb into master Aug 10, 2025
4 of 5 checks passed
@samchon samchon deleted the feat/playground-options branch August 10, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants