Imagine we created a page-link like this:
[[doing/task/Task1]]
Now if we rename it to something like
[[done/task/Task1]]
its properties don’t get updated properly, specifically its data-refs-self HTML attribute will contain:
["doing", "doing/task", "done/task/Task1"]
As you see, the first two members are old. It should have been instead:
["done", "done/task", "done/task/Task1"]
The only way I found so far to fix this is to run the Re-index procedure, which closes all opened blocks.
What it breaks in my case - is styling. I color links depending on their “status”. E.g:
div[data-refs-self*='"done/'] {
--lx-accent-11: #ccc;
color: #ccc;
}
I also created a bug report in github as this forum seems a little abandoned": Page renaming doesn't fully invalidate its html attribute `data-refs-self` · Issue #12187 · logseq/logseq · GitHub