UI Enhancement: Separate "Remove Page" and "Rename Page" in page context menu to prevent accidental deletion
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Reproduce by right-clicking a page tab and note the menu item order. Locate where that page-tab context menu and its item click handlers are assembled in the drawio editor UI, then add a separator or move Remove Page below routine actions; if adding confirmation, wire it before the delete handler. Done when the destructive item is visibly separated and cannot be confused with rename.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
In the page tab context menu, "Remove Page" and "Rename Page" are positioned directly below to each other. Because both options share the same prefix ("Re-"), are nearly identical in length, and trigger immediately without a confirmation dialog, it is very easy to accidentally delete a page while trying to rename it.
Describe the solution you'd like
To reduce accidental page deletions, please consider one or more of the following UI adjustments to the page context menu:
- Add a horizontal separator line between routine actions (like "Rename Page" and "Duplicate") and destructive actions ("Remove Page").
- Move "Remove Page" to the very bottom of the context menu.
- Add a brief confirmation prompt (or highlight the text in red) when "Remove Page" is clicked.
Describe alternatives you've considered
Double-clicking the page tab works as a safe workaround for renaming, and Ctrl+Z / Cmd+Z recovers deleted pages, but separating the options in the right-click menu would prevent unnecessary user panic and align with standard UI safety practices.
For context:
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jgraph/drawio
-
Requesting a VPAT for app.diagrams.netPossibly taken @alderg claimed this 24 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Import TablesOpenenhancement possible-duplicate
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Heavy SVG images in custom libraries are re-rasterized on every scroll/zoom frame (shape panel and canvas)Possibly taken @alderg claimed this 5 days ago. Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 82/100
Leonxlnx/taste-skill#216 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
all-contributors/cli#690 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: ui Bug Payload OSS
Difficulty 1/5 Under an hour Newbie friendliness 88/100
payloadcms/payload#19839 ·
Maintainers usually reply within 1 day