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(workspace): check affine login auth #2070

Merged
merged 7 commits into from Apr 22, 2023
Merged

Conversation

himself65
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Apr 21, 2023

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 22, 2023 1:44am
affine-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2023 1:44am

@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:08 — with GitHub Actions Inactive
@github-actions github-actions bot added app:web mod:workspace Related to workspace labels Apr 21, 2023
@himself65 himself65 temporarily deployed to development April 21, 2023 21:10 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Patch coverage: 77.41% and project coverage change: -0.25 ⚠️

Comparison is base (2c95a0a) 74.15% compared to head (476ad4b) 73.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2070      +/-   ##
==========================================
- Coverage   74.15%   73.90%   -0.25%     
==========================================
  Files         299      298       -1     
  Lines        5931     5963      +32     
  Branches     1093     1093              
==========================================
+ Hits         4398     4407       +9     
- Misses       1311     1331      +20     
- Partials      222      225       +3     
Flag Coverage Δ
e2etest 72.64% <69.35%> (-0.22%) ⬇️
server-test 90.78% <ø> (ø)
storybook-test 49.05% <ø> (ø)
unittest 37.35% <24.52%> (-0.25%) ⬇️

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

Impacted Files Coverage Δ
apps/web/src/pages/index.tsx 87.09% <ø> (ø)
packages/workspace/src/affine/channel.ts 65.21% <0.00%> (-4.56%) ⬇️
apps/web/src/plugins/affine/index.tsx 67.22% <76.66%> (+2.80%) ⬆️
.../src/hooks/affine/use-affine-refresh-auth-token.ts 78.94% <78.57%> (-7.72%) ⬇️
apps/web/src/blocksuite/providers/affine/index.ts 88.23% <80.00%> (-5.52%) ⬇️
...hooks/use-sync-router-with-current-workspace-id.ts 61.53% <100.00%> (+6.99%) ⬆️
apps/web/src/layouts/workspace-layout.tsx 87.70% <100.00%> (+0.06%) ⬆️
packages/env/src/constant.ts 100.00% <100.00%> (ø)
packages/workspace/src/affine/api/index.ts 65.26% <100.00%> (ø)
packages/workspace/src/utils.ts 72.72% <100.00%> (+2.72%) ⬆️

... and 8 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.

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

@vercel vercel bot temporarily deployed to Preview – affine-preview April 21, 2023 21:13 Inactive
@perfsee
Copy link

perfsee bot commented Apr 21, 2023

affine-toeverything

Bundle main

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

@@                       EntryPoint: main                        @@
##                     master …21-check-auth                 +/- ##
===================================================================
< Bundle              4.26 MB        4.26 MB      +912 B(+0.02%)   
< Initial JS          1.74 MB        1.75 MB      +912 B(+0.05%)   
= Initial CSS         13.2 kB        13.2 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                   43             43                       
= Chunks                   41             41                       
= Packages                150            150                       
= Duplicates                5              5                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                    EntryPoint: pages/_app                     @@
##                     master …21-check-auth                 +/- ##
===================================================================
< Bundle              4.15 MB        4.16 MB      +912 B(+0.02%)   
< Initial JS          1.64 MB        1.64 MB      +912 B(+0.06%)   
= Initial CSS         13.2 kB        13.2 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                   41             41                       
= Chunks                   39             39                       
= Packages                150            150                       
= Duplicates                5              5                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid non-minified assets                                        
! Avoid cache wasting                                              

@@                   EntryPoint: pages/_error                    @@
##                     master …21-check-auth                 +/- ##
===================================================================
= 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

@himself65 himself65 temporarily deployed to development April 21, 2023 21:13 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:13 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:13 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 21, 2023 21:13 — with GitHub Actions Inactive
@cloudflare-pages
Copy link

cloudflare-pages bot commented Apr 21, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 476ad4b
Status: ✅  Deploy successful!
Preview URL: https://1fe33e35.affine.pages.dev
Branch Preview URL: https://himself65-0421-check-auth.affine.pages.dev

View logs

@vercel vercel bot temporarily deployed to Preview – affine-storybook April 21, 2023 21:16 Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 00:43 — with GitHub Actions Inactive
@vercel vercel bot temporarily deployed to Preview – affine-storybook April 22, 2023 01:21 Inactive
@vercel vercel bot temporarily deployed to Preview – affine-preview April 22, 2023 01:26 Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:26 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:35 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:38 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:39 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:39 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:39 — with GitHub Actions Inactive
@himself65 himself65 temporarily deployed to development April 22, 2023 01:39 — with GitHub Actions Inactive
@vercel vercel bot temporarily deployed to Preview – affine-preview April 22, 2023 01:41 Inactive
@himself65 himself65 merged commit 1ca9fb8 into master Apr 22, 2023
21 of 23 checks passed
@himself65 himself65 deleted the himself65/0421-check-auth branch April 22, 2023 01:44
@vercel vercel bot temporarily deployed to Preview – affine-storybook April 22, 2023 01:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant