-
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(signature-collection): cleanup constituencies #15864
Conversation
WalkthroughThe changes involve significant modifications 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: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/index.tsx (2 hunks)
- libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/modals/LookupPerson/index.tsx (2 hunks)
Files skipped from review due to trivial changes (1)
- libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/modals/LookupPerson/index.tsx
Additional context used
Path-based instructions (1)
libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/index.tsx (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 (3)
libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/index.tsx (3)
Line range hint
1-88
: Verify the removal of the manager section and its alignment with the feature requirements.The entire section for managing managers, including the table displaying manager details and the ability to add/delete managers, has been removed. This is a significant change that simplifies the UI but also eliminates certain user interactions and functionality.
Please confirm that this removal aligns with the intended behavior and requirements of the signature collection feature. If the ability to manage managers is still necessary, consider re-implementing it or providing an alternative solution.
Line range hint
1-88
: Clarify the removal of thewithConstituencies
prop from theLookupPerson
component.The
withConstituencies
prop has been removed from theLookupPerson
component. This change suggests a modification in the component's behavior related to constituencies.Please provide more context on the purpose of this prop and the implications of its removal. How does this change impact the functionality of the
LookupPerson
component and the overall signature collection feature?
Line range hint
1-88
: Adherence to additional instructions.The component adheres to the specified guidelines:
- It utilizes reusable components from the
@island.is/island-ui/core
library, promoting code reusability across different NextJS apps.- It uses TypeScript for defining types (e.g.,
c: string
,index: number
), ensuring type safety.- It doesn't contain any code that would negatively impact tree-shaking or bundling practices.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15864 +/- ##
==========================================
- Coverage 36.93% 36.92% -0.02%
==========================================
Files 6681 6681
Lines 136449 136413 -36
Branches 38745 38743 -2
==========================================
- Hits 50399 50365 -34
+ Misses 86050 86048 -2
Flags with carried forward coverage won't be shown. Click here to find out more. see 10 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 338 Passed, 0 Skipped, 1m 6.96s Total Time |
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Checklist:
Summary by CodeRabbit
New Features
OwnerView
component by removing the manager management section, enhancing user experience.LookupPerson
component by eliminating the constituency selection feature.Bug Fixes
OwnerView
andLookupPerson
components.