-
Notifications
You must be signed in to change notification settings - Fork 57
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-estate): Email and phone prefill #15829
Conversation
WalkthroughThe changes involve the addition of new properties, specifically 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
Tip Early access features: enabledWe are currently testing the following features in early access:
Note:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15829 +/- ##
=======================================
Coverage 36.97% 36.97%
=======================================
Files 6658 6658
Lines 135993 135997 +4
Branches 38633 38637 +4
=======================================
+ Hits 50280 50282 +2
- Misses 85713 85715 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
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
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (4)
- libs/application/template-api-modules/src/lib/modules/templates/estate/utils/fakeData.ts (1 hunks)
- libs/application/template-api-modules/src/lib/modules/templates/estate/utils/mappers.ts (1 hunks)
- libs/application/template-api-modules/src/lib/modules/templates/inheritance-report/utils/fakeData.ts (1 hunks)
- libs/clients/syslumenn/src/lib/syslumennClient.utils.ts (1 hunks)
Additional context used
Path-based instructions (4)
libs/application/template-api-modules/src/lib/modules/templates/inheritance-report/utils/fakeData.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/estate/utils/fakeData.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/estate/utils/mappers.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/clients/syslumenn/src/lib/syslumennClient.utils.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/template-api-modules/src/lib/modules/templates/estate/utils/mappers.ts (1)
30-31
: Good use of the nullish coalescing operator to handle potentially missing data.The use of the nullish coalescing operator (
??
) for thephone
andlibs/clients/syslumenn/src/lib/syslumennClient.utils.ts (1)
403-404
: Enhance data mapping with additional contact details.The addition of
phone
properties to theestateMemberMapper
function is a positive change, enhancing the data structure with more comprehensive contact details. This aligns with the PR's objective to improve user experience by ensuring correct pre-filling of these fields.However, it's important to ensure that these fields are consistently handled across all relevant functions and that they adhere to TypeScript best practices for type safety and reusability.
The code changes are approved, but I recommend verifying the integration of these new properties across the application to ensure consistency.
...lication/template-api-modules/src/lib/modules/templates/inheritance-report/utils/fakeData.ts
Show resolved
Hide resolved
libs/application/template-api-modules/src/lib/modules/templates/estate/utils/fakeData.ts
Show resolved
Hide resolved
Datadog ReportAll test runs ✅ 8 Total Test Services: 0 Failed, 8 Passed Test Services
|
* fix(application-estate): Fix phone/email mapper * fix(application-estate): Fix phone/email mapper --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Checklist:
Summary by CodeRabbit