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

fix: rectangle subtract func #1647

Merged
merged 4 commits into from
Mar 20, 2024
Merged

fix: rectangle subtract func #1647

merged 4 commits into from
Mar 20, 2024

Conversation

yuhongz
Copy link
Contributor

@yuhongz yuhongz commented Mar 20, 2024

close #xxx, #yyy, #zzzz

@univer-bot univer-bot bot added the qa:untested This PR is ready to be tested label Mar 20, 2024
Copy link

github-actions bot commented Mar 20, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

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

Project coverage is 32.91%. Comparing base (c39799f) to head (28a01a4).

Files Patch % Lines
...ages/engine-render/src/basics/viewport-subtract.ts 0.00% 19 Missing ⚠️
packages/engine-render/src/viewport.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1647      +/-   ##
==========================================
+ Coverage   32.89%   32.91%   +0.02%     
==========================================
  Files         933      934       +1     
  Lines       52494    52514      +20     
  Branches    11002    11012      +10     
==========================================
+ Hits        17267    17286      +19     
- Misses      35227    35228       +1     

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

Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


import { Rectangle } from '../rectangle';

describe('test rectangle', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
describe('test rectangle', () => {
describe('test "Rectangle"', () => {

Please use double quotes to surrond the API you're about to test.

packages/core/src/shared/__test__/rectangle.spec.ts Outdated Show resolved Hide resolved
Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuhongz yuhongz force-pushed the yuhongz/fix-rectangle branch from 5969ba8 to cac2892 Compare March 20, 2024 12:05
@yuhongz yuhongz force-pushed the yuhongz/fix-rectangle branch from cac2892 to 28a01a4 Compare March 20, 2024 12:10
@yuhongz yuhongz added qa:verified This PR has already by verified by a QA and is considered good enough to be merge and removed qa:untested This PR is ready to be tested labels Mar 20, 2024
@yuhongz yuhongz merged commit 345fddc into dev Mar 20, 2024
8 checks passed
@yuhongz yuhongz deleted the yuhongz/fix-rectangle branch March 20, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa:verified This PR has already by verified by a QA and is considered good enough to be merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants