-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(ui): show 1915(c) Appendix K Package Details for withdrawn children #671
Conversation
itemResult: ItemResult; | ||
}; | ||
|
||
export const PackageDetails = ({ itemResult }: PackageDetailsProps) => { |
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.
Function PackageDetails
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Code Climate has analyzed commit ace51e8 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 11.7% (50% is the threshold). This pull request will bring the total coverage in the repository to 39.9% (0.0% change). View more on Code Climate. |
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.
nice work
ignore code climate |
🎉 This PR is included in version 1.5.0-val.68 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Purpose
Show a
1915(c) Appendix K Package Details
header for withdrawn Appk children. Previously, it was hard to associate the packages from their parent because nothing was tying them (other than an object in the package changelog).Linked Issues to Close
https://qmacbis.atlassian.net/browse/OY2-28784
Approach
appkParent: true
to object when it's created to signify its new independent statustitle
variable into component and remove unnecessary hook call by passing down props