How windmill-labs/windmill-whitelabelling-react-webpack works
This repository is a React whitelabel demo for Windmill’s private React SDK, rather than the SDK implementation itself. A user logs in, selects a workspace and component, then works in a builder or editor; the host app loads paths and reflects component callbacks. The README also documents viewer, status, and history components not visible in the sampled app wiring, so they are represented as SDK capabilities without asserting internal call paths. Source evidence is limited to the supplied tree and excerpts.
Main entry points: App.js Demo app · index.js React entry · [[path]].ts API proxy worker · ScriptEditor.js Script editor
Components 14
Host app
- React entry
src/index.js - Demo app
src/App.js
Authoring components
- Flow builder
src/App.js - Script builder
src/App.js - Script editor
src/ScriptEditor.js - Schema editor
src/SchemaEditor.js - Resource editor
src/ResourceEditor.js - App editor
src
Viewing components
- Flow viewer
src - Flow status
src - Flow history
src
Backend integration
- Windmill service
- API proxy worker
functions/[[path]].ts
Other components
- User
Connections 14
- User → Demo app: uses
- React entry → Demo app: renders
- Demo app → Windmill service: authenticates; lists paths
- Demo app → Flow builder: mounts
- Demo app → Script builder: mounts
- Demo app → Script editor: mounts
- Demo app → Schema editor: mounts
- Demo app → Resource editor: mounts
- Demo app → App editor: offers selection
- Demo app → Flow viewer: SDK capability
- Demo app → Flow status: SDK capability
- Demo app → Flow history: SDK capability
- Demo app → Windmill service: SDK operations
- API proxy worker → Windmill service: proxies JSON