Repository navigation
Linux 0.1.4; examples formatted and commented; Layout reads formatted code; component platform table - #82
Merged
Conversation
…dows The Templates page listed three groups one under the other. Each group is now its own entry: My widgets, Templates, Components, APIs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
191 source files; 84 had lines over 160 characters, 52 lines were over 400. Code only moved: the web engine still reproduces every Apple reference tree. Three animation titles with two spaces in a row are now strings in braces, since the formatter joins the spaces. Gallery copies and their hashes follow. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Comments only: no code changed. Each example now says what it shows, what to try, what a ScriptWidget call or prop means where it first appears, the units of values, and for the data APIs which systems they run on. Four wrong header lines (gauge spelling, gif, toggle, zstack) are corrected. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Comments only: what each template shows, what to try changing, what the ScriptWidget calls and layout properties mean, and which systems $calendar runs on. No code line changed; the web parity test still reproduces every native tree. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Comments only, for a reader who is new to ScriptWidget: what each template shows and what to try changing, what each section does, what a ScriptWidget call or property means the first time it appears, units, and why a fallback exists. No code line changed. Storage Ring's header called it a battery template; it now says what the template draws. lib/weather.js of Weather Now (MET Norway) now differs from the copy in Local Weather (Location), and lib/records.js of Plant Care and Pocket Pet from the copies in the other record templates, until those copies get the same comments. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Comments only, for a reader who is new to ScriptWidget: what each template shows and what to try changing, what each section does, what the ScriptWidget calls and properties mean, units, fallbacks, the permissions a call needs and the systems a data API runs on. No code line changed. lib/weather.js of Local Weather (Location) now differs from the copy in Weather Now (MET Norway), and lib/records.js from the copies in Plant Care and Pocket Pet, until those templates receive the same comments. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ery copies Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…at Layout cannot read the formatted examples material-study-trees.json stores the template's source next to its 48 trees. It is regenerated with JavaScriptCore on the iOS 27.2 simulator; the 48 trees are identical to the old ones and only the source text changed. layout-edit-trees.json is not regenerated, because producing it needs the Layout panel to edit Layout Starter and the panel can no longer read it. This is a change of behaviour, not a stale fixture, so no expectation is edited: visualLayout.js rejects the comma Prettier puts after the element of $render( … ) and treats a JSX comment as a syntax error. Of the 140 main.jsx files, Layout could open 136 before formatting, 20 after it, and 8 now. Two VisualLayoutEditorTests and two Web Studio tests fail for this reason. docs/linux/testing.md lists the fixtures that depend on example text, the numbers of every suite and what was not run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The panel refused a script whose element was followed by a comma, that had a comment child, or a comment beside the element, and could not edit a text that stood on a line of its own. After the examples were formatted and commented only 8 of 140 still opened in Layout; 136 do again, as before. Both editor bundles are rebuilt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A second table in platformSupport.js, written by npm run docs into platform-support.md and the top of the component reference, and copied into the creator Skill. A test requires a row for every component. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… code layout-edit-trees.json is regenerated by the real native editor on the iOS 27.2 simulator. Both trees, before and after the two Layout edits, are identical to the committed ones; only the two stored sources changed. The edited source differs from the template in the two places the panel wrote. docs/linux/testing.md: the Layout finding is recorded as fixed in the panel (136 of 140 examples open again), with a review of edits computed against the real source while the parse runs on the masked copy: 13 edits on Layout Starter and Material Study land where they should, parse again and run, and the remaining rough edges are listed, not changed. New numbers: the macOS scheme 777 passed and 32 skipped of 809, Web Studio 114, the editor 59, and release-readiness.sh passes to its last line. The heading of the summary of what was not run, which my previous commit dropped, is back. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… a layer Adding or moving a layer glued it to its neighbour or the closing tag, and removing one left a line of spaces. In code with a layer a line the new layer now gets a line at its neighbours' indentation and the old lines go; code written on one line is still spliced as it is. A comment directly above a layer moves and is removed with it, and editing a text no longer replaces a comment inside it. Both editor bundles are rebuilt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What a user gets
{/* … */}child or a comment beside the element, and could not edit a text on a line of its own. After formatting only 8 of 140 examples opened in Layout; 136 do again, as before. BothStudioEditor.bundledirectories are rebuilt.platformSupport.jsintoplatform-support.mdand the component reference, and copied into the creator Skill.How "nothing but layout and comments changed" was checked
$render,moment(andmoment.in the script text; no file gained or lost one.material-study-trees.jsonandlayout-edit-trees.jsonstore example source; both were regenerated on the iOS 27.2 simulator and all their trees are identical to before.Compatibility and security
No runtime, package or permission contract changes.
Gallery/index.jsonbyte counts and SHA-256 follow the reformatted copies. The Layout parser masks comment children before parsing; ranges are those of the real source.Run locally
./Scripts/release-readiness.sh(iOS destination iPhone 18 Pro Max): passed to its last line; macOS 809 tests, 777 pass, 32 skipped; iOS simulator 820 tests, 789 pass, 31 skipped; browser smoke tests ranWeb/preview-engine199,Web/studio114,Editor/editorfe60 passcargo test --locked --workspace: 506 pass on the Mac, 512 pass in the Omarchy 4.5 VM; Android:core:testDebugUnitTest482 pass (both before the Layout fix, which does not enter those builds)Not run
--page, not clicked with the virtual pointer.🤖 Generated with Claude Code