Project

General

Profile

Actions

Feature #35616

open

Remove "Delete" from the context menu for related issues

Added by Go MAEDA about 4 years ago. Updated about 16 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

A related issue has a context menu that is invoked by right-clicking the issue.

It contributes to improving usability, but it also causes certain misoperation. This is the accidental deletion of an issue. Sometimes users misunderstand "Delete" in the context menu as a menu item to delete the issue relation, and accidentally delete the issue. I have seen such users many times.

I don't think there are many cases where you want to delete issues in the "Related issues" section. In my opinion, It is rather harmful to have "Delete" in the menu.

I suggest removing the "Delete" from the context menu in order to avoid such accidents.


Files

Actions #1

Updated by Mischa The Evil about 4 years ago

I agree that this can be confusing for (novice) users and I think it applies to all places where such context menu has been added over the years (e.g. issue show subtask section, calendar, gantt, etc.).

Actions #2

Updated by Go MAEDA 7 days ago

I have created a patch that modifies the context menu for issues to remove the "Delete" action when the context menu is triggered outside the Issues list view. This change ensures that the "Delete" action is only available when the context menu is accessed from the Issues list, reducing the risk of accidental deletions in other views.

Please note that this patch is still a work in progress, and some tests in context_menus_controller_test.rb are currently failing.

Actions #3

Updated by Go MAEDA 4 days ago

I have created patches that show the "Delete" option in the issue context menu only when it is opened from the issues list, Gantt chart, or calendar. When the context menu is opened from other views, the "Delete" option is not included.

This helps prevent accidents, such as mistakenly deleting an issue when trying to remove a relation from the "Related issues" context menu.

Regarding #note-1, there was a suggestion to also remove "Delete" from the context menu opened from the calendar and Gantt chart. However, in these patches, "Delete" remains available in those views because the calendar and Gantt chart are alternative representations of the issues list, so I believe it is natural to keep "Delete" there.

Actions #5

Updated by Go MAEDA about 16 hours ago

  • Target version changed from Candidate for next major release to 6.1.0

Setting the target version to 6.1.0.

Actions

Also available in: Atom PDF