-
Notifications
You must be signed in to change notification settings - Fork 0
RadioGroup component #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RadioGroup component #124
Conversation
There was a problem hiding this 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
📢 Instructions
🔧 Change Summary
Describe the changes included in this pull request. Link to the associated GitHub issue(s).
RadioGroupcomponentRadioGroup📝 Checklist
Pull request authors must complete the following tasks before marking the PR as ready to review.
🧪 Steps to Test
Describe the process to test the changes in this pull request.
Note: Project dependencies were updated. Perform a regression test.
🔗 Additional Information
Optionally, provide additional details, screenshots, or URLs that may assist the reviewer.