Skip to content

Declare target as a datetime widget in signage-app.json - #2

Merged
vpetersson merged 1 commit into
masterfrom
datetime-widget-target
Jul 13, 2026
Merged

Declare target as a datetime widget in signage-app.json#2
vpetersson merged 1 commit into
masterfrom
datetime-widget-target

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Summary

Timer's manifest declared target as a plain text box, so the app store rendered a bare text input where the user had to hand-type ISO 8601. The store-side renderer now supports native date/time pickers (x-widget: date|time|datetime, also inferred from JSON Schema format), so this is the one-field origin-manifest change needed for the picker to appear.

Change

In .well-known/signage-app.json, on the target property:

  • x-widget: textdatetime
  • added "format": "date-time" for standards-compliance
  • simplified the description (the picker handles the ISO format now)

The picker emits ISO 8601 (YYYY-MM-DDTHH:MM:SS) — the same shape parseTarget already handles, so no player-side change is needed.

Checks

bun test, bun run typecheck, and bun run lint all pass.

Fixes #1

🤖 Generated with Claude Code

The app store now renders a native date & time picker for manifest
fields that ask for one. Switch target's x-widget from text to
datetime (and add format: date-time for standards-compliance) so the
picker appears instead of a bare ISO 8601 text box. The picker's value
is the same ISO shape parseTarget already handles, so no player-side
change is needed.

Fixes #1

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson
vpetersson merged commit 986bcf9 into master Jul 13, 2026
1 check 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.

Declare target as a datetime widget in signage-app.json

1 participant