HomePhorge

Make typeahead datasources default to PHID type icons

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

Provenance
epriestleyAuthored on Jul 17 2014, 3:49 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP7f0fb63c4450: Modernize "owner" typeahead datasource
Branches
Unknown
Tags
Unknown

Event Timeline