-
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(application-plc): Providers and minor amends #15834
Conversation
WalkthroughThe changes involve significant updates to 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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
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: 1
Outside diff range, codebase verification and nitpick comments (2)
libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/errors.ts (1)
16-28
: Approve the new error message structure with a suggestion.The new
partyBallotLetter
error message structure is correctly implemented and follows the existing pattern for error messages. However, thedescription
fields are empty.The code changes are approved.
Consider adding meaningful descriptions to the
description
fields to enhance clarity and maintainability.libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/createCollectionTemplate.ts (1)
43-47
: Approve the addition ofallowedDelegations
with a suggestion.The new
allowedDelegations
property is correctly implemented and aligns with the application's requirements for managing user permissions.The code changes are approved.
Ensure that the addition of
allowedDelegations
does not adversely affect existing functionalities or user permissions in unforeseen ways.
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- libs/application/template-api-modules/src/lib/modules/templates/signature-collection/parliamentary-list-creation/parliamentary-list-creation.service.ts (2 hunks)
- libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/createCollectionTemplate.ts (2 hunks)
- libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/errors.ts (1 hunks)
Additional context used
Path-based instructions (3)
libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/errors.ts (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
libs/application/template-api-modules/src/lib/modules/templates/signature-collection/parliamentary-list-creation/parliamentary-list-creation.service.ts (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
libs/application/templates/signature-collection/parliamentary-list-creation/src/lib/createCollectionTemplate.ts (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
Additional comments not posted (1)
libs/application/template-api-modules/src/lib/modules/templates/signature-collection/parliamentary-list-creation/parliamentary-list-creation.service.ts (1)
Line range hint
42-59
: Approve the updatedparliamentaryCollection
method.The updates to the
parliamentaryCollection
method, including the new parameter and validation checks, are correctly implemented and enhance the method's robustness.The code changes are approved.
...ates/signature-collection/parliamentary-list-creation/parliamentary-list-creation.service.ts
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15834 +/- ##
==========================================
- Coverage 36.97% 36.97% -0.01%
==========================================
Files 6658 6658
Lines 135986 135993 +7
Branches 38631 38633 +2
==========================================
+ Hits 50279 50280 +1
- Misses 85707 85713 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
Datadog ReportAll test runs ✅ 4 Total Test Services: 0 Failed, 4 Passed Test Services
|
* feat(application-plc): Allow procuration holders * Introduce candidacy and party ballot letter checks into providers --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Attach Screenshots / Gifs to help reviewers understand the scope of the pull request
Checklist:
Summary by CodeRabbit
New Features
allowedDelegations
property to manage user permissions more effectively.Bug Fixes