Skip to content
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

feat: enhance image and path in renderer and optimize middleare ruler #316

Merged
merged 1 commit into from
May 26, 2024

Conversation

chenshenhai
Copy link
Member

  • feat(renderer): add scaleMode to enhance image of renderer
  • feat(renderer): add fillRule to enhance path of renderer
  • feat(core): optimize grid render of ruler middleware
  • refactor: rename helperContext and underContext to overlayContext and underlayContext

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 119 lines in your changes are missing coverage. Please review.

Project coverage is 7.40%. Comparing base (75eb760) to head (809c704).
Report is 115 commits behind head on main.

Files Patch % Lines
packages/renderer/src/draw/image.ts 0.00% 30 Missing and 7 partials ⚠️
packages/core/src/middleware/ruler/util.ts 0.00% 14 Missing and 4 partials ⚠️
packages/util/src/lib/canvas.ts 0.00% 18 Missing ⚠️
packages/core/src/middleware/selector/index.ts 0.00% 12 Missing ⚠️
packages/core/src/middleware/ruler/index.ts 0.00% 8 Missing and 1 partial ⚠️
packages/board/src/index.ts 0.00% 5 Missing ⚠️
packages/board/src/lib/viewer.ts 0.00% 5 Missing ⚠️
packages/core/src/middleware/info/index.ts 0.00% 4 Missing ⚠️
packages/core/src/middleware/scroller/util.ts 0.00% 2 Missing and 2 partials ⚠️
packages/core/src/middleware/scroller/index.ts 0.00% 3 Missing ⚠️
... and 2 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##            main    #316      +/-   ##
========================================
- Coverage   7.46%   7.40%   -0.07%     
========================================
  Files         92      92              
  Lines       5893    5944      +51     
  Branches    1120    1131      +11     
========================================
  Hits         440     440              
- Misses      4388    4428      +40     
- Partials    1065    1076      +11     
Flag Coverage Δ
unittests 7.40% <0.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chenshenhai chenshenhai merged commit f8ef4ff into main May 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants