-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat(modal): re-introduce #7638
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- packages/ui-components/Common/Modal/index.module.css: Language not supported
- packages/ui-components/package.json: Language not supported
Comments suppressed due to low confidence (1)
packages/ui-components/Common/Modal/index.tsx:16
- The component name 'ChangelogModal' implies a specific use case; consider renaming it to a more generic name like 'Modal' to align with the intended polyvalent usage.
const ChangelogModal: FC<ChangelogModalProps> = ({
Lighthouse Results
|
Co-authored-by: Copilot <[email protected]> Signed-off-by: Augustin Mauroy <[email protected]>
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.
LGTM
In the storybook, shouldn't it be open by default? |
Agree, It took some minutes to understand why the modal wasn't showing up xD |
@AugustinMauroy Per the comments above, I've denied the Storybook UI tests because the tests don't accurately display the component. (https://www.chromatic.com/test?appId=64c7d71358830e9105808652&id=67f83473d3be6c83bf6f4733 is blank, because the modal is closed) |
Signed-off-by: Augustin Mauroy <[email protected]>
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.
LGTM, apart from one nitpick, can you add the @radix-ui/react-dialog
package to next.config.mjs
file under optimizePackageImports
🙇
Co-authored-by: Caner Akdas <[email protected]> Signed-off-by: Claudio W. <[email protected]>
Description
Re-introduce modal component an make it more polyvalent
Validation
Related Issues
#7445
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.