1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 21:49:08 +01:00
phorge-phorge/src/applications/project
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
..
__tests__ Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
application Add Dashboards as a default pinned application 2017-03-21 11:10:20 -07:00
capability Add default View, Edit, and Join Policies to Projects 2014-11-21 11:22:17 -08:00
command Implement a "!projects" mail command 2015-04-01 11:51:51 -07:00
conduit Migrate Project color to modular transactions 2017-05-18 16:46:06 -07:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Allow workboard background colors to be configured 2016-02-16 08:15:12 -08:00
controller Add "View All" header buttons to user and project feed boxes 2017-05-26 12:24:20 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
edge Replace subscribe/unsubscribe for projects with explicit mail setting 2016-01-19 19:39:02 -08:00
editor Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00
engine Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
engineextension Index Project milestones to accurately reflect milestone membership 2017-05-26 13:10:41 -07:00
events New People Hovercards 2016-02-11 15:41:55 -08:00
herald Add Herald support for projects 2016-01-19 19:37:54 -08:00
icon Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
interface Roughly implement milestone columns on workboards 2016-02-03 16:37:59 -08:00
lipsum Migrate Project status to modular transactions 2017-05-18 11:36:13 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
menuitem Add a large profile picture to Projects 2017-05-11 10:13:38 -07:00
phid Set project's ObjectName to its PHID when it doesn't have a hashtag 2017-04-05 06:22:52 -04:00
policyrule De-garbage the horrible garbage project section of the policy selection control 2016-02-05 09:50:06 -08:00
query Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00
remarkup Give project tags hovercards 2016-02-03 14:50:49 -08:00
search Remove FIELD_KEYWORDS, index project slugs as body content 2017-04-02 09:36:32 -07:00
searchfield Fix a bad call when prefilling ApplicationSearch from ?projects=some_slug 2016-02-08 10:44:33 -08:00
storage Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00
typeahead Fix an issue where tokenizers can sort milestone results into the wrong query phase 2016-12-09 08:07:12 -08:00
view Provide UI hints about task subtypes 2017-05-26 13:58:41 -07:00
xaction Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00