xuang7 opened a new pull request, #7594:
URL: https://github.com/apache/texera/pull/7594
### What changes were proposed in this PR?
This PR adds the foundation for an operator demo video generator: a
Playwright-based
tool that records a short demo video per operator, to be linked from the
operator docs under `docs/reference/operators/`.
Changes:
- A new `DemoVideoGenerator` sbt module at `docs/operator-demo-videos/` with
the Playwright dependency. It is standalone — it compiles without the rest
of the build.
- The automation abstractions the tool is built from: fluent builders that
accumulate named steps (`ControllerBuilder`/`ControllerStep`), a two-phase
per-operator script trait (`prepare` = unrecorded scaffolding, `execute` =
the recorded demo), and a fake on-screen cursor so recordings show where
the automation is clicking.
- Adds the recording configuration in `TestDataConfig` (base URL, viewport
and video size, pacing, output directory); later PRs will add more defaults
such as the datasets and template workflows.
- Excludes `docs/operator-demo-videos/` from the docs-to-website sync
workflow: the module is build tooling, not docs content, so its sources are
never published to the website and module-only pushes do not trigger a
site sync.
Follow-up PRs add the UI controllers (login, navigation, drag-and-connect,
form filling, execution), per-operator sample values, and the generator and
runner that make the tool runnable end-to-end.
### Any related issues, documentation, discussions?
Closes #7519
### How was this PR tested?
No behavior change to any existing module. `sbt DemoVideoGenerator/compile`,
`scalafmtCheck`, and `scalafix --check` all pass.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]