Undo Function should move page According to where the undo occurs

Not too sure if this should be considered as a bug or a feature request but here goes:

It would be great if the undo function could be improved so that when pressing undo and this changes something on a non-active note, the page in the display changes.

For example as things currently are:

  • Write “Hello” on Page 111
  • Move to Page 222 and write “Goodbye”
  • Pressing ctrl + z (continuously) will undo the “Goodbye” and the “Hello” while keeping you on Page 222.

Would be good that the page moves where the undo function is occurring to avoid potentially deleted data.

The issue was handled here Enhance/undo redo by tiensonqin · Pull Request #9048 · logseq/logseq · GitHub
You will now be navigated to the corresponding page, when you undo/redo.