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
Sc-13623 : make domain input editable #339
Conversation
This pull request has been linked to Shortcut Story #13623: In domain field, use should be able to edit organization slug. |
@@ -75,7 +84,7 @@ function RegistrationForm({ onSubmit }: RegistrationFormProps) { | |||
data-testid="name" | |||
fullWidth | |||
errorMessage={touched.name && errors.name} | |||
errorMessageClassName="py-1" | |||
errorMessageClassName="py-2" |
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.
could you add this in the parent component to avoid inconsistency ?
@@ -84,7 +93,7 @@ function RegistrationForm({ onSubmit }: RegistrationFormProps) { | |||
fullWidth | |||
data-testid="email" | |||
errorMessage={touched.email && errors.email} | |||
errorMessageClassName="py-1" | |||
errorMessageClassName="py-2" |
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 think this kind of modification should not be specific to a single component
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.
You are right thanks for catching that. I add this directly to the design system package.
Scope of changes
Added a few minor fixes to the registration form and refactored the domain input field so it can be edited
Fixes SC-XXXX
Type of change
Acceptance criteria
https://www.awesomescreenshot.com/video/15772848?key=9fe546b3a916df37272abc3905fa94f9
Author checklist
Reviewer(s) checklist