Skip to content

Widget("slider" | "radio"): Look hint for bounded numbers and short choice lists - #29

Merged
guijacquemet merged 1 commit into
mainfrom
claude/widget-hint
Oct 7, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/widget-hint

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

Wave 1, item 1 (see the Wave 1 spec in #27). Adds the Widget marker: Widget("slider") for a number with Min and Max, Widget("radio") for a Literal/Enum with 2 to 5 options. The schema gets widget; invalid uses fail at declaration with a readable message (no bounds, not a number, wrong option count, unknown widget name). check prints "shown as a slider/radio". Docs: MANIFEST, AUTHORING recipe, HOST_FEATURES (hosts marked "planned"). Example app: find_bright_spots now has a threshold slider and a bright/dark radio. Hosts that do not know the hint show the plain field, so nothing breaks before the host PRs.

Tests: 2 new (schema, errors); full suite passes except test_foreign_owned_or_group_writable_shared_entry_is_skipped, which also fails on main when run as root.

Next: Napari, Fiji and QuPath PRs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN


Generated by Claude Code

…le, tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
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.

2 participants