Repository navigation
Small layouts for 21 templates, per-API platform tables, new demo pictures - #81
Merged
Merged
Conversation
…ery platform Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
One table, in Editor/editorfe/src/platformSupport.js, is written by npm run docs into platform-support.md, runtime-api.md and the data API catalog, and each API's page gets its line at the top. The generator and a test refuse a table whose Apple columns disagree with the catalog. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Skill now ships platform-support.md as a reference and tells the agent to check the target systems, guard missing APIs with isAvailable() and leave room for the wider text of Android, Windows and Linux. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…eft in the year correctly The check added in 22da6ef still reported 21 bundled templates that have one layout, designed for medium or large, and do not fit the small widget. Each now branches on $getenv("widget-size") and draws its essential content at small (the time, the percentage, the next entry), in the template's colours; the layout it was designed for stays in the else branch: Animation Clock, Battery & Brightness, Daily Command Center, Datetime Current, Datetime Timezone, Device Battery Percent, Family Command Board, Live Activity Demo, Monthly Budget Planner, Open Link, Personal Dashboard, Pomodoro Focus, Reading Goal, Shape, Sleep Schedule, Sunrise & Sunset, System Insights, Text Today Week, Travel Day Dashboard, Weekly Planner, Wellness Dashboard. The five dashboards designed for large also get a medium layout: the finder reported two of them at medium, the pictures showed all five with overlapping or cut cards. Live Activity Demo now declares systemSmall. Two designed layouts were themselves broken and are fixed, both found in the pictures and not by the finder: the rows of the large Monthly Budget Planner overlapped their progress bars, and the medium Personal Dashboard was taller than the widget. Text Year Days Left used new Date(year, 12, 31), which is 31 January of the next year, so it showed 31 days too many. It now subtracts calendar dates: 0 on 31 December, 1 on 30 December, 364 on 1 January of a common year, at any time of day. Text Days to End Of Year and Text Days To End Of Month were checked at the same moments and are right; they are unchanged. find-truncated-text.mjs: 29 packages with findings before, 8 after, all of them the ones docs/linux/testing.md already lists as left on purpose. native-trees.json is regenerated with JavaScriptCore on the iOS 27.2 simulator: 7 trees change (the five dashboards at medium, Personal Dashboard, Text Year Days Left). What ran and what did not is in docs/linux/testing.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
92 templates drawn by the Mac app; 22 had no picture. Five keep their earlier picture (no battery on this Mac, or a request that timed out); render-report.txt lists them. contact-sheets.swift builds the sheets. 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
Editor/editorfe/src/platformSupport.js) is written bynpm run docsintodocs/runtime-api.md,docs/platform-support.mdand the data API catalog, and each API page has a "Runs on / Not on" line at the top. The generator and a test refuse a table that disagrees with the catalog's Apple platforms.isAvailable(), and leave room for Inter's wider text.Tools/ScriptWidgetPreview/Scripts/contact-sheets.swift.Compatibility and security
No runtime, package or permission contract changes.
Live Activity Demo/widget.jsonnow also declaressystemSmall.native-trees.jsonregenerated on the iOS 27.2 simulator: 7 trees changed.Run locally (Mac, macOS 27.2)
find-truncated-text.mjs: 29 packages with findings before, 8 after (all listed as intended indocs/linux/testing.md)BrowserPreviewParityTests,MusicRuntimeTests,VisualLayoutEditorTests,RuntimeExecutionTests: 154 run, 11 skipped (export-only), 0 failedWeb/preview-engine199 pass,Web/studio114 pass,Editor/editorfe55 passcargo test --locked --workspace506 pass, 1 ignored;./gradlew :core:testDebugUnitTest482 passvalidate-release.mjs,validate-doc-links.mjs,sync-gallery-templates.mjs,Scripts/testspassNot run
release-readiness.shlocally, Web Studio browser smoke test,asan-test.sh.render-report.txtlists them.🤖 Generated with Claude Code