Homec4science

Make typeahead datasources default to PHID type icons

Authored by epriestley <git@epriestley.com> on Jul 18 2014, 00:49.

Description

Make typeahead datasources default to PHID type icons

Summary:
Ref T4420. If a datasource does not specify an icon explicitly, check if the PHID type has a default, and use that.

This leaves us with only Projects and some special stuff setting explicit icons, and reduces code duplication.

Test Plan: Used typeahead to find all affected object types.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4420

Differential Revision: https://secure.phabricator.com/D9894

Details

Committed
epriestley <git@epriestley.com>Jul 18 2014, 00:49
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7f0fb63c4450: Modernize "owner" typeahead datasource
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb8d604acaf84: Make typeahead datasources default to PHID type icons (authored by epriestley <git@epriestley.com>).Jul 18 2014, 00:49