AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

fix(core): use doc mode enum type

Open fundon opened this issue 1 year ago • 4 comments

Need to wait for the latest blocksuite release.

Use DocMode enum type uniformly

https://github.com/toeverything/blocksuite/blob/d9964057b5e3bed9ef0251cf8887e4a605eba952/packages/affine/model/src/consts/doc.ts#L1-L22

fundon avatar Aug 30 '24 08:08 fundon

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

graphite-app[bot] avatar Aug 30 '24 08:08 graphite-app[bot]

[!WARNING] This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Learn more

  • #8022 Graphite
  • #8029 Graphite 👈
  • #8004 Graphite
  • #8002 Graphite
  • #7946 Graphite: 2 other dependent PRs (#8001 Graphite, #8056 Graphite)
  • #7933 Graphite
  • #7886 Graphite
  • canary

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @fundon and the rest of your teammates on Graphite Graphite

fundon avatar Aug 30 '24 08:08 fundon

☁️ Nx Cloud Report

CI is running/has finished running commands for commit cec2c0a38266f780b5e64a513e469d839822a639. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
nx test:coverage @affine/monorepo
✅ Successfully ran 5 targets

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Aug 30 '24 08:08 nx-cloud[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.65%. Comparing base (5b16198) to head (cec2c0a).

Additional details and impacted files
@@                                  Coverage Diff                                  @@
##           fundon/refactor/08_28_setup_code_block_toolbar_entry    #8029   +/-   ##
=====================================================================================
  Coverage                                                 77.65%   77.65%           
=====================================================================================
  Files                                                       217      217           
  Lines                                                     24912    24912           
  Branches                                                   1584     1584           
=====================================================================================
  Hits                                                      19345    19345           
  Misses                                                     5511     5511           
  Partials                                                     56       56           
Flag Coverage Δ
server-test 77.65% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 30 '24 08:08 codecov[bot]