-
Notifications
You must be signed in to change notification settings - Fork 0
C7A2 whole-project PR for review #1
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
base: for-review
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for c7a2-flashcard-frontend ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| <Input | ||
| width={"min-content"} | ||
| variant={"filled"} | ||
| onChange={(e) => setQuestionInput(e.target.value.slice(0, 255))} |
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.
We think you should inform the user in some way that the limit is 255 (toast maybe?)
| <Input | ||
| width={"min-content"} | ||
| variant={"filled"} | ||
| onChange={(e) => setQuestionInput(e.target.value.slice(0, 255))} |
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.
Consider putting 255 in a named variable for better readability and make it dynamic
| /> | ||
| </Td> | ||
| <Td> | ||
| <Button onClick={onUpdate}> UPDATE </Button> |
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.
consider using text transform, screen readers really don't like caps locked stuff, they pronounce it letter by letter
| <HStack width={"max-content"} spacing={3}> | ||
| <Input | ||
| onChange={(e) => | ||
| setDeckNameInput(e.target.value.slice(0, 40)) |
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.
Same as before with 255
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.
cool feature :)
lucjastozek
left a comment
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.
Nice!!!!!!!!
No description provided.