HomePhabricator

Improve minor workboard drag behaviors

Description

Improve minor workboard drag behaviors

Summary:
Ref T5240.

  • Add proper class when dropping cards.
  • Add proper class when creating new cards.
  • Make X-drag explicit so that it works if there's only one column.
  • Stop tootips when dragging, resume them after dropping.
  • Move CSS rule for consistency.
  • Allow user to hit "Escape" to cancel an in-progress drag.

Test Plan:

  • Dropped cards.
  • Created new cards.
  • X-dragged on a workboard with one column and a dashboard.
  • Dragged over a tooltip (no tip), dropped, moused over tooltip (tip).
  • Hit escape during a drag.

Reviewers: chad

Reviewed By: chad

Subscribers: cspeckmim

Maniphest Tasks: T5240

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

Details

Provenance
epriestleyAuthored on Feb 2 2016, 2:26 PM
epriestleyPushed on Feb 2 2016, 2:42 PM
Reviewer
chad
Differential Revision
D15163: Improve minor workboard drag behaviors
Parents
rPa019f1651870: increase team productivity with feline facts
Branches
Unknown
Tags
Unknown
Tasks
T5240: Dragging items (cards, panels) could be better in Workboards
Build Status
Buildable 10451
Build 12774: Run Core Tests