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

Login signup Form components #3

Merged
merged 6 commits into from
Dec 6, 2023
Merged

Login signup Form components #3

merged 6 commits into from
Dec 6, 2023

Conversation

tan12082001
Copy link
Owner

Update the Login and SignUp page forms:

Implemented tasks:

  • used the common form components created in Signup and login pages.
  • Set up and configured the local store.
  • created an authenticationSlice for adding reducers.
  • Updated the thunk file with async methods that would perform the RESTapi actions for login and signup (but currently not working because of the CORS policy.)

Need to implement:

  • The authentication method, whether it is API keys method or token authentication (configuration also needs to be done in the backend API).

Current login and signup forms:

image

Copy link
Collaborator

@Simpleshaikh1 Simpleshaikh1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work so far

Comment on lines 27 to 28
<TextInputField label="Password" name="password" placeholder="eg. A1@_3er" />
<TextInputField label="Confirm Password" name="confirm_password" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great implementation so far, I want to suggest if you can use the HideableTextFormField for the Password input, instead of of TextInputField component to add the visibility to the password.

className="sign-in-form"
>
<TextInputField label="Email" name="email" placeholder="eg. example@example.com" />
<TextInputField label="Password" name="password" placeholder="eg. A1@_3er" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work so far, I want to suggest using the HideableTextFormField in the password input , instead of the TextInputField component to add the visiblilty for password.

Copy link
Collaborator

@Simpleshaikh1 Simpleshaikh1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You code now works perfectly, it is time to merge.

@tan12082001 tan12082001 merged commit 55000e0 into dev Dec 6, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants