AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

feat: display app version in setting panel

Open himself65 opened this issue 2 years ago • 5 comments

Related: https://github.com/toeverything/AFFiNE/issues/3168#issuecomment-1631062006

himself65 avatar Jul 11 '23 16:07 himself65

This branch is running in CodeSandbox. Use the links below to review this PR faster.
CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview

codesandbox[bot] avatar Jul 11 '23 16:07 codesandbox[bot]

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 12, 2023 3:06am
affine-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 12, 2023 3:06am
affine-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 12, 2023 3:06am

vercel[bot] avatar Jul 11 '23 16:07 vercel[bot]

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 897b271
Status: ✅  Deploy successful!
Preview URL: https://5c9f7fe7.affine-dev.pages.dev
Branch Preview URL: https://himself65-0712-version.affine-dev.pages.dev

View logs

Codecov Report

Patch coverage: 42.85% and project coverage change: +0.05 :tada:

Comparison is base (d88a21d) 68.13% compared to head (28f4e9c) 68.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3170      +/-   ##
==========================================
+ Coverage   68.13%   68.18%   +0.05%     
==========================================
  Files         347      348       +1     
  Lines        8300     8308       +8     
  Branches     1069     1067       -2     
==========================================
+ Hits         5655     5665      +10     
  Misses       2363     2363              
+ Partials      282      280       -2     
Flag Coverage Δ
e2etest 57.21% <0.00%> (+0.07%) :arrow_up:
e2etest-macos-latest-x64 ?
e2etest-ubuntu-latest-x64 46.80% <0.00%> (-0.01%) :arrow_down:
e2etest-windows-latest-x64 ?
server-test 79.00% <ø> (ø)
unittest 55.98% <100.00%> (+0.05%) :arrow_up:

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

Impacted Files Coverage Δ
...fine/setting-modal/general-setting/about/index.tsx 50.00% <0.00%> (ø)
packages/env/src/global.ts 95.65% <ø> (ø)
scripts/vitest/next-config-mock.ts 100.00% <ø> (ø)
apps/web/next.config.mjs 42.59% <100.00%> (+3.37%) :arrow_up:

... and 7 files with indirect coverage changes

: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 Jul 11 '23 16:07 codecov[bot]

affine-toeverything

Bundle main

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

@@                       EntryPoint: main                        @@
##                     master …/0712/version                 +/- ##
===================================================================
> Bundle              5.28 MB        5.27 MB      -250 B(-0.00%)   
> Initial JS          2.24 MB        2.24 MB      -111 B(-0.00%)   
= Initial CSS         73.1 kB        73.1 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                   71             71                       
= Chunks                   57             57                       
= Packages                207            207                       
= Duplicates               19             19                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid cache wasting                                              

@@                    EntryPoint: pages/_app                     @@
##                     master …/0712/version                 +/- ##
===================================================================
> Bundle              5.17 MB        5.17 MB      -250 B(-0.00%)   
> Initial JS          2.13 MB        2.13 MB      -111 B(-0.01%)   
= Initial CSS         73.1 kB        73.1 kB                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets                   69             69                       
= 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 …/0712/version                 +/- ##
===================================================================
= 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

perfsee[bot] avatar Jul 11 '23 17:07 perfsee[bot]

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 28f4e9cccf47d7f65b7ed3b794fbcdbd86746332. 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 1 target

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Jul 11 '23 19:07 nx-cloud[bot]