AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

chore: filter out edgeless content from page preview

Open lawvs opened this issue 2 years ago • 2 comments

The surface block is a special block that contains edgeless data, its information is not helpful for page preview

Screenshot 2024-01-16 at 22 01 02

lawvs avatar Jan 16 '24 14:01 lawvs

Codecov Report

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

Project coverage is 64.33%. Comparing base (228b0d7) to head (1d30526). Report is 1 commits behind head on canary.

Files Patch % Lines
...mponents/page-list/use-block-suite-page-preview.ts 16.66% 4 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #5607      +/-   ##
==========================================
- Coverage   64.34%   64.33%   -0.01%     
==========================================
  Files         360      360              
  Lines       19951    19954       +3     
  Branches     1702     1703       +1     
==========================================
  Hits        12837    12837              
- Misses       6894     6896       +2     
- Partials      220      221       +1     
Flag Coverage Δ
server-test 71.23% <ø> (ø)
unittest 45.10% <16.66%> (-0.03%) :arrow_down:

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

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

codecov[bot] avatar Jan 16 '24 14:01 codecov[bot]