1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00
phorge-phorge/webroot/rsrc/js/application/maniphest
epriestley e7853e4801 Allow tasks to be subprioritized by drag-and-drop
Summary:
Like the title says, similar to Facebook Tasks.

Not sure how I really feel about this, but I guess it's kind of OK? I never used
this feature in Facebook Tasks but I think some people like it.

The drag-and-drop to repri across priorities feels okayish.

Because subpriority is a double and we just split the difference when
reprioritizing, you lose ~a bit of precision every time you repri two tasks
against each other and so you can break it by swapping the priorities of two
tasks ~50 times. This case is pretty silly and pathological. We can add some
code to deal with this at some point if necessary.

I think this also fixes the whacky task layout widths once and for all.

(There are a couple of minor UI glitches like headers not vanishing and header
counts not updating that I'm not fixing because I am lazy.)

Test Plan: Dragged and dropped tasks around.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley, mgummelt

Maniphest Tasks: T859

Differential Revision: https://secure.phabricator.com/D1731
2012-04-02 12:12:04 -07:00
..
behavior-batch-editor.js Add "Change Priority", "Open / Close", "Comment" and "Assign" actions to Maniphest batch editor 2012-03-21 14:01:04 -07:00
behavior-batch-selector.js Rough batch editor for Maniphest 2012-02-24 13:00:48 -08:00
behavior-burn-chart.js Simplify and improve the "burnup" chart 2012-03-19 19:19:28 -07:00
behavior-project-create.js Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00
behavior-subpriorityeditor.js Allow tasks to be subprioritized by drag-and-drop 2012-04-02 12:12:04 -07:00
behavior-task-preview.js Add a description preview to maniphest create / edit panel 2012-01-25 11:28:08 -08:00
behavior-transaction-controls.js Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00
behavior-transaction-expand.js Show description changes in Maniphest 2011-05-21 21:17:45 -07:00
behavior-transaction-preview.js Remove setTimeout() hacks for Javelin behavior initialization 2011-12-13 12:50:00 -08:00