Repository navigation
Releases: jamesrochabrun/Canvas
Releases · jamesrochabrun/Canvas
Release list
Canvas 1.4.1
What's Changed
- Add host-provided input accessory slot to the inspect editors by @jamesrochabrun in #19
Full Changelog: 1.3.4...1.4.1
Canvas 1.4.0
Canvas 1.3.3
What's Changed
- Content-frame tweaks bridge + branded slider and delete-all controls by @jamesrochabrun in #18
Full Changelog: 1.3.2...1.3.3
Canvas 1.3.2
What's Changed
- Improve Tweaks controls and defaults workflow by @jamesrochabrun in #17
Full Changelog: 1.3.1...1.3.2
Canvas 1.3.1
What's Changed
- Add background tweak agent state by @jamesrochabrun in #16
Full Changelog: 1.3.0...1.3.1
Canvas 1.3.0
Tweakable props system
Pages can now declare expressive, host-rendered tweak controls, and hosts can render, live-apply, and persist them natively.
New
TweaksBridge— injects adc_set_propsruntime into the page at document start. Pages declare props (slider,select,color,toggle,text), read current values viathis.props, and re-render throughdc_on_props_changed. Declared schemas post to native with key order preserved; native pushes values back viasetProp.TweakProp/TweakPropValue— value models for declared props.TweaksState—@Observablemodel holding the current page's schema.TweaksPanelView— popover-ready panel: "Describe a tweak…" field, an Ideas action, and one native SwiftUI control per declared prop.TweaksPromptBuilder— agent prompts (ideas + custom instruction) with the props contract appended so generated declarations stay machine-editable.TweakPropsSourceEditor— deterministic default-value rewriting in page source: comment/string-aware scanning, tolerant parsing (single quotes, bare keys), splice verified by re-parse. Non-scalar defaults degrade to live-only, never corrupting the file.
Changed
InspectableWebViewgains an optionalonTweakPropsChangecallback (defaulted — source compatible).
Tests
158 tests, including a live WKWebView integration test covering the full round trip (page declares → native receives; native setProp → page re-renders).
Full Changelog: 1.2.2...1.3.0
Canvas 1.2.2
What's Changed
- [codex] Target same-origin content frames in inspection by @jamesrochabrun in #15
Full Changelog: 1.2.1...1.2.2
Canvas 1.2.1
What's Changed
- [codex] Improve web preview inspect editing shortcuts by @jamesrochabrun in #14
Full Changelog: 1.1.1...1.2.1
Canvas 1.2.0
What's Changed
- Add crop mode, scroll tracking, and overlay persistence by @jamesrochabrun in #13
Full Changelog: 1.1.0...1.2.0
Canvas 1.1.1
What's Changed
- Add crop mode, scroll tracking, and overlay persistence by @jamesrochabrun in #13
Full Changelog: 1.1.0...1.1.1