Skip to content

Small layouts for 21 templates, per-API platform tables, new demo pictures - #81

Merged
everettjf merged 6 commits into
mainfrom
template-small-layouts
Nov 18, 2026
Merged

everettjf merged 6 commits into
mainfrom
template-small-layouts

Conversation

@everettjf

Copy link
Copy Markdown
Owner

What a user gets

  • Templates fit at small. 21 bundled templates that had one layout now have a small layout; the five large dashboards also have a medium one. Monthly Budget Planner (large) and Personal Dashboard (medium) were broken at their own size and are fixed.
  • Text Year Days Left counted to 31 January of next year (31 days too many). It now counts calendar days to 31 December.
  • Docs say which systems each API runs on. One table (Editor/editorfe/src/platformSupport.js) is written by npm run docs into docs/runtime-api.md, docs/platform-support.md and 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.
  • Creator Skill ships the platform table and tells the agent to check target systems, guard missing APIs with isAvailable(), and leave room for Inter's wider text.
  • Demo pictures retaken: 92 templates (22 had none), five contact sheets, built by Tools/ScriptWidgetPreview/Scripts/contact-sheets.swift.
  • READMEs in eight more languages have the Windows and Linux paragraph and the platform screenshots.

Compatibility and security

No runtime, package or permission contract changes. Live Activity Demo/widget.json now also declares systemSmall. native-trees.json regenerated 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 in docs/linux/testing.md)
  • macOS BrowserPreviewParityTests, MusicRuntimeTests, VisualLayoutEditorTests, RuntimeExecutionTests: 154 run, 11 skipped (export-only), 0 failed
  • Web/preview-engine 199 pass, Web/studio 114 pass, Editor/editorfe 55 pass
  • cargo test --locked --workspace 506 pass, 1 ignored; ./gradlew :core:testDebugUnitTest 482 pass
  • validate-release.mjs, validate-doc-links.mjs, sync-gallery-templates.mjs, Scripts/tests pass

Not run

  • The new small and medium layouts were not drawn on an Apple system (only each template's design size, by the Mac app), nor on Android or Windows.
  • Android instrumented tests, Windows tests, release-readiness.sh locally, Web Studio browser smoke test, asan-test.sh.
  • Five demo pictures are the earlier ones (no battery on the Mac, or a timed-out request); render-report.txt lists them.

🤖 Generated with Claude Code

everettjf and others added 6 commits November 18, 2026 08:32
…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>
@everettjf
everettjf merged commit 810a59b into main Nov 18, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant