-
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(j-s): Add missing court case number to info card #17348
Conversation
WalkthroughThe pull request introduces a new variable Changes
Possibly related PRs
Suggested labels
Suggested reviewers
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
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17348 +/- ##
=======================================
Coverage ? 35.68%
=======================================
Files ? 6929
Lines ? 148737
Branches ? 42504
=======================================
Hits ? 53079
Misses ? 95658
Partials ? 0
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 ReportBranch report: ✅ 0 Failed, 344 Passed, 0 Skipped, 56.45s Total Time |
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
🧹 Nitpick comments (1)
apps/judicial-system/web/src/components/InfoCard/InfoCardActiveIndictment.tsx (1)
49-49
: Consider a fallback or context for missing values.If courtCaseNumber can be absent under certain conditions, you may want to provide a fallback or handle it gracefully to maintain a consistent user experience.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
apps/judicial-system/web/src/components/InfoCard/InfoCardActiveIndictment.tsx
(2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
apps/judicial-system/web/src/components/InfoCard/InfoCardActiveIndictment.tsx (1)
Pattern apps/**/*
: "Confirm that the code adheres to the following:
- NextJS best practices, including file structure, API routes, and static generation methods.
- Efficient state management and server-side rendering techniques.
- Optimal use of TypeScript for component and utility type safety."
apps/judicial-system/web/src/components/InfoCard/InfoCardActiveIndictment.tsx
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 👌 One thing I noticed in the figma screenshot vs the PR screen shot is that the info fields in the form are not in the same order. But if we need to fix that we can prob do that in a follow up task.
The order of items in the info cards are all over the place. There is a task in Asana to implement a consistent order of info card items so it will be fixed there. |
Add missing court case number to info card
Asana
What
The InfoCard component displayed to prosecutor users in indictments that have either been sent to the court or ruled on should show the court case number. This PR implements that.
Why
Prosecutors need to see the court case number to effectively work the case.
Screenshots / Gifs
Checklist:
Summary by CodeRabbit