Feature #43261
open
Add border-bottom to issue history to avoid accidental issue deletion
Added by Go MAEDA about 2 months ago.
Updated about 2 months ago.
Description
This patch adds a divider line at the bottom of the issue history. The purpose is to clearly separate the last comment from the issue action menu below it, so users don't accidentally delete the whole issue when they only meant to delete the last comment.
In Redmine 4.0.0, a border around the whole history was introduced for the same reason (#26662). However, in Redmine 6.1.0 the new design removed this border, bringing back the same risk that existed before version 4.0.0.
To address this, the patch adds a border-bottom at the end of the history. This makes it clear, as in Redmine 6.0 and earlier, that the menu is not part of the last comment. As a result, it prevents accidental issue deletion.
Before:

After:

Files
- Related to Patch #26662: Add border around issue history to prevent accidental deletion of an issue added
I agree that making the "Delete" action more distinct is a valid concern. However, I have a few thoughts on the proposed border solution:
- while a border would add emphasis, it might contribute to visual clutter if applied inconsistently. My preference is generally for cleaner interfaces.
- the risk of accidental deletion has already been significantly mitigated by #31278 (implemented in Redmine 5.0.0), which adds the object's name to the confirmation prompt. This ensures the user is fully aware of what they are deleting.
- as an alternative:
1. what about styling the action links as buttons? This is a more conventional UI pattern for actions.
2. update the confirmation message for delete note to be more explicit?
Also, when the user chose to display comments in reverse chronological order, the issue actions are show above the history.
Also available in: Atom
PDF