logseq / logseq/db-test

Deleting multiple pages using shift-click only deletes the first and last page

Open
#1,096 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

When I select multiple pages using shift (click on the first page, hold shift and click on the last page to select all pages in between) in the table on the "Pages" page to delete them, only the first and last are deleted. This works if I manually select and unselect the pages before using shift-select.

### Reproduce the Bug

- Go to the page "Pages"
- Select a page (checkbox)
- Hold shift
- Select another page
- Click on the delete icon in the popup window
- The confirmation windows only lists the first and last page

### Expected Behavior

- Go to the page "Pages"
- Select a page (checkbox)
- Hold shift
- Select another page
- Click on the delete icon in the popup window
- All selected pages are deleted

### Screenshots

https://github.com/user-attachments/assets/3f5dd492-e696-48df-a20d-e092e7958301

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

MacOS Tahoe 26.5.2, Logseq desktop App 2.0.1

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

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 at the Pages page, focusing on the table checkboxes, shift-selection behavior, and the delete icon in the popup window. Reproduce the selection and inspect how the confirmation window builds its page list. Done means every page between the first and last selection appears in the confirmation and is deleted.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.