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(sheets): add watch API to ref-range-service #1635

Merged
merged 10 commits into from
Apr 10, 2024

Conversation

wzhudev
Copy link
Member

@wzhudev wzhudev commented Mar 19, 2024

close #xxx, #yyy, #zzzz

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

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

Project coverage is 29.96%. Comparing base (ecc0693) to head (2262545).
Report is 1 commits behind head on dev.

❗ Current head 2262545 differs from pull request most recent head 10eda64. Consider uploading reports for the commit 10eda64 to get more accurate results

Files Patch % Lines
packages/sheets/src/services/ref-range/util.ts 58.75% 33 Missing ⚠️
...sheets/src/services/ref-range/ref-range.service.ts 91.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1635      +/-   ##
==========================================
+ Coverage   29.90%   29.96%   +0.06%     
==========================================
  Files        1162     1162              
  Lines       62963    63095     +132     
  Branches    13232    13268      +36     
==========================================
+ Hits        18826    18909      +83     
- Misses      44137    44186      +49     

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

@wzhudev wzhudev mentioned this pull request Apr 7, 2024
74 tasks
Copy link
Member Author

@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.

Some issue need to be addressed. @ybzky

@@ -0,0 +1,435 @@
/**
Copy link
Member Author

Choose a reason for hiding this comment

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

Be careful with the file's name. It should be in kebab-case.

@@ -64,6 +103,38 @@ export class RefRangeService extends Disposable {
});
}

watchRange(unitId: string, subUnitId: string, range: IRange, callback: WatchRangeCallback): IDisposable {
Copy link
Member Author

Choose a reason for hiding this comment

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

This API seems not tested.

Copy link
Member Author

@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.

Some issue need to be addressed. @ybzky

@wzhudev wzhudev force-pushed the wzhudev/feat-watch-range-change branch from f0b3180 to 0ad7202 Compare April 10, 2024 06:37
@wzhudev wzhudev marked this pull request as ready for review April 10, 2024 06:38
Copy link

github-actions bot commented Apr 10, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@wzhudev wzhudev force-pushed the wzhudev/feat-watch-range-change branch from 2262545 to 10eda64 Compare April 10, 2024 06:44
@wzhudev wzhudev merged commit 5f7e9a2 into dev Apr 10, 2024
8 checks passed
@wzhudev wzhudev deleted the wzhudev/feat-watch-range-change branch April 10, 2024 06:47
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.

3 participants