Repository navigation
codelessly_api 6.2.0: motion, new triggers, gaps and wrapping lists, computed variables - #45
Merged
Merged
Conversation
- MotionModel on every node (BaseNode.motion): offset, scale, opacity, fractional rotation, 3D tilt with perspective, origin, an animated transition and a continuous spin. Values bind to formulas through variables['motion.<name>']. - Triggers: timer (intervalMs) and keyPress (key) on canvases, and swipeLeft/Right/Up/Down on frames and rectangles. - ListViewProperties.stacked draws data list items on top of each other. - Lists parse from JSON without allowedTypes, deniedTypes, isScrollable or useFlutterListView. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
- ListViewProperties.wrap with spacing, run spacing and alignment.
- effectsVisible, strokeWeight, cornerRadius and fontWeight are property
variables Set value actions can change.
- EdgeInsetsModel reads {left, top, right, bottom} and {horizontal, vertical}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
- VariableData.formula: a variable worked out from others. - MotionModel.loop (restart / reverse), enter and delayMs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
…th bindable range Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
…formulas with braces in variable syntax
- MotionModel.enterFrom and a bindable replayKey.
- SliderProperties.thumbShape (circle, roundedRect) with size and corners.
- variableSyntaxIdentifierPattern matches a ${= ...} formula whole, object
literals included.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Master's row/column spacing replaces itemSpacing (JSON itemSpacing is read
as spacing). Computed variables keep their ${= ...} formula in the value,
as master stores them; a separate formula field in JSON is read into it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
…elog - Hover enter/exit become master's cursorEnter/cursorExit; trigger JSON naming hoverEnter or hoverExit reads as them (TriggerType.aliases). - Placeholder type lists take master's per-node defaults (a list denies nested lists) instead of an empty default. - This branch's changes go under master's Unreleased changelog section, for one release with master's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
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.
Model changes found while recreating a code-built app (Crate Digger, a vinyl collection with a turntable) in the Codelessly editor. Every gap the editor hit is logged with its fix in the editor repo's
references/crate_digger/blockers.md.What's new
Motion (
BaseNode.motion,MotionModel):loop,enter,enterFrom,delayMsand a bindablereplayKey.Values bind as
motion.<name>variables.Triggers:
timer(intervalMs) andkeyPress(key) on canvases;doubleTap,hoverEnterandhoverExiton frames, rectangles, buttons, icons and text.Master's
valueChangedanddebounceMsare kept alongside.Layout:
ListViewProperties.stackedandwrapwith spacing and alignment;orientation,inverted, a thumb stroke and aroundedRectthumb;itemSpacingnow uses master'sspacing.RowColumnNode.fromJsonreadsitemSpacingin older JSON asspacing.Variables:
${= ...}formula andisComputedreports it. Aformulakey in older JSON moves intovalue(withFormulaAsValue);effectsVisible,strokeWeight,cornerRadius,fontWeightand a slider'smin/max.JSON:
variableSyntaxIdentifierPatternmatches a${= ...}formula whole, object literals included;EdgeInsetsModel.fromJsonreads{left, top, right, bottom}and{horizontal, vertical};Release: version 6.2.0, with one CHANGELOG entry covering master's changes and this branch's.
Checks
Run locally the way CI runs them, on the merge with master:
dart format;dart analyze --fatal-infos;dart test: 323 pass;dart pub publish --dry-run: 0 warnings.Merge order
codelessly_api ^6.2.0from pub, so it can only go green after step 1.🤖 Generated with Claude Code
https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik