feat: update server login feature
Cherry-pick from https://github.com/toeverything/AFFiNE/tree/himself65/0629-login
This branch is running in CodeSandbox. Use the links below to review this PR faster.
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| affine-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 4, 2023 6:17pm |
| affine-preview | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 4, 2023 6:17pm |
| affine-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 4, 2023 6:17pm |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit b3e477cfdb094454972927216008aef75bfc08ea. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 2 targets
Sent with 💌 from NxCloud.
Codecov Report
Patch coverage: 85.18% and project coverage change: +0.14 :tada:
Comparison is base (
b4f7eb3) 65.93% compared to head (b3e477c) 66.07%.
Additional details and impacted files
@@ Coverage Diff @@
## master #3004 +/- ##
==========================================
+ Coverage 65.93% 66.07% +0.14%
==========================================
Files 347 347
Lines 8252 8295 +43
Branches 1068 1069 +1
==========================================
+ Hits 5441 5481 +40
- Misses 2522 2526 +4
+ Partials 289 288 -1
| Flag | Coverage Δ | |
|---|---|---|
| e2etest | 55.40% <ø> (ø) |
|
| e2etest-macos-latest-x64 | ∅ <ø> (∅) |
|
| e2etest-ubuntu-latest-x64 | 39.63% <ø> (ø) |
|
| e2etest-windows-latest-x64 | ∅ <ø> (∅) |
|
| server-test | 78.91% <85.18%> (+0.30%) |
:arrow_up: |
| unittest | 57.09% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...ps/server/src/modules/auth/next-auth.controller.ts | 38.58% <76.47%> (+6.30%) |
:arrow_up: |
| apps/server/src/config/def.ts | 90.53% <100.00%> (+0.23%) |
:arrow_up: |
| apps/server/src/config/default.ts | 97.29% <100.00%> (+0.21%) |
:arrow_up: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
affine-toeverything
Bundle main
diff ------------------- Bundle Size Diff -------------------------
@@ EntryPoint: main @@
## master …4/cherry-pick +/- ##
===================================================================
> Bundle 5.23 MB 5.23 MB -216 B(-0.00%)
> Initial JS 2.21 MB 2.21 MB -149 B(-0.01%)
= Initial CSS 71 kB 71 kB
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets 72 72
= Chunks 57 57
= Packages 207 207
= Duplicates 19 19
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries
! Separate mixed content assets files
@@ EntryPoint: pages/_app @@
## master …4/cherry-pick +/- ##
===================================================================
> Bundle 5.12 MB 5.12 MB -216 B(-0.00%)
> Initial JS 2.1 MB 2.1 MB -149 B(-0.01%)
= Initial CSS 71 kB 71 kB
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets 70 70
= Chunks 55 55
= Packages 207 207
= Duplicates 19 19
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries
! Separate mixed content assets files
! Avoid cache wasting
@@ EntryPoint: pages/_error @@
## master …4/cherry-pick +/- ##
===================================================================
= 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
Deploying with
Cloudflare Pages
| Latest commit: |
b3e477c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://21c0e01b.affine-dev.pages.dev |
| Branch Preview URL: | https://himself65-0704-cherry-pick.affine-dev.pages.dev |