dream-num / univer

Univer is an isomorphic full-stack framework for creating and editing spreadsheets, docs, and slides across client and server.
https://univer.ai
Apache License 2.0
7.53k stars 654 forks source link

feat(render-engine): page and paragraph layout #4157

Open Jocs opened 1 week ago

Jocs commented 1 week ago

close https://github.com/dream-num/univer-pro/issues/3512

Pull Request Checklist

github-actions[bot] commented 1 week ago

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link
github-actions[bot] commented 1 week ago

Playwright test results

failed  3 failed
passed  17 passed

Details

stats  20 tests across 9 suites
duration  5 minutes, 54 seconds
commit  fc9a2a6
info  For more information, see full report

Failed tests chromium › visual-comparison/sheets/sheets-visual-comparison.spec.ts › diff demo sheet content chromium › visual-comparison/sheets/sheets-visual-comparison.spec.ts › diff merged cells rendering chromium › visual-comparison/sheets/sheets-visual-comparison.spec.ts › diff merged cells rendering after scrolling
codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 1.11111% with 267 lines in your changes missing coverage. Please review.

Project coverage is 33.65%. Comparing base (2266cbd) to head (fc9a2a6).

Files with missing lines Patch % Lines
...ne-render/src/components/docs/layout/model/line.ts 0.00% 46 Missing :warning:
...-render/src/components/docs/layout/doc-skeleton.ts 0.00% 32 Missing :warning:
...onents/docs/layout/block/paragraph/layout-ruler.ts 0.00% 25 Missing :warning:
...render/src/components/docs/layout/model/section.ts 0.00% 21 Missing :warning:
...cs-ui/src/services/selection/convert-rect-range.ts 0.00% 18 Missing :warning:
.../engine-render/src/components/docs/layout/tools.ts 0.00% 18 Missing :warning:
.../components/docs/layout/block/paragraph/shaping.ts 0.00% 17 Missing :warning:
...ne-render/src/components/docs/layout/model/page.ts 0.00% 17 Missing :warning:
...i/src/views/doc-image-panel/DocDrawingPosition.tsx 0.00% 10 Missing :warning:
...ontrollers/doc-drawing-update.render-controller.ts 0.00% 9 Missing :warning:
... and 12 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #4157 +/- ## ========================================== - Coverage 33.68% 33.65% -0.03% ========================================== Files 2490 2490 Lines 128019 128132 +113 Branches 28692 28729 +37 ========================================== Hits 43126 43126 - Misses 84893 85006 +113 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.