Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: clean all pages component #2176

Merged
merged 24 commits into from
May 5, 2023
Merged

refactor: clean all pages component #2176

merged 24 commits into from
May 5, 2023

Conversation

lawvs
Copy link
Collaborator

@lawvs lawvs commented Apr 27, 2023

Move the all pages to the @affine/component

Screen.Recording.2023-05-03.at.6.20.44.PM.mov

@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Apr 27, 2023

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

Name Status Preview Comments Updated (UTC)
affine-preview ❌ Failed (Inspect) May 5, 2023 4:24am
affine-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2023 4:24am

@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 27, 2023 20:32 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 27, 2023 20:35 — with GitHub Actions Inactive
@vercel vercel bot temporarily deployed to Preview – affine-storybook April 27, 2023 20:35 Inactive
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 27, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3b28219
Status: ✅  Deploy successful!
Preview URL: https://3dd3e056.affine.pages.dev
Branch Preview URL: https://refactor-all-page.affine.pages.dev

View logs

@vercel vercel bot temporarily deployed to Preview – affine-preview April 27, 2023 20:39 Inactive
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch coverage: 71.61% and project coverage change: +0.64 🎉

Comparison is base (1b12972) 69.70% compared to head (3b28219) 70.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2176      +/-   ##
==========================================
+ Coverage   69.70%   70.35%   +0.64%     
==========================================
  Files         310      308       -2     
  Lines        6738     6766      +28     
  Branches     1105     1095      -10     
==========================================
+ Hits         4697     4760      +63     
+ Misses       1841     1809      -32     
+ Partials      200      197       -3     
Flag Coverage Δ
e2etest 67.44% <68.85%> (-0.15%) ⬇️
server-test 73.14% <ø> (ø)
storybook-test 54.85% <64.70%> (+4.15%) ⬆️
unittest 37.29% <9.77%> (+1.23%) ⬆️

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

Impacted Files Coverage Δ
...ffine/pinboard/pinboard-render/OperationButton.tsx 3.44% <ø> (+0.74%) ⬆️
...ace-header/header-right-items/EditorOptionMenu.tsx 64.28% <ø> (ø)
apps/web/src/pages/_debug/broadcast.dev.tsx 78.94% <ø> (ø)
...web/src/pages/workspace/[workspaceId]/favorite.tsx 66.66% <ø> (ø)
...s/web/src/pages/workspace/[workspaceId]/shared.tsx 11.11% <ø> (ø)
...ps/web/src/pages/workspace/[workspaceId]/trash.tsx 60.00% <ø> (ø)
apps/web/src/plugins/affine/index.tsx 67.22% <ø> (ø)
apps/web/src/plugins/local/index.tsx 90.90% <ø> (ø)
...onents/page-list/operation-menu-items/CopyLink.tsx 10.00% <ø> (ø)
...mponents/page-list/operation-menu-items/Export.tsx 61.11% <ø> (ø)
... and 11 more

... and 20 files with indirect coverage changes

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

@lawvs lawvs temporarily deployed to development April 28, 2023 04:45 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:45 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:45 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:45 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:45 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:46 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:48 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:53 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:53 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:53 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:53 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development April 28, 2023 04:53 — with GitHub Actions Inactive
@vercel vercel bot temporarily deployed to Preview – affine-storybook April 28, 2023 04:57 Inactive
@perfsee
Copy link

perfsee bot commented Apr 28, 2023

affine-toeverything

Bundle main

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

@@                       EntryPoint: main                        @@
##                     master …ctor/all-page                 +/- ##
===================================================================
< Bundle              3.11 MB        3.12 MB    +6.59 kB(+0.21%)   
> Initial JS          1.86 MB        1.86 MB    -3.69 kB(-0.20%)   
> Initial CSS         16.8 kB        16.7 kB        -2 B(-0.01%)   
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                   41             43                  +2   
< Chunks                   39             41                  +2   
= Packages                132            132                       
= Duplicates                3              3                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                    EntryPoint: pages/_app                     @@
##                     master …ctor/all-page                 +/- ##
===================================================================
< Bundle                 3 MB           3 MB    +6.52 kB(+0.22%)   
> Initial JS          1.75 MB        1.74 MB    -3.77 kB(-0.22%)   
> Initial CSS         16.8 kB        16.7 kB        -2 B(-0.01%)   
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                   39             41                  +2   
< Chunks                   37             39                  +2   
= Packages                132            132                       
= Duplicates                3              3                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                   EntryPoint: pages/_error                    @@
##                     master …ctor/all-page                 +/- ##
===================================================================
= Bundle              16.6 kB        16.6 kB                       
= Initial JS          16.6 kB        16.6 kB                       
= Initial CSS             0 B            0 B                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                    2              2                       
= Chunks                    2              2                       
= Packages                  5              5                       
= Duplicates                0              0                       

...and more

@vercel vercel bot temporarily deployed to Preview – affine-preview April 28, 2023 05:02 Inactive
@lawvs lawvs temporarily deployed to development May 4, 2023 16:42 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development May 4, 2023 16:42 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development May 4, 2023 16:42 — with GitHub Actions Inactive
@lawvs lawvs temporarily deployed to development May 4, 2023 16:43 — with GitHub Actions Inactive
# Conflicts:
#	apps/web/src/components/blocksuite/block-suite-page-list/page-list/DateCell.tsx
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:40 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:46 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:46 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:46 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:46 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development May 5, 2023 03:46 — with GitHub Actions Inactive
@himself65 himself65 merged commit 84b36c1 into master May 5, 2023
@himself65 himself65 deleted the refactor/all-page branch May 5, 2023 03:59
@vercel vercel bot temporarily deployed to Preview – affine-storybook May 5, 2023 04:56 Inactive
@vercel vercel bot temporarily deployed to Preview – affine-preview May 5, 2023 05:01 Inactive
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants