logseq / logseq/db-test

Deleting pages via the trash icon in a table lacks a confirmation dialog (unlike context menu)

Open Beginner friendly
#1,211 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 deleting a page via the context menu of a page title, a confirmation dialog appears to prevent accidental deletion. However, when selecting pages within a table and clicking the trash icon to delete them, the pages are deleted immediately without any confirmation prompt. This is inconsistent and potentially dangerous for data loss.

### Reproduce the Bug

1. Go to a table view containing pages/nodes.
2. Select one or multiple rows/pages.
3. Click the trash icon in the toolbar/actions to delete the selected pages.

**Observed:** The pages are deleted instantly without asking for confirmation.

### Expected Behavior

Deleting pages from a table view via the trash icon should trigger the same confirmation dialog as deleting a page from its title context menu to prevent accidental data loss.

### Screenshots

_No response_

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

- Platform: Linux Desktop
- Version: 2.0.1-alpha+nightly.20260917 (DB beta)

### Additional Context

Inconsistency between UI entry points: Page title context menu asks for confirmation, but bulk/table deletion via the trash icon does not.

### 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 by locating the table view toolbar action for deleting selected pages, then compare it with the page title context-menu deletion flow that already shows a confirmation dialog. Reproduce the issue with one and multiple selected rows; done means both table and context-menu deletion paths consistently request confirmation before deleting.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.