Skip to content

Conversation

@norberttech
Copy link
Member

@norberttech norberttech commented Nov 2, 2025

Resolves: #1938

Change Log


Added

  • PHP WAS compilation script
  • Interactive Playground to website
  • Basic error handling in interactive playground
  • Custom syntax highlighting in interactive playground
  • Reusable wasm controller in javascript

Fixed

Changed

Removed

Deprecated

Security

This is stil very early version that can execute Flow ETL Pipelines in browser through WASM and loaded Flow.phar

It's a first step towards more powerful tool that will also have:

  • possibility to play with predefined datasets available in the editor
  • possibility to "upload" custom datasets to the editor
  • advanced code autocompletion

So far I was able to successfully create a simple autocompleter that works with ref()-> (it will autocomplete available functions) but I removed it from this version since it only had few hardcoded methods.

What we need to create first is more robust solution to analyze Flow codebase (DSL + few API classes like DataFrame or ScalarFunctionChain) and extend the bin/docs.php

Once this is done we should be able to compose a list of functions / methods for autocompleter and make it aware of context (if we are executing it on data_frame() or on one of scalar functions or on nothing) but I will describe it in separated tasks

image

@codecov
Copy link

codecov bot commented Nov 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.72%. Comparing base (2342f96) to head (68f526f).
⚠️ Report is 6 commits behind head on 1.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1949      +/-   ##
==========================================
+ Coverage   79.65%   79.72%   +0.07%     
==========================================
  Files         832      833       +1     
  Lines       24757    24771      +14     
==========================================
+ Hits        19719    19749      +30     
+ Misses       5038     5022      -16     
Components Coverage Δ
etl 88.84% <ø> (+0.02%) ⬆️
cli 85.96% <ø> (ø)
lib-array-dot 95.00% <ø> (ø)
lib-azure-sdk 60.39% <ø> (ø)
lib-doctrine-dbal-bulk 95.14% <ø> (ø)
lib-filesystem 80.68% <ø> (ø)
lib-types 88.88% <ø> (+0.89%) ⬆️
lib-parquet 68.35% <ø> (ø)
lib-parquet-viewer 83.04% <ø> (ø)
lib-snappy 90.18% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 91.00% <ø> (ø)
bridge-filesystem-azure 89.47% <ø> (ø)
bridge-monolog-http 96.91% <ø> (ø)
bridge-openapi-specification 94.50% <ø> (ø)
symfony-http-foundation 73.17% <ø> (ø)
adapter-chartjs 86.36% <ø> (ø)
adapter-csv 89.08% <ø> (ø)
adapter-doctrine 90.97% <ø> (ø)
adapter-elasticsearch 97.17% <ø> (ø)
adapter-google-sheet 91.40% <ø> (ø)
adapter-http 60.56% <ø> (ø)
adapter-json 89.80% <ø> (ø)
adapter-logger 83.33% <ø> (ø)
adapter-meilisearch 97.87% <ø> (ø)
adapter-parquet 78.91% <ø> (ø)
adapter-text 88.09% <ø> (ø)
adapter-xml 83.07% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit 9ec8288 into 1.x Nov 2, 2025
20 checks passed
@norberttech norberttech deleted the 1938-proposal-flow-executable-playground branch November 2, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Proposal]: Flow Executable Playground

2 participants