AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

feat: init web worker for indexeddb

Open himself65 opened this issue 2 years ago • 2 comments

himself65 avatar Apr 14 '23 23:04 himself65

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
affine-preview ✅ Ready (Inspect) Visit Preview Apr 17, 2023 4:39am
affine-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2023 4:39am

vercel[bot] avatar Apr 14 '23 23:04 vercel[bot]

Codecov Report

Patch coverage: 75.00% and project coverage change: -14.14 :warning:

Comparison is base (f534e4a) 75.45% compared to head (141f8f0) 61.32%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1956       +/-   ##
===========================================
- Coverage   75.45%   61.32%   -14.14%     
===========================================
  Files         278      265       -13     
  Lines        5378     4817      -561     
  Branches     1045      816      -229     
===========================================
- Hits         4058     2954     -1104     
- Misses       1086     1660      +574     
+ Partials      234      203       -31     
Flag Coverage Δ
e2etest 61.56% <75.00%> (-13.06%) :arrow_down:
storybook-test 50.63% <ø> (ø)
unittest ?

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

Impacted Files Coverage Δ
packages/workspace/src/providers/index.ts 45.23% <ø> (-10.32%) :arrow_down:
packages/workspace/src/type.ts 100.00% <ø> (ø)
packages/workspace/src/utils.ts 68.18% <41.66%> (-31.82%) :arrow_down:
apps/web/src/pages/_app.tsx 66.66% <50.00%> (-2.09%) :arrow_down:
apps/web/src/layouts/workspace-layout.tsx 78.97% <66.66%> (-7.96%) :arrow_down:
packages/y-indexeddb/src/index.ts 37.34% <66.66%> (-51.41%) :arrow_down:
...rkspace/src/providers/indexeddb-worker/main-api.ts 80.00% <80.00%> (ø)
.../workspace/src/providers/indexeddb-worker/index.ts 87.87% <87.87%> (ø)
...s/workspace/src/providers/indexeddb-worker/main.ts 100.00% <100.00%> (ø)

... and 159 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Apr 14 '23 23:04 codecov[bot]

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 141f8f0
Status: ✅  Deploy successful!
Preview URL: https://cc66cfae.affine.pages.dev
Branch Preview URL: https://himself65-0414-worker.affine.pages.dev

View logs

affine-toeverything

Bundle main

diff ------------------- Bundle Size Diff -------------------------

@@                       EntryPoint: main                        @@
##                     master …5/0414-worker                 +/- ##
===================================================================
< Bundle              4.27 MB        4.28 MB    +9.07 kB(+0.21%)   
< Initial JS          1.89 MB        1.89 MB    +1.38 kB(+0.07%)   
= Initial CSS         3.13 kB        3.13 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                   41             44                  +3   
< Chunks                   39             42                  +3   
< Packages                162            163                  +1   
= Duplicates                5              5                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                    EntryPoint: pages/_app                     @@
##                     master …5/0414-worker                 +/- ##
===================================================================
< Bundle              4.17 MB        4.17 MB    +8.94 kB(+0.21%)   
< Initial JS          1.79 MB        1.79 MB    +1.24 kB(+0.07%)   
= Initial CSS         3.13 kB        3.13 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                   39             42                  +3   
< Chunks                   37             40                  +3   
< Packages                162            163                  +1   
= Duplicates                5              5                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                   EntryPoint: pages/_error                    @@
##                     master …5/0414-worker                 +/- ##
===================================================================
= Bundle              16.7 kB        16.7 kB                       
= Initial JS          16.7 kB        16.7 kB                       
= Initial CSS             0 B            0 B                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                    2              2                       
= Chunks                    2              2                       
= Packages                  5              5                       
= Duplicates                0              0                       

...and more

perfsee[bot] avatar Apr 17 '23 03:04 perfsee[bot]