Project

General

Profile

Actions

Patch #28861

open

Add a date item to the context menu

Added by Mizuki ISHIKAWA over 6 years ago. Updated almost 5 years ago.

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

0%

Estimated time:

Description

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.


Files

screenshot2.png (156 KB) screenshot2.png Mizuki ISHIKAWA, 2018-05-23 10:22
screenshot1.png (116 KB) screenshot1.png Mizuki ISHIKAWA, 2018-05-23 10:22
Add-dates-on-context-menu.patch (4.63 KB) Add-dates-on-context-menu.patch Mizuki ISHIKAWA, 2018-05-23 10:22
datepicker_firefox.png (4.74 KB) datepicker_firefox.png Bernhard Rohloff, 2018-06-23 07:41
bulk_edit_selected_issues.png (124 KB) bulk_edit_selected_issues.png Mizuki ISHIKAWA, 2018-06-25 01:44
Add-dates-on-context-menu_v2.patch (4.73 KB) Add-dates-on-context-menu_v2.patch Mizuki ISHIKAWA, 2018-07-30 06:56
Add-dates-on-context-menu_v3.patch (4.01 KB) Add-dates-on-context-menu_v3.patch Mizuki ISHIKAWA, 2020-02-19 08:36

Related issues

Related to Redmine - Feature #3603: Add a way to change issue start-/due dates directly from the issue listNew2009-07-10

Actions
Actions #1

Updated by Yuuki NARA over 6 years ago

+1

I am looking forward to releasing this function.

Actions #2

Updated by Akipii Oga over 6 years ago

+1

Actions #3

Updated by Go MAEDA over 6 years ago

  • Target version set to Candidate for next major release
Actions #4

Updated by Marius BÄ‚LTEANU over 6 years ago

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.

Actions #5

Updated by Go MAEDA over 6 years ago

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.

Actions #6

Updated by Bernhard Rohloff over 6 years ago

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.

Actions #7

Updated by Mizuki ISHIKAWA over 6 years ago

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)

  • 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.

Actions #8

Updated by Mizuki ISHIKAWA over 6 years ago

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.

Actions #9

Updated by Go MAEDA about 6 years ago

  • Related to Feature #3603: Add a way to change issue start-/due dates directly from the issue list added
Actions #10

Updated by Go MAEDA about 6 years ago

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.

Actions #11

Updated by Go MAEDA about 6 years ago

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.

Actions #12

Updated by Ponmuthu Muniyasamy over 5 years ago

Hi Everyone,

How to enable this feature in 4.0.3.stable?

can anyone please help ?

Thanks in advance

Actions #13

Updated by Mizuki ISHIKAWA almost 5 years ago

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.

Actions #14

Updated by Mizuki ISHIKAWA almost 5 years ago

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.

Actions

Also available in: Atom PDF