-
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(parental-leave): Change type when applying for Dvalarstyrk #14392
fix(parental-leave): Change type when applying for Dvalarstyrk #14392
Conversation
WalkthroughThe updates aim to refine the logic for managing application states and actions within the parental leave system. Changes involve removing unnecessary parameters, enhancing state-specific logic, and introducing new utility functions to determine action names based on user inputs and application states. These modifications streamline code, improving the clarity and efficiency of state transitions and action determinations in the parental leave application process. 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 (
|
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: 0
Review Status
Configuration used: .coderabbit.yaml
Files selected for processing (1)
- libs/application/templates/parental-leave/src/lib/ParentalLeaveTemplate.ts (1 hunks)
Additional Context Used
Path-based Instructions (1)
libs/application/templates/parental-leave/src/lib/ParentalLeaveTemplate.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 (2)
libs/application/templates/parental-leave/src/lib/ParentalLeaveTemplate.ts (2)
866-866
: The change fromFileType.DOCUMENTPERIOD
toFileType.DOCUMENT
aligns with the PR objectives to meet VMST validation requirements.
863-869
: > 📝 NOTEThis review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-866]
Ensure TypeScript types are consistently used throughout the file for props and exported types, enhancing maintainability and developer experience.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14392 +/- ##
==========================================
- Coverage 37.16% 37.03% -0.13%
==========================================
Files 6237 6224 -13
Lines 126387 125939 -448
Branches 36159 36007 -152
==========================================
- Hits 46977 46647 -330
+ Misses 79410 79292 -118
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 88 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportAll test runs ✅ 6 Total Test Services: 0 Failed, 6 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: 0
Review Status
Configuration used: .coderabbit.yaml
Files selected for processing (1)
- libs/application/templates/parental-leave/src/lib/ParentalLeaveTemplate.ts (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- libs/application/templates/parental-leave/src/lib/ParentalLeaveTemplate.ts
This PR currently has a merge conflict. Please resolve this and then re-add the |
...tion/template-api-modules/src/lib/modules/templates/parental-leave/parental-leave.service.ts
Outdated
Show resolved
Hide resolved
...cation/template-api-modules/src/lib/modules/templates/parental-leave/parental-leave.utils.ts
Outdated
Show resolved
Hide resolved
...cation/template-api-modules/src/lib/modules/templates/parental-leave/parental-leave.utils.ts
Show resolved
Hide resolved
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
libs/application/templates/parental-leave/src/lib/parentalLeaveUtils.ts
Outdated
Show resolved
Hide resolved
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.
lgtm
https://dit-iceland.atlassian.net/browse/UUFV-435
Why
Fix the type sent to VMST when applying for Dvalarstyrkur
Checklist:
Summary by CodeRabbit