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

Self registration as end user #553

Merged
merged 6 commits into from
Feb 13, 2024
Merged

Self registration as end user #553

merged 6 commits into from
Feb 13, 2024

Conversation

sabrine33
Copy link
Contributor

No description provided.

Copy link
Contributor

@seenanair seenanair left a comment

Choose a reason for hiding this comment

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

Looking good. 👍 Just commented a few minor things.

});
});
});
});
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to add a similar test case for 'Sign In' option as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, just a doubt , may be a core side question, @khelwood - what will happen if an existing user clicks register button? Would it re-register an existing user or give a warning that user exists already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@seenanair,in case a user registers with existing credentials, the core handles it as a standard login process

<LoginButton loading={formik.isSubmitting} data-testid="signIn" disabled={formik.isSubmitting}>
Sign In
</LoginButton>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a UI thought, Would it be better to add an 'Or' in between Register and Sign In and to mention in smaller font/Italics for 'Existing users' near to Sign In ?

@sabrine33 sabrine33 requested a review from seenanair February 13, 2024 10:58
@seenanair seenanair merged commit ba5bbc2 into devel Feb 13, 2024
8 checks passed
@sabrine33 sabrine33 deleted the selfRegistration branch April 3, 2024 09:19
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.

2 participants