logseq icon indicating copy to clipboard operation
logseq copied to clipboard

Toggle open blocks on long page causes two bugs including a crash

Open logseq-cldwalker opened this issue 3 years ago • 0 comments

What happened?

I tried toggling open blocks on https://docs.logseq.com/#/page/changelog to get an overview of the page. I encountered two bugs

Reproduce the Bug

  1. Go to https://docs.logseq.com/#/page/changelog page in docs graph
  2. Run Toggle open blocks command to close blocks
  3. First bug: Only first 3 top-level blocks are shown as collapsed and other top level blocks are not visible
  4. Run Toggle open blocks command to open blocks
  5. Encounter crash Error caught by UI! Error: Assert failed: Each block should have a different left node (= (count blocks) (count (set (map :block/left blocks))))

Expected Behavior

I can close and expand blocks on a long page and see all top-level blocks correctly

Screenshots

No response

Desktop Platform Information

osx 12.0.1

Mobile Platform Information

No response

Additional Context

No response

logseq-cldwalker avatar Aug 04 '22 14:08 logseq-cldwalker