プロジェクト

全般

プロフィール

Vote #79328

未完了

Add a date item to the context menu

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
UI_10
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
32
issue_org_id:
28861
author_id:
259873
assigned_to_id:
0
comments:
14
status_id:
1
tracker_id:
3
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The context menu is very convenient because you can change the information without making a screen transition.
I would like to change the date information by context menu.

By applying this patch you can open a modal to change the date.

|!screenshot1.png!|!screenshot2.png!|


journals

+1

I am looking forward to releasing this function.

--------------------------------------------------------------------------------
+1

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

--------------------------------------------------------------------------------
Interesting feature.

I'm writing down some thoughts that I've regarding this feature:
1. The "Date" label is not clear enough from my point of view. Maybe "Start/End dates" or just "Dates"?
2. I find it useful to support also the custom fields of type "Date".
3. Editing two attributes with one action is not usual for the Redmine contextual menu. I'm wondering if is not better to add the dates attributes as individual items in the contextual menu (Start date, End date, Custom Date etc) and in the submenu to add some dates shortcuts like "Tomorrow", "Next Week", "Next Month" and the date picker for selecting the date.

--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> 3. Editing two attributes with one action is not usual for the Redmine contextual menu. I'm wondering if is not better to add the dates attributes as individual items in the contextual menu (Start date, End date, Custom Date etc) and in the submenu to add some dates shortcuts like "Tomorrow", "Next Week", "Next Month" and the date picker for selecting the date.

Maybe project managers think start date and due date of an issue at the same time when they make a schedule, so I prefer having these two fields on the same dialog.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Maybe project managers think start date and due date of an issue at the same time when they make a schedule, so I prefer having these two fields on the same dialog.

I agree with Go MAEDA on this point. I think it would be tedious to go through the context menu twice to set the start and due date separately. I also think the intention of the menu item "Date" would be more clear if we would rename it into something like "Schedule".

Marius BALTEANU wrote:
> ... to add some dates shortcuts like "Tomorrow", "Next Week", "Next Month" and the date picker for selecting the date.

This could also be very handy but I would integrate them in the modal view, too. In my experience project managers are quite volatile in making their decisions (especially at scheduling) so having all choices presented in a single view can be advantageous for this kind of users.

Referring to the proposed modal view, I find the checkboxes to reset the dates quite odd. As this functionality is also present in the browser based datepickers I would recommend to remove them from the view.

!datepicker_firefox.png!

--------------------------------------------------------------------------------
Thank you for much feedback.

Bernhard Rohloff wrote:
> Referring to the proposed modal view, I find the checkboxes to reset the dates quite odd. As this functionality is also present in the browser based datepickers I would recommend to remove them from the view.

Emptying date_field and checking the clear checkbox work differently.
It is the same UI as existing bulk edit selected issues screen (views/issues/bulk_edit.html.erb)
!{border: 1px solid #ccc}bulk_edit_selected_issues.png!

* If date_field is empty, it does not change the existing value of that field.
* If the clear check box is checked, overwrite the value of that field with an empty string.

Many people think that the clear checkbox is odd just like you, but I have no other good idea.
--------------------------------------------------------------------------------
Thank you for much feedback.

I attached a patch to change label from "Date" to "Start date / Due date".
I set label to "Start date / Due date" because you do not have to increase the items in the en.yml file.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Mizuki ISHIKAWA wrote:
> Many people think that the clear checkbox is odd just like you, but I have no other good idea.

How about dropping support for multiple issues selection from the patch? You can remove the checkboxes if the feature only supports single issue selection.

Currently, "Log time" does not exist in the context menu for multiple issue selection.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Mizuki ISHIKAWA wrote:
> > Many people think that the clear checkbox is odd just like you, but I have no other good idea.
>
> How about dropping support for multiple issues selection from the patch? You can remove the checkboxes if the feature only supports single issue selection.

Or showing a different dialog depending on the number of selected issues may be a solution. It means that the checkboxes appear only when a user opens the dialog for multiple issues selection.

--------------------------------------------------------------------------------
Hi Everyone,

How to enable this feature in 4.0.3.stable?

can anyone please help ?

Thanks in advance
--------------------------------------------------------------------------------
Ponmuthu Muniyasamy wrote:
> Hi Everyone,
>
> How to enable this feature in 4.0.3.stable?
>
> can anyone please help ?
>
> Thanks in advance

The [[Patch]] page has instructions on how to do it, but individual customization is not recommended as problems may occur after application.
--------------------------------------------------------------------------------
Because there were many opinions that the Clear check box was difficult to understand, "Start date / Due date" can be changed only in context menu for one issue.(Cannot be changed during bulk edit)
I think that changing just one issue will be enough.
--------------------------------------------------------------------------------


related_issues

relates,New,3603,Add a way to change issue start-/due dates directly from the issue list

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

  • カテゴリUI_10 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0