-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Array.toReversed replaced by Array.reduceRight because of better comp… #7916
Conversation
Warning Rate Limit Exceeded@bsekachev has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 14 minutes and 18 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughIn 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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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 UI
Review profile: CHILL
Files selected for processing (1)
- cvat-canvas/src/typescript/sliceHandler.ts (4 hunks)
Additional comments not posted (4)
cvat-canvas/src/typescript/sliceHandler.ts (4)
30-38
: The implementation oftoReversed
usingreduceRight
is correct and well-documented.
308-308
: Usage oftoReversed
for reversingotherPoints
under specific conditions is appropriate.
326-326
: Correct application oftoReversed
to handle the order ofintermediatePoints
based on intersection sequence.
340-340
: Proper use oftoReversed
to manage the order of points in different contour segments.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #7916 +/- ##
========================================
Coverage 83.34% 83.34%
========================================
Files 380 380
Lines 40024 40028 +4
Branches 3766 3766
========================================
+ Hits 33357 33361 +4
Misses 6667 6667
|
…atibility
Motivation and context
I saw some exceptions in analytics, where our users can't use slice function because their browsers are outdated.
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