-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix(general-petition): Fix form validation #14589
Conversation
WalkthroughThe recent refinements focus on enhancing the validation rules within the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Datadog ReportAll test runs ✅ 5 Total Test Services: 0 Failed, 5 Passed Test Services
🔻 Code Coverage Decreases vs Default Branch (1)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Out of diff range and nitpick comments (1)
libs/application/templates/general-petition/src/lib/dataSchema.ts (1)
53-53
: The change in date validation logic looks good. Consider adding a comment explaining whydateFrom
must be strictly less thandateTil
.
libs/application/templates/general-petition/src/lib/dataSchema.ts
Outdated
Show resolved
Hide resolved
libs/application/templates/general-petition/src/lib/dataSchema.ts
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14589 +/- ##
==========================================
- Coverage 37.16% 37.16% -0.01%
==========================================
Files 6237 6237
Lines 126379 126379
Branches 36156 36156
==========================================
- Hits 46970 46969 -1
- Misses 79409 79410 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
What
General petition form was not validating if the dates where the same nor the email or phone number of the applicant
Checklist:
Summary by CodeRabbit
Bug Fixes
Documentation