* fix: add CORS headers to static assets for iframe context sharing
Add Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy, and
Cross-Origin-Resource-Policy headers to static assets served by the backend
to match the vite preview config. This enables the TypeScript worker to work
correctly when ui_builder is loaded in an iframe.
Fixes#7453
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix: add CORS headers only for /apps_raw paths and force reload on navigation
- Only add Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy, and
Cross-Origin-Resource-Policy headers for /apps_raw/ paths (not all static assets)
- Add frontend navigation handler to force page reload when navigating from
non-apps_raw paths to /apps_raw/add or /apps_raw/edit
- This ensures the TypeScript worker works correctly while avoiding CORS issues
for external iframe embeds in other parts of the app
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: also reload when navigating from /apps/get_raw/ to apps_raw editor
When viewing a raw app at /apps/get_raw/, the cross-origin isolation
headers are not present. Force a page reload when navigating from
this path to /apps_raw/add or /apps_raw/edit to ensure the headers
are fetched from the server.
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
* Update +layout.svelte
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
* Put back banner a new tutorial is available for a user that completed all his tutorials and never skipped all
* Create onboarding tutorial for operators in tutorial config file
* Add router and steps for onboarding tutorial for operators
* Improve onboarding tutorial for operators
* Improve the tutorial UX
* Refactor
* Remove cursor from last step of operator onboarding tutorial
* Improve filtering per role
* Add Runs page tutorial
* Improve Runs page tutorial
* Add failed run
* Simplify Runs tutorial with job clicks into one unique step
* Finish overall structure of Runs tutorial
* Improve wordings
* Prevent breaking animations by clicking on Next or Previous
* Add success and failure logo to step title
* Improve wording
* Create util function for moving cursor
* Nits
* Improve wordings
* Differentiate successfull and failed jobs steps
* Remove delete flows if operator to prevent permission errors
* Add comment
* feat(aichat): add get_lint_errors tool for script and flow mode
This adds a new `get_lint_errors` tool to the AI chat for script and flow modes,
similar to what exists for app mode.
For script mode:
- Added `getLintErrors` function to Editor.svelte that returns lint errors from Monaco
- Added `ScriptLintResult` and `ScriptLintError` interfaces
- Added `get_lint_errors` tool definition and implementation
- Updated system prompt to instruct AI to use the tool after code changes
For flow mode:
- Added `FlowLintResult` interface for flow-level lint results
- Added `get_lint_errors` tool that gets lint errors from the currently selected module
- Updated system prompt to include linting in the tool selection guide
The AI is now instructed to always use `get_lint_errors` after making code changes
and fix any errors before proceeding with testing.
Closes#7430🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix for script
* fix for flow
* cleaning
* fix DatatableCreationPolicy
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: centdix <farhadg110@gmail.com>
* fix frontend
Signed-off-by: pyranota <pyra@duck.com>
* chore: update ee-repo-ref to 5c2a8854e7ff014063a69dd8f7829a935129c31e
This commit updates the EE repository reference after PR #370 was merged in windmill-ee-private.
Previous ee-repo-ref: 8c75fc5b1372a790dc74b374cd72f9caf51a4595
New ee-repo-ref: 5c2a8854e7ff014063a69dd8f7829a935129c31e
Automated by sync-ee-ref workflow.
---------
Signed-off-by: pyranota <pyra@duck.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>