Skip to content

Conversation

@mwarman
Copy link
Member

@mwarman mwarman commented Apr 25, 2025

📢 Instructions

  • Begin with a DRAFT pull request.
  • Follow italicized instructions to add detail to assist the reviewers.
  • After completing all checklist items, change the pull request to READY.

🔧 Change Summary

Describe the changes included in this pull request. Link to the associated GitHub issue(s).

📝 Checklist

Pull request authors must complete the following tasks before marking the PR as ready to review.

  • Complete a self-review of changes
  • Unit tests have been created or updated
  • The code is free of [new] lint errors and warnings
  • Update storybook stories as needed
  • Update project documentation as needed, README, JSDoc, etc.

🧪 Steps to Test

Describe the process to test the changes in this pull request.

  1. Go to the Components page.
  2. Click on the Radio Group item in the left-side navigation.
  3. Verify that the content and examples for RadioGroup are good.

Note: Project dependencies were updated. Perform a regression test.

🔗 Additional Information

Optionally, provide additional details, screenshots, or URLs that may assist the reviewer.

  • [...]

@mwarman mwarman self-assigned this Apr 25, 2025
@mwarman mwarman linked an issue Apr 25, 2025 that may be closed by this pull request
@mwarman mwarman marked this pull request as ready for review April 25, 2025 17:38
@mwarman mwarman requested a review from Copilot April 25, 2025 17:46
Copy link

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 pull request introduces the new RadioGroup component along with associated tests, stories, and updates to navigation and documentation. It also updates an unrelated TaskForm component by removing its generic type from the useForm hook.

  • Added RadioGroup component and integrated it into the components page and router.
  • Introduced comprehensive tests and Storybook stories for RadioGroup.
  • Updated documentation to include new commands and clarified AWS CloudFormation templates.

Reviewed Changes

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

Show a summary per file
File Description
src/pages/Tasks/components/Form/TaskForm.tsx Removed generic type parameter from useForm which may impact type safety.
src/pages/Components/components/tests/RadioGroupComponents.test.tsx Added tests for RadioGroup component functionality.
src/pages/Components/ComponentsPage.tsx Added a new menu item for Radio Group.
src/common/components/Router/Router.tsx Added a new route for the RadioGroup component.
src/common/components/Icon/FAIcon.tsx Updated FAIcon with new icon mappings for radio button states.
src/common/components/Form/tests/RadioGroup.test.tsx Added validations and interactions tests for the RadioGroup component.
src/common/components/Form/stories/RadioGroup.stories.tsx Added Storybook stories for various RadioGroup states and configurations.
src/common/components/Form/RadioGroup.tsx New implementation of the RadioGroup component with contextual state management.
README.md Updated documentation with new test commands and AWS CloudFormation details.
Files not reviewed (1)
  • package.json: Language not supported

@mwarman mwarman merged commit e4fc343 into main Apr 25, 2025
5 checks passed
@mwarman mwarman deleted the 95-radio-group-component branch April 25, 2025 17:53
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.

Radio Group component

2 participants