cvat icon indicating copy to clipboard operation
cvat copied to clipboard

Add page size for different pages

Open klakhov opened this issue 5 months ago • 3 comments

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 develop branch
  • [ ] 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.

klakhov avatar Jun 11 '25 11:06 klakhov

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.

codecov-commenter avatar Jun 11 '25 16:06 codecov-commenter

@bsekachev What do you think, should we add scrollbar into pages with card views?

klakhov avatar Jun 11 '25 16:06 klakhov

Layout on jobs page changed if there are less than 10 cards (the same for projects page) image

Also cannot apply any filter or search on jobs page (need to check other pages) image

bsekachev avatar Jun 18 '25 07:06 bsekachev

@klakhov Please add changelog entries

bsekachev avatar Jun 26 '25 09:06 bsekachev

Quality Gate Failed 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

sonarqubecloud[bot] avatar Jun 27 '25 07:06 sonarqubecloud[bot]