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

feat: add invalid form submit click event #1190

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

syedsajjadkazmii
Copy link
Contributor

Description

Adding event on submit btn click on invalid form data. Simplified registration experiment

JIRA

VAN-1827

How Has This Been Tested?

Locally

Screenshots/sandbox (optional):

Include a link to the sandbox for design changes or screenshot for before and after. Remove this section if its not applicable.

Before After

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Sandbox, if applicable.
  • Is there adequate test coverage for your changes?

Post-merge Checklist

  • Deploy the changes to prod after verifying on stage or ask @openedx/2u-vanguards to do it.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@syedsajjadkazmii syedsajjadkazmii requested a review from a team as a code owner March 5, 2024 08:07
Comment on lines 36 to 39
console.log(eventNames.simplifyRegistrationInvalidFormSubmitBtnClicked, {
variation: expVariation,
...formErrors,
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Test code. Please remove

@syedsajjadkazmii syedsajjadkazmii force-pushed the sajjad/VAN-1827-add-errors-event branch from 579b51c to 1db73a6 Compare March 5, 2024 08:10
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 84.27%. Comparing base (488644f) to head (1db73a6).

Files Patch % Lines
src/register/RegistrationPage.jsx 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
- Coverage   84.27%   84.27%   -0.01%     
==========================================
  Files         126      126              
  Lines        2385     2391       +6     
  Branches      677      679       +2     
==========================================
+ Hits         2010     2015       +5     
- Misses        355      356       +1     
  Partials       20       20              

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

@syedsajjadkazmii syedsajjadkazmii merged commit 5f93278 into master Mar 5, 2024
5 of 7 checks passed
@syedsajjadkazmii syedsajjadkazmii deleted the sajjad/VAN-1827-add-errors-event branch March 5, 2024 08:13
syedsajjadkazmii added a commit to DmytroAlipov/frontend-app-authn that referenced this pull request Mar 11, 2024
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