Skip to content

Conversation

@koppen
Copy link
Member

@koppen koppen commented Jan 9, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the hint parameter format in two component preview examples from a string to a hash with a content key. The title indicates this is intended to fix the Checkbox example with hints that was previously broken.

Key changes:

  • Updated Checkbox preview to use hash format for hint parameter
  • Updated RadioButton preview to use hash format for hint parameter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
demo/test/components/previews/checkbox_preview.rb Changes hint from string to hash format {content: "..."} in the checkbox_with_helper_text example
demo/test/components/previews/radio_button_preview.rb Changes hint from string to hash format {content: "..."} in the checkbox_with_helper_text example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Use the Checkbox as it is intended to be used, passing a hash for the
hint.
@koppen koppen merged commit ea33ccb into main Jan 9, 2026
5 checks passed
@koppen koppen deleted the fix_demo branch January 9, 2026 08:47
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.

3 participants