toeverything / blocksuite

🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.
https://blocksuite.io
Mozilla Public License 2.0
4.08k stars 352 forks source link

fix(edgeless): edgeless portal does not render new added blocks #7440

Closed doouding closed 1 week ago

doouding commented 1 week ago

Fixes BS-685

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 9:07am
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **blocksuite-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/toeverything/blocksuite-docs/GgBSe1pujisnEpk1jFGaiF8DJgZZ)) | [Visit Preview](https://blocksuite-docs-git-06-27-fixedgelessedgele-e68406-toeverything.vercel.app) | | Jun 27, 2024 9:07am |
graphite-app[bot] commented 1 week ago

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

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

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

doouding commented 1 week ago

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

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

Saul-Mirone commented 1 week ago

Can we add a test case for this?

L-Sun commented 1 week ago

I feel that the code logic before and after the change is almost the same. What caused this bug? 🤔

doouding commented 1 week ago

I feel that the code logic before and after the change is almost the same. What caused this bug? 🤔

I think lit cannot handle the repeat rendering in nested loop correctly. So I flat the array first.

doouding commented 1 week ago

Can we add a test case for this?

Done.

graphite-app[bot] commented 1 week ago

Merge activity