1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/maniphest/controller
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
..
ManiphestBatchEditController.php Update Batch Edit and Report pages 2016-04-05 07:24:47 -07:00
ManiphestController.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
ManiphestExportController.php Fix broken link to PHPExcel site 2016-08-03 14:06:53 +01:00
ManiphestReportController.php Update Maniphest for modular transactions 2017-05-15 10:29:06 -07:00
ManiphestSubpriorityController.php Update Maniphest for modular transactions 2017-05-15 10:29:06 -07:00
ManiphestTaskDetailController.php Provide UI hints about task subtypes 2017-05-26 13:58:41 -07:00
ManiphestTaskEditController.php Rewrite workboards to have way more bugs 2016-02-10 13:08:38 -08:00
ManiphestTaskListController.php Partially update Maniphest for handleProcess 2015-08-01 17:06:57 -07:00