logseq icon indicating copy to clipboard operation
logseq copied to clipboard

Empty Journal Pages are not auto deleted / hidden

Open alanzchen opened this issue 4 years ago • 6 comments

Describe the bug There are a lot of empty journal pages that is not auto deleted.

To Reproduce

  1. Use Logseq like usual but do not write any journals. I use journals occasionally so I keep it enabled.
  2. A few days later, there are empty journal pages which are annoying.

Expected behavior If a journal page is empty, it should not be saved or should be auto deleted.

Desktop (please complete the following information):

  • OS: macOS
  • Version 0.5.1

Additional context I think it is introduced in version 5.0 where it will

Create today's page when redirect to the home or scrolling to the top of journals

This is a nice-to-have feature, but it should also remove the journal if I didn't write anything.

alanzchen avatar Nov 29 '21 22:11 alanzchen

Thanks for your suggestion! Also LogSeq has a feature called Remove orphaned pages (删除空页面) in the All pages tab that you may like to try

cnrpman avatar Nov 30 '21 02:11 cnrpman

The empty journals do not appear as files in the journal folder. But they are present within the logseq/pages-metadata.edn file.

chadkennedyonline avatar Nov 30 '21 14:11 chadkennedyonline

My workaround is to simply re-index pages. That purges the empty journals from the pages-metadata.edn.

reegnz avatar Jun 30 '22 19:06 reegnz

Bumped into this problem too. @reegnz your workaround does help indeed, thanks! However, it'd be great if Logseq would clean empty journal pages automatically.

arrowd avatar Feb 25 '24 15:02 arrowd

@cnrpman Seems like this is what the community is asking for. Could you consider implementing this in Logseq? Should be an easy fix.

alanzchen avatar Feb 26 '24 16:02 alanzchen

Yeah, as we create a lot of knowledge base type of vaults/graphs, and then we have a lot of contentful clusters of pages that are disconnected from each other , therefore many orphans with meaningful content. So "remove orphan pages" is not solution.

Auto deleting older empty journal pages (that logseq automatically creates...) just makes sense to me (as default setting).

gwpl avatar Jun 25 '24 14:06 gwpl