Skip to content

Fix: update base image tag to avoid mismatched clojure version - #1297

Merged
tiensonqin merged 1 commit into
masterfrom
fix/update-base-image-tag
Feb 9, 2021
Merged

tiensonqin merged 1 commit into
masterfrom
fix/update-base-image-tag

Conversation

@RCmerci

@RCmerci RCmerci commented Feb 9, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@tiensonqin
tiensonqin merged commit 6485b09 into master Feb 9, 2021
@tiensonqin
tiensonqin deleted the fix/update-base-image-tag branch February 9, 2021 09:52
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 6, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 8, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 11, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 13, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 16, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 17, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 18, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 18, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 19, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 19, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 20, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 21, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 21, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 22, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 22, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 23, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 24, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 24, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 25, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 25, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 26, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 27, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 29, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 29, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 30, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 30, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 31, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Oct 31, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 1, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 2, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 3, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 3, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 4, 2026
get-top-level-blocks decided a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

When the first 2 blocks have different parents on the same page, the
selection is put in page order with ldb/sort-page-random-blocks.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 11, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 11, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 12, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 12, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 13, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 14, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 15, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 16, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 16, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 17, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 17, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 18, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 18, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 18, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 18, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
yuxi-liu-wired added a commit to yuxi-liu-wired/logseq that referenced this pull request Nov 18, 2026
…age order

get-top-level-blocks used to decide a consecutive selection was reversed by
comparing the :block/order of its first 2 blocks. Order values are
comparable only between siblings, but a last child and the block after
its parent count as consecutive too; for those 2 the values are
unrelated, and a move could reverse them (db-test logseq#1297: after an undo
re-orders the second block, the redo moves it first).

Master's aed1f88 (logseq#13449) now compares the 2 blocks by their document
order path (page, then each ancestor's order), which fixes this, so this
commit keeps only the regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants