-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create traffic sign component #848
Conversation
…motive-UK/react-ui into create-figure-component
I don't think we should recommend manually running tests in PRs like this. You should recommend to run the tests via Docker, for which snapshots already exist. Don't confuse it for reviewers. |
It would be nice to show a screenshot of the component in future reviews. That's what the UI section is for (which you deleted by the look of it). |
You need to make sure your component is exported from the root index otherwise you won't be able to import it in your app. Same goes for figure component which also appears to be missing although already merged. |
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.
I've had an initial run through and bash. Some general and some specific comments. I've told the team to hold off reviewing the other PRs for now as some of the general points here will also come up in those PRs so it seems best to get one right first and then ask people to review the others in which case hopefully they are then just picking up on specific things for that component. I appreciate some of the general points are because you are new to the team. I've asked the senior developers to start a code style guideline document so maybe you could also contribute to that with the things you have picked up so far with your time in the team which we don't yet have written down. @jegasriskantha is going to start that doc.
I don't think this is related to your changes but there's something weird with storybook giving me this error for your component and all components. If I open in incognito browser it works fine but doesn't work in my usual browser window. Some weird cache or something maybe between branches. I'm copying in @mattcorner to take a look as I wonder if it's related to vite changes #810. No need to hold up this PR with it. |
This reverts commit fe52e4a.
This reverts commit 617f0fd.
Changes
A new RUI component is introduced that renders traffic signs onto a konva canvas.
Dependencies
UI/UX
Highway traffic sign example:
Testing notes
Important
Failed CI tests are a known issue, please ignore. Tests failing because of "timeout" are a known flaky test issue.
pnpm i
pnpm run storybook
Test all props can be changed and the component updates as expected.
Author checklist before assigning a reviewer
[ ] Branch has been run in docker.