-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Radio frontend #164
feat: Radio frontend #164
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.
A few small comments, none of them are required and none of them require a re-review unless you want one. 👍
(!valid || loading) && "opacity-50", | ||
])} | ||
onClick={() => { | ||
onComplete(enteredRadio); |
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.
optional refactoring idea: I remember there was a thing about using form onSubmit
instead of the button onClick
for something else recently. Would it be better to make this button a submit button and do this call in the form's onSubmit
handler instead too?
Asana Task: 📐 Orbit radio UI implementation
Still need to do some testing on mobile (as of this writing I don't have my phone accessible), but otherwise this is radio added to the frontend list display + form pages in a #163-not-ready-yet compatible way. That PR should be merged first.
Checklist
(x)
Has tests( )
Doesn't need tests( )
Tests deferred (with justification)(x)
Okayed the plan for the feature (e.g. the design files, or the Asana task)( )
Reviewed the feature as implemented (e.g. on dev-green, or saw screenshots)( )
No review needed