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

feat: enhance markdown preview for backlinks #8956

Open
wants to merge 11 commits into
base: eyhn/indexer/markdown-preview
Choose a base branch
from

Conversation

pengx17
Copy link
Collaborator

@pengx17 pengx17 commented Nov 28, 2024

fix AF-1770
fix AF-1771


fix: doc link middlewares
feat: markdown renderer
feat: allow multiple backlink for a single doc
feat: showing correct doc ref link
feat: trim long para & ident lists
feat: list indentition fix
feat: database/latext handling
feat: other block types handling
fix: lint

Copy link

graphite-app bot commented Nov 28, 2024

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.

Copy link
Collaborator Author

pengx17 commented Nov 28, 2024

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

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

@pengx17 pengx17 changed the title fix: doc link middlewares feat: enhance markdown preview for backlinks Nov 28, 2024
Copy link

nx-cloud bot commented Nov 28, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 4582200. 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


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 64.68%. Comparing base (64d0b8c) to head (4582200).

Files with missing lines Patch % Lines
...ksuite/presets/_common/components/text-renderer.ts 0.00% 5 Missing ⚠️
...blocksuite/presets/_common/utils/markdown-utils.ts 0.00% 3 Missing ⚠️
.../src/blocksuite/presets/ai/utils/editor-actions.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                        @@
##           eyhn/indexer/markdown-preview    #8956      +/-   ##
=================================================================
- Coverage                          64.68%   64.68%   -0.01%     
=================================================================
  Files                                664      664              
  Lines                              37343    37342       -1     
  Branches                            3610     3609       -1     
=================================================================
- Hits                               24157    24156       -1     
  Misses                             12819    12819              
  Partials                             367      367              
Flag Coverage Δ
server-test 77.07% <ø> (ø)
unittest 34.58% <0.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

perfsee bot commented Nov 29, 2024

affine-toeverything

Bundle main

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

@@                        EntryPoint: app                        @@
##                     canary …eview-enhance                 +/- ##
===================================================================
< Bundle                23 MB        23.3 MB     +334 kB(+1.45%)   
< Initial JS          9.68 MB        9.71 MB    +26.9 kB(+0.28%)   
> Initial CSS          201 kB         200 kB      -731 B(-0.36%)   
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets                   77             83                  +6   
< Chunks                   75             81                  +6   
< Packages                291            292                  +1   
= Duplicates                6              6                       
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries                                
! Separate mixed content assets files                              
! Avoid cache wasting                                              

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:core mod:component mod:i18n Related to i18n test Related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant