Skip to content

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-10698

Description:

For QA:

Documentation:

@GrabowskiM GrabowskiM requested review from a team and Copilot September 24, 2025 15:00
Copy link

@Copilot 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 introduces a new ToggleButtonField component and updates the ToggleButtonInput component's default labels from "Yes/No" to "On/Off".

  • Creates a new ToggleButtonField component with proper field structure including label and helper text support
  • Updates default toggle labels to use more conventional "On/Off" terminology instead of "Yes/No"
  • Removes the unused value property from ToggleButtonInputProps type definition

Reviewed Changes

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

Show a summary per file
File Description
ToggleButtonInput.types.ts Removes unused value property from type definition
ToggleButtonInput.tsx Updates default labels from "Yes/No" to "On/Off"
ToggleButtonField/index.ts Exports for new ToggleButtonField component
ToggleButtonField.types.ts Type definitions for the new field component
ToggleButtonField.tsx Implementation of the field component with BaseField integration
ToggleButtonField.test.stories.tsx Interactive test stories for the new component
ToggleButtonField.stories.tsx Documentation stories for the new component
translations.xliff Updates translation keys from "Yes/No" to "On/Off"

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant