1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-27 05:59:08 +01:00
phorge-phorge/src/applications/project/view
epriestley 742c3a834f Provide UI hints about task subtypes
Summary:
Ref T12314. Open to counterdiffs / iterating / suggestions / skipping most or all of this, mostly just throwing this out there as a maybe-reasonable first pass.

When a task has a subtype (like "Plant" or "Animal"), provide some hints on the task list, workboards, and task detail.

To make these hints more useful, allow subtypes to have icons and colors.

Also use these icons and colors in the typeahead tokens.

The current rule is that we show the subtype if it's not the default subtype. Another rule we could use is "show the subtype if there's more than one subtype defined", but my guess is that most installs will mostly have something like "normal task" as the default subtype.

Test Plan:
The interfaces this affects are: task detail view, task list view, workboard cards, subtype typeahead.

{F3539128}

{F3539144}

{F3539167}

{F3539185}

Reviewers: chad

Reviewed By: chad

Subscribers: johnny-bit, bbrdaric, benwick, fooishbar

Maniphest Tasks: T12314

Differential Revision: https://secure.phabricator.com/D17451
2017-05-26 13:58:41 -07:00
..
PhabricatorProjectCardView.php Add getDisplayName to cards and profiles 2016-02-05 13:13:48 -08:00
PhabricatorProjectListView.php Add more "disabled" UI to PHUIObjectItemView 2017-05-19 17:54:53 +00: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 UI hints about task subtypes 2017-05-26 13:58:41 -07:00