プロジェクト

全般

プロフィール

Vote #81820

完了

Change "Delete" entry in issue context to "Delete issue(s)"

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
36585
author_id:
127719
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[Closed]

説明

Similarly to #31278, this context entry can be interpreted wrongly. Specifically, one redmine user did the following:

  1. Opened an issue (issue#view) (redmine:3000/issues/40, for example)
  2. Added a related issue (41, for example)
  3. Decided to delete the relation
  4. Opened the context menu, instead of clicking on the broken link icon (the one with the tooltip "Delete relation", but who reads tooltips?)
  5. Clicked on the "Delete" button
  6. Clicked OK on the popup (the text there could be more straightforward, for example: "Delete issue(s)? Are you sure?" but who reads popups?)
  7. Later, called support (me) asking why the issue disappeared?

The problem is not the user not reading the popups. Various popus in Redmine are written like this: "Are you sure you want to" whatever. This is not the best way to write confirmation popups, but even with a strightforward text, lie in the example above, popups are rather dismissed than acknowledged.

The problem here is the usability of the context entry. The icon to delete the relation is next to the icon that opens the context menu, but "Delete" issue is more destructive than "Delete relation", because you can't rollback deleting an issue.

Notice that "Delete relation" though less destructive, because there is very little data loss, and you can always redo a relation, has the full text "Delete relation" on the popup.

I won't post a patch. Instead i did a grep of label_issues_delete (my sugestion, though it needs translation for other languages):

app/views/context_menus/issues.html.erb:152:  
  • <%= context_menu_link l(:label_issues_delete), issues_path(:ids => @issue_ids, :back_url => @back), config/locales/en.yml:594: label_issues_delete: Delete issue(s) config/locales/pt-BR.yml:365: label_issues_delete: Excluir tarefa(s)

  • journals

    The "Delete" button seems to have been replaced by "Delete issue" in the context menu by #31278's work.
    This is the current Redmine screen under development:
    !{width: 500px; border: 1px solid #ccc}screenshot.png!

    Is it possible to make this issue resolved? Or is there something else that needs to be changed?
    --------------------------------------------------------------------------------
    My bad.

    I should have applied the community's solution to the issue I reported myself. I just assumed there were minimal differences between mine and the community's patch.

    Sorry and thanks for your time.
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------


    related_issues

    duplicates,Closed,31278,Change Delete button name to Delete issue

    Admin Redmine さんがほぼ4年前に更新

    • カテゴリIssues_2 にセット

    他の形式にエクスポート: Atom PDF

    いいね!0
    いいね!0