Skip to content
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

Merged
merged 6 commits into from Mar 20, 2023
Merged

Sc-13623 : make domain input editable #339

merged 6 commits into from Mar 20, 2023

Conversation

masskoder
Copy link
Contributor

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

  • new feature
  • bug fix
  • documentation
  • testing
  • technical debt
  • other (describe)

Acceptance criteria

https://www.awesomescreenshot.com/video/15772848?key=9fe546b3a916df37272abc3905fa94f9

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have updated the dependencies list
  • I have recompiled and included new protocol buffers to reflect changes I made
  • I have added new test fixtures as needed to support added tests
  • Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
  • I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

  • Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.
  • Are there any TODOs in this PR that should be turned into stories?

@shortcut-integration
Copy link

@masskoder masskoder changed the title Sc-13623 Sc-13623 : make domain input editable Mar 20, 2023
@masskoder masskoder requested a review from elysee15 March 20, 2023 18:47
@@ -75,7 +84,7 @@ function RegistrationForm({ onSubmit }: RegistrationFormProps) {
data-testid="name"
fullWidth
errorMessage={touched.name && errors.name}
errorMessageClassName="py-1"
errorMessageClassName="py-2"
Copy link
Contributor

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"
Copy link
Contributor

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

Copy link
Contributor Author

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.

@masskoder masskoder merged commit afd5f0e into main Mar 20, 2023
@masskoder masskoder deleted the sc-13623 branch March 20, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants