1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-12 08:36:13 +01:00
phorge-phorge/src/applications/project/view
epriestley 804be81f5d Provide better UI feedback about cards that can't be dragged or edited
Summary:
Depends on D20273. Fixes T10722. Currently, we don't make it very clear when a card can't be edited. Long ago, some code made a weak attempt to do this (by hiding the "grip" on the card), but later UI changes hid the "grip" unconditionally so that mooted things.

Instead:

  - Replace the edit pencil with a red lock.
  - Provide cursor hints for grabbable / not grabbable.
  - Don't let users pick up cards they can't edit.

Test Plan: On a workboard with a mixture of editable and not-editable cards, hovered over the different cards and was able to figure out which ones I could drag or not drag pretty easily. Picked up cards I could pick up, wasn't able to drag cards I can't edit.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T10722

Differential Revision: https://secure.phabricator.com/D20274
2019-03-12 13:43:46 -07:00
..
PhabricatorProjectCardView.php Add getDisplayName to cards and profiles 2016-02-05 13:13:48 -08:00
PhabricatorProjectListView.php Support subtypes in Projects 2019-01-30 06:17:55 -08:00
PhabricatorProjectMemberListView.php Clean up watchers and members project page 2017-05-15 15:56:14 -07:00
PhabricatorProjectUserListView.php Only show member/watcher notes on Members page in Projects 2017-05-16 07:17:18 -07:00
PhabricatorProjectWatcherListView.php Clean up watchers and members project page 2017-05-15 15:56:14 -07:00
ProjectBoardTaskCard.php Provide better UI feedback about cards that can't be dragged or edited 2019-03-12 13:43:46 -07:00