logseq / logseq/logseq

Two clicks required to mark off tasks in whiteboards

Open
#7,580 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### What Happened?

I have a query in one of my whiteboards that loads some tasks as a list.

When I go to check off one of these tasks the first click "activates" the block that contains the query/list and then a second click is required to mark off the task.

I believe this is a bug because the convention used throughout Logseq for tasks, regardless of their origin (static or pulled by query) is a single click is all that is needed to mark off a task.

I believe this convention should be followed in whiteboards.

No matter what block is currently active, clicking on the checkbox of any task in any block should mark it off in one click.

The double clicking adds a lot of friction.

### Reproduce the Bug

1. Copy one of the default daily todo queries from `config.edn` and put it inside a whiteboards block
2. Click the background of the whiteboard or another block.
3. Hover the mouse cursor over a pending todo/task's checkbox.
4. Click the checkbox.
5. You'll need to click again, as that first click only focuses the block.

### Expected Behavior

1. Copy one of the default daily todo queries from `config.edn` and put it inside a whiteboards block
2. Click the background of the whiteboard or another block.
3. Hover the mouse cursor over a pending todo/task's checkbox.
4. Click the checkbox. Now the task is complete.

The focus of the block containing the tasks is ignored for the purposes of checking off todo items.

### Screenshots

_No response_

### Desktop or Mobile Platform Information

macOS 13.
Logseq 0.8.12

### Additional Context

_No response_

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

Start by reproducing the interaction with a default daily todo query from config.edn inside a whiteboard, then inspect the whiteboard block and task-checkbox handling. Done means a pending task is marked complete with one click regardless of which block is focused, matching normal task behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.