Feature #12909

Drag'n'drop order configuration for statuses, trackers, roles...

Added by Vadim Pushtaev over 4 years ago. Updated 11 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:3.3.0
Resolution:Fixed

Description

I want to configure issue statuses' order on "/issue_statuses" URL using drag'n'drop, not by clicking some arrows and waiting for a page reload after each click.

If I implement this, will it be accepted?

drag_drop_ordering_resource_trunk_r15195.patch Magnifier (18.1 KB) Takenori TAKAKI, 2016-03-07 07:16

issue-status-drag-and-drop.png (10.8 KB) Go MAEDA, 2016-03-11 03:19


Related issues

Related to Redmine - Feature #18858: Custom Fields - Sort/Order Closed
Related to Redmine - Patch #24062: Allow only vertical reorderingin sortable lists Closed
Related to Redmine - Defect #25455: Invalid test in 3.3-stable branch Closed
Duplicated by Redmine - Feature #14021: Drag and drop system on custom fields, types of issue (ad... Closed

Associated revisions

Revision 15273
Added by Jean-Philippe Lang about 1 year ago

Remove pagination on trackers, roles and issue statuses (#12909).

Revision 15335
Added by Jean-Philippe Lang about 1 year ago

Replaces acts_as_list with an implementation that handles #position= (#12909).

Objects are reordered using the regular attribute writer #position= and AR callbacks.

Revision 15336
Added by Jean-Philippe Lang about 1 year ago

Lists can be reordered with drag and drop (#12909).

Revision 15337
Added by Jean-Philippe Lang about 1 year ago

Forum list can be reordered with drag and drop (#12909).

Revision 15338
Added by Jean-Philippe Lang about 1 year ago

Deprecates unused stuff (#12909).

Revision 15339
Added by Jean-Philippe Lang about 1 year ago

Removes #move_to= (#12909).

Revision 15340
Added by Jean-Philippe Lang about 1 year ago

Restyles the sort handle(#12909).

Revision 15341
Added by Jean-Philippe Lang about 1 year ago

Adds an ajax indicator on the sort handle (#12909).

Revision 15342
Added by Jean-Philippe Lang about 1 year ago

Adds a title on the sort handle (#12909).

History

#1 Updated by Vadim Pushtaev over 4 years ago

And of course it should be applied for all other list of the same type.

#2 Updated by Etienne Massip over 4 years ago

Vadim Pushtaev wrote:

I want to configure issue statuses' order on "/issue_statuses" URL using drag'n'drop, not by clicking some arrows and waiting for a page reload after each click.

If I implement this, will it be accepted?

Depends, need to see the patch =)
If you could write some test that would be great.

#3 Updated by Go MAEDA over 1 year ago

In Redmine 3.2, "Possible values" of key/value list custom fields support drag and drop. It would be great if other screens including "Issue statuses" also support drag and drop.

#4 Updated by Takenori TAKAKI about 1 year ago

I made a patch. It includes "drag and drop" user interface for the following resources that can change the position.

  • issue_statuses
  • custom_fields
  • enumerations
  • roles
  • trackers

this patch is compatibled with latest trunk 15195. It also includes the test code.

#5 Updated by Go MAEDA about 1 year ago

The patch works fine and really improves UI.
It would be great if I could see this modern UI in Redmine 3.3.0.

#6 Updated by Go MAEDA about 1 year ago

#7 Updated by Go MAEDA about 1 year ago

Here is a demo animation of Takenori TAKAKI's patch: http://www.redmine.org/attachments/download/15538/drag-and-drop.gif

#8 Updated by Go MAEDA about 1 year ago

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

#9 Updated by Jean-Philippe Lang about 1 year ago

  • Subject changed from Drag'n'drop in Issue statuses' order configuration to Drag'n'drop order configuration
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

I prefered not to add extra actions for sorting, and get rid of acts_as_list.
From a UI point of view, the results is the same, and extended to the forum order configuration.

#10 Updated by Jean-Philippe Lang 11 months ago

  • Subject changed from Drag'n'drop order configuration to Drag'n'drop order configuration for statuses, trackers, roles...

#11 Updated by Go MAEDA 10 months ago

  • Duplicated by Feature #14021: Drag and drop system on custom fields, types of issue (administration) and more. added

#12 Updated by Toshi MARUYAMA 5 months ago

  • Related to Patch #24062: Allow only vertical reorderingin sortable lists added

#13 Updated by Toshi MARUYAMA about 1 month ago

  • Related to Defect #25455: Invalid test in 3.3-stable branch added

Also available in: Atom PDF