Homec4science

Fix an issue where newly created tasks could appear at the bottom of columns

Authored by epriestley <git@epriestley.com> on Feb 15 2016, 23:43.

Description

Fix an issue where newly created tasks could appear at the bottom of columns

Summary:
Ref T10349. At HEAD, if you create a task on a board, it floats to the top correctly.

If you create a task elsewhere and tag it with the board, you were subject to the whims of the layout engine and it would generally end up on the bottom.

Instead, make the rules consistent so that "virtual" positions (of tasks which haven't been committed to a particular position yet) still float to the top.

Test Plan:

  • Created tasks from a board.
  • Created tasks from Maniphest, then looked at them on a board.
  • Moved tasks around.
  • In all cases, newly created tasks floated to the top.
  • Sorted by natural and priority.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10349

Differential Revision: https://secure.phabricator.com/D15276

Details

Committed
epriestley <git@epriestley.com>Feb 16 2016, 00:18
Pushed
aubortJan 31 2017, 17:16
Parents
rPH53b963efdb41: Process slowvote description as remarkup (link images, activate mentions, etc)
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe4690a385447: Fix an issue where newly created tasks could appear at the bottom of columns (authored by epriestley <git@epriestley.com>).Feb 16 2016, 00:18