Skip to content
  • epriestley's avatar
    Provide UI hints about task subtypes · 742c3a83
    epriestley authored
    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
    742c3a83