mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
71c89bd057
Summary: Depends on D20321. Fixes T12175. Ref T13074. Now that before/after PHIDs are suggestions, we can give the server a more complete view of what the client is trying to do so we're more likely to get a good outcome if the client view is out of date. Instead of passing only the one directly adjacent card PHID, pass all the card PHIDs that the client thinks are in the same group. (For gigantic columns with tens of thousands of tasks this might need some tweaking -- like, slice both lists down to 10 items -- but we can cross that bridge when we come to it.) Test Plan: - Dragged some cards around to top/bottom/middle positions, saw good positioning in all cases. - In two windows, dragged stuff around on the same board. At least at first glance, conflicting simultaneous edits seemed to do reasonable things. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13074, T12175 Differential Revision: https://secure.phabricator.com/D20322 |
||
---|---|---|
.. | ||
behavior-project-boards.js | ||
behavior-project-create.js | ||
behavior-reorder-columns.js | ||
WorkboardBoard.js | ||
WorkboardCard.js | ||
WorkboardCardTemplate.js | ||
WorkboardColumn.js | ||
WorkboardController.js | ||
WorkboardDropEffect.js | ||
WorkboardHeader.js | ||
WorkboardHeaderTemplate.js | ||
WorkboardOrderTemplate.js |