Journal pages behaviour

Will it possible not to save empty journals pages? There are days I have no entries, yet the empty pages are kept, because the application was open, or was opened, that day. Is there a hidden setting for this, or is the solution to simply delete the empty journal pages left behind? TIA!

8 Likes

Did you work out how to solve this issue @Fastidious ? I am wanting to do the same thing.

1 Like

Sadly, not. No helpful reply has been received, and my search returned nothing.

I am not sure if a plug-in could solve this, based on file size.

1 Like

I posted about this issue on Discord too a few days ago, but there has been no helpful reply there also. I wonder what folks are doing to get around this. I am sure we are not the only ones who want to do something about this.

1 Like

This really bothers me too. I would be interested and grateful to hear if anyone has an idea of how to solve this.

It is doubtful the devs will be interested in adding this feature. It does not reduce complexity, nor make Logseq faster or more stable. It is strictly an aesthetic feature (programmatically speaking the empty file is not bothering anybody, it’s just there). Those are not high on the list.

If you want this feature then you should either: code a plugin yourself, find somebody who is willing to code it for you (it would not be a difficult plugin, list all journal pages that have no content, and delete those), or find more people who are bothered by it, until so many people ask for it that it gets added to the official todo list.

1 Like

I stumbled on a workaround I think.

In Logseq Settings > Editor > toggle “Journals” to off
… in addition …
In Logseq Settings > Plugins > Marketplace > install “Journals calendar”

Once you have changed the settings and installed the Journals calendar plugin, a journal entry is made only when you type in a journal entry. The added bonus is that you can view dates when journal entries were made by viewing the icon for the Journals calendar plugin.

Note: Blank journal pages created before these changes still appear. Hats off to the developer of the Journals calendar for this plugin. Thank you! :slight_smile:

5 Likes

One other workaround is to “Re-index” which will remove the indices for all the empty pages. The empty journal entries don’t have actual files under the journals/ directory, so they won’t show up after re-index.

I’m not aware of any risk to re-indexing.

3 Likes

@bottleneck Thanks so much for this workaround. This works much better than what I stumbled on. Thanks again! :slight_smile:

Sorry if that’s trivial, but

  • I don’t see any “Journals” item in Settings > Editor;
  • Re-index does not remove empty journal day.
    Any idea what I might be doing wrong? Thanks!

Welcome.

  • Journals item is currently the first item under Settings > Features
  • Instead of re-indexing, go to All pages and select Remove orphaned pages? from the three dots menu at the top-right.
1 Like

It works! Thank you so much!!