Repository navigation
codelessly_sdk 7.2.0: run data-driven apps (auth, if/else, loops, uploads, cloud lists) - #64
Merged
Merged
Conversation
…esult variables, field operations Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
Inline text listens to variable paths, string accessors (initial, timeAgo, date) work on predefined variables, downcase is fixed, JSON writes keep typed values, list conditions compare raw lists, on-load actions run after the first frame and setResult merges results. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
… data A node hidden by a condition gives up its space (and its taps), a scrollable column that centers its children still does while they fit, and cloud loads and writes that run before the project's data access is verified wait for it instead of hanging in the loading state. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
…elds - A snapshot listener that throws no longer stalls the action chain waiting on the first snapshot; dates in documents read through timeAgo and date. - A flexing child hidden at runtime gives up its space with flex 0 and a zero size, so a visible sibling fills it and a hidden scrollable never sees unbounded constraints (a hidden grid computed NaN offsets). - A sized frame with an ink well fills its size with the ink and children instead of shrinking to its unpositioned children, which hid the photo in a grid tile when its likes badge was hidden. - Image fills whose URL path resolves to nothing load no image. - A text field bound to a text variable clears when the variable is set to empty. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
…ttons - List and grid views shrink-wrap when their item count comes from data, so a bound list inside a dialog no longer gets unbounded height. - Navigation bar items run their click reactions when selected. - Canvas on-load actions notify listeners, so a field bound to a variable set on load shows the value; a text field also starts from its bound variable. - Outlined buttons draw a 1px outline when no border width is set. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ3E2NmBuiBkBnmDDmQBcz
Contributor
Author
|
The Generated by Claude Code |
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.
Before: a published multi-user app ran into many problems:
${...}text didn't update.After: the SDK runs the new
auth,conditional,forEachandcloudFilesactions, and adds the${auth.*}and${result.*}variables plus field operations ($increment,$arrayUnion, …). It also:A shared photo gallery built entirely through the Editor MCP now works end to end in the browser. Every fix is listed in the project's blockers.md.
How: new action handlers in
FunctionsRepository, auth and result variables in the context, path-aware variable resolution, and targeted fixes in the canvas, row/column, list/grid, rectangle, text field, nav bar and button transformers. Tests cover variable paths, auth and actions. This needs the matching CodelesslyAPI PR, which adds the new action models.Generated by Claude Code