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

Embeddable registration form #1045

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

zainab-amir
Copy link
Contributor

@zainab-amir zainab-amir commented Aug 24, 2023

Description

This PR separates the Embedded Registration Page from the conventional registration page component into a new component.

JIRA

VAN-1611

How Has This Been Tested?

Locally

Description:
Adding embedded registration form
VAN-1574
Description:
Applied frontend validations on all the fields
VAN-1614
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch coverage: 95.83% and project coverage change: +0.13% 🎉

Comparison is base (512deae) 86.99% compared to head (a378462) 87.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1045      +/-   ##
==========================================
+ Coverage   86.99%   87.13%   +0.13%     
==========================================
  Files         124      125       +1     
  Lines        2269     2317      +48     
  Branches      626      628       +2     
==========================================
+ Hits         1974     2019      +45     
- Misses        286      289       +3     
  Partials        9        9              
Files Changed Coverage Δ
src/common-components/RedirectLogistration.jsx 100.00% <ø> (ø)
...register/components/EmbeddableRegistrationPage.jsx 95.65% <95.65%> (ø)
src/register/RegistrationPage.jsx 97.08% <100.00%> (-0.44%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syedsajjadkazmii syedsajjadkazmii marked this pull request as ready for review September 7, 2023 07:36
@syedsajjadkazmii syedsajjadkazmii requested a review from a team as a code owner September 7, 2023 07:36
Comment on lines +39 to +40
registrationError,
registrationError: {
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we using registrationError twice?

Copy link
Contributor

Choose a reason for hiding this comment

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

@mubbsharanwar its nested destructuring, its mostly used when we both need the object and property from inside the object. So we destructure it like this.

@syedsajjadkazmii syedsajjadkazmii marked this pull request as draft September 11, 2023 05:44
@syedsajjadkazmii
Copy link
Contributor

The work is completed. We are converting it draft and will use it when we will do multi-step embedded form work.

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

4 participants