-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Predefined number of points in single shape mode disabled by default #8635
Conversation
WalkthroughThe changes in this pull request focus on the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Sidebar
participant Reducer
User->>Sidebar: Interacts with component
Sidebar->>Reducer: Initialize state
Reducer-->>Sidebar: Return initial state
Sidebar-->>User: Render updated UI
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)cvat-ui/src/components/annotation-page/single-shape-workspace/single-shape-sidebar/single-shape-sidebar.tsx (1)
The modifications correctly implement the requirement to disable predefined points by default:
The implementation is clean and maintains backward compatibility while changing the default behavior. Let's verify the usage of ✅ Verification successfulThe changes are safe and correctly implemented The codebase analysis shows that
The changes maintain backward compatibility while implementing the new default behavior:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for any other components that might be affected by defaultPointsCount
# Test: Search for defaultPointsCount usage. Expect: Only usage in query parameters and initialization.
rg "defaultPointsCount" -A 3
Length of output: 7189 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
CodeRabbit Configuration File (
|
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8635 +/- ##
===========================================
- Coverage 74.33% 74.29% -0.04%
===========================================
Files 401 401
Lines 43395 43395
Branches 3945 3945
===========================================
- Hits 32258 32241 -17
- Misses 11137 11154 +17
|
Motivation and context
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.
Summary by CodeRabbit
Bug Fixes
Chores