feat(sdk): data-processors script API — ephemeral preview, language-aware validation, dashed series#134
Merged
Conversation
e746c7d to
ca971af
Compare
…ware validation, dashed series
Additive (MINOR, 0.11.0 -> 0.12.0). Backward-compatible: new vtable slots are
tail-appended with struct_size guards; baseline.abi unchanged.
- create_data_processor_ephemeral — create a real but temporary transform node
(excluded from layout persistence) for live preview; removed via the normal
remove path on cancel.
- validate_data_processor_script(language, script) — compile a script and report
errors for the editor's status indicator. Language-parameterized ("luau" today;
"python"/"wasm" reserved) so a future backend needs no signature change.
- ChartSeries.dashed + setChartAutoZoom — dashed "ghost" preview curve + autozoom.
ca971af to
2435ffb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Additive script API for data-processors, plus a couple of preview-styling helpers. MINOR bump (0.11.0 → 0.12.0): new vtable slots are tail-appended with
struct_sizeguards, existing signatures andbaseline.abiare unchanged, so plugins built against an older SDK keep working without recompiling.What it adds
create_data_processor_ephemeral— create a real but temporary transform node (excluded from layout persistence) for a live preview; torn down via the normal remove path on cancel. Unlike a normalcreateTransform, it never ends up in a saved layout, so an editor preview leaves no trace.validate_data_processor_script(language, script)— compile a script and report errors for the editor's status indicator. The language is a parameter ("luau"today;"python"/"wasm"reserved), so a future backend needs no signature change.ChartSeries.dashed+setChartAutoZoom— dashed "ghost" curve for the original series in a preview, and autozoom control.Compatibility
struct_size-guarded on both host and plugin sides (an old host returns an error instead of jumping to a missing slot).PJ_ABI_VERSION/ protocol version unchanged;abi/baseline.abiuntouched (additions only).