cvat
cvat copied to clipboard
Add page size for different pages
Motivation and context
The PR adds page size selector for different pages. Also added optimization logic into preview fetching: request for preview will only be sent when the card is in user view
How has this been tested?
Checklist
- [x] I submit my changes into the
developbranch - [ ] I have created a changelog fragment
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (see GitHub docs)
License
- [x] I submit my code changes under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Codecov Report
Attention: Patch coverage is 94.59459% with 2 lines in your changes missing coverage. Please review.
Project coverage is 73.78%. Comparing base (
dcccc44) to head (2cc905b).
Additional details and impacted files
@@ Coverage Diff @@
## develop #9527 +/- ##
===========================================
- Coverage 73.78% 73.78% -0.01%
===========================================
Files 448 448
Lines 46774 46776 +2
Branches 3943 3946 +3
===========================================
- Hits 34514 34513 -1
- Misses 12260 12263 +3
| Components | Coverage Δ | |
|---|---|---|
| cvat-ui | 77.71% <94.59%> (-0.02%) |
:arrow_down: |
| cvat-server | 70.73% <ø> (ø) |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
@bsekachev What do you think, should we add scrollbar into pages with card views?
Layout on jobs page changed if there are less than 10 cards (the same for projects page)
Also cannot apply any filter or search on jobs page (need to check other pages)
@klakhov Please add changelog entries
Quality Gate failed
Failed conditions
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE