-
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
chore(j-s): Hide the resend indictment button #15994
Conversation
WalkthroughThe changes involve the temporary removal of the return indictment feature from the Changes
Possibly related PRs
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 #15994 +/- ##
==========================================
- Coverage 36.84% 36.84% -0.01%
==========================================
Files 6718 6718
Lines 137733 137728 -5
Branches 39159 39159
==========================================
- Hits 50753 50750 -3
+ Misses 86980 86978 -2 Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes 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: 0
Outside diff range and nitpick comments (1)
apps/judicial-system/web/src/routes/Court/Indictments/Overview/Overview.tsx (1)
144-152
: Looks good! The commented out code effectively disables the return indictment feature while retaining the functionality for future use.The multi-line comments provide clear context about the reason for the change and the potential future plans. This approach ensures that the code remains readable and maintainable.
To further enhance the clarity and maintainability, consider the following suggestions:
- Add a TODO comment to track the future work required to reintroduce the feature. This will make it easier to identify and plan the necessary changes when the time comes.
- If the feature is expected to be reintroduced in the near future, consider using a feature flag instead of commenting out the code. This will allow for easier toggling of the feature without modifying the code.
Overall, the changes effectively address the current requirements while keeping the door open for future enhancements.
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- apps/judicial-system/web/src/routes/Court/Indictments/Overview/Overview.tsx (1 hunks)
Additional context used
Path-based instructions (1)
apps/judicial-system/web/src/routes/Court/Indictments/Overview/Overview.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."
Datadog ReportAll test runs ✅ 22 Total Test Services: 0 Failed, 22 Passed Test ServicesThis report shows up to 10 services
🔻 Code Coverage Decreases vs Default Branch (1)
|
Hide the resend indictment button
Asana
What
Hide the resend indictment button
Why
This feature is no longer wanted. We do however plan on repurposing it later on so we decided to hold on to the functionality.
Checklist:
Summary by CodeRabbit
New Features
Impact