xuang7 opened a new issue, #7527:
URL: https://github.com/apache/texera/issues/7527

   ### Feature Summary
   
   Step 9 of the operator demo video generator wires all previous components 
together into a runnable tool.
   
   The previous steps added the pieces (the automation layer, the controllers, 
the config framework, and the demo data) but nothing calls them. This step adds 
the generator that turns demo data into per-operator scripts, the runner that 
executes a script and records it, and the command that drives both. This is the 
step that makes the feature usable.
   
   ### Proposed Solution or Design
   
   Add the components needed to make the operator demo video generator runnable.
   
   1. OperatorScriptGenerator: 
   Generates one script per operator from its metadata and sample values. It 
decides which workflow template to use, how to connect the operator, and 
whether dataset or code-editor steps are needed.
   
   `sbt "Docs/runMain org.apache.texera.docs.scripts.OperatorScriptGenerator"`
   
   2. VideoRunner
   Runs each generated script in Playwright, manages the browser session, 
records the demo video, and saves debugging information if a run fails.
   
   3. VideoGeneratorMain
   Provides the CLI entry point and supports generating videos for all 
operators, a single operator, or one operator group.
   
   ```
   sbt "Docs/runMain org.apache.texera.docs.VideoGeneratorMain --names=BarChart"
   sbt "Docs/runMain org.apache.texera.docs.VideoGeneratorMain 
--group=Visualization"
   ```
   
   4. Contributor guide
   Add documentation for running the generator and validator, adding a new 
operator demo, and setting up the required local environment.
   
   ### Affected Area
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to