Repository navigation
codelessly_api 6.2.0: repeating gradients, arc progress bars, dialog presentation, delay formulas - #41
Merged
Conversation
A variable whose value is a ${= ...} formula is a computed variable the
runtime evaluates; sanitizing it by type wiped it for lists, maps and
numbers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Hard stops repeating at a fixed pixel period make even stripes at any box size (hazard stripes). Null keeps today's stretch-across-the-box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
ProgressBarProperties.shape (bar | arc) with arcStartAngle, arcSweepAngle, arcStrokeWidth, needleColor, tickCount, tickColor and bands (ProgressBand start/end fractions + color). Bars keep their JSON. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
…lignment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Hand-written node JSON (the editor's insertTree command, AI tools) may leave out fields the constructors default, such as isScrollable, useFlutterListView, allowedTypes and deniedTypes. fromJson now fills those in with the constructor defaults instead of throwing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
CI's generated-code check builds it with reactions first; master's copy was stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
This was referenced Oct 24, 2026
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
Model changes found by rebuilding a coded reference app (an equipment rental yard) in the editor. Each change closes a gap where the editor couldn't produce what the code-built app does. Released as 6.2.0 (version bump and CHANGELOG are included).
PaintModel.gradientRepeatEvery: a linear gradient repeats every N px instead of stretching across the box. Used for hazard stripes. The named constructors set it to null, andcopyWith(clearGradientRepeat:)clears it.ProgressBarProperties.shape: arcadds start/sweep angles, stroke width, tick count/color, a needle color and colored zonebands(ProgressBand). Used for the service-interval gauge.ShowDialogAction.presentation(dialog,bottomSheet,adaptive= sheet below 600 px) andalignment.DelayAction.duration: a variable or formula for the wait, used instead ofmillisecondswhen it gives a number.${= ...}formula value.isScrollable,useFlutterListView,allowedTypes,deniedTypes, spacerreactions/positioningMode).Tests:
computed_variable_value_test,gradient_repeat_test,progress_arc_test,minimal_node_json_test,delay_duration_test. Locally all 301 tests pass, anddart analyzeanddart formatare clean.Merge order: this PR, then publish 6.2.0, then the CodelesslySDK PR (needs
codelessly_api ^6.2.0), then publish 8.3.0, then the CodelesslyEditor PR.Generated by Claude Code