logseq / logseq/logseq

Empty Journal Pages are not auto deleted / hidden

Open
#3,312 6 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:type/enhancement
Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

**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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Reproduce the journal-page behavior in the desktop app, then trace where journal pages are created; done means an untouched empty journal is neither persisted nor remains visible, with a regression test if the relevant test area is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.