HomePhabricator

Fix rendering of project slugs in tokenizer UI

Description

Fix rendering of project slugs in tokenizer UI

Summary: Fixes T5659. When building a token after a user selection, we currently use the value as the token text, but sometimes that's an internal name which doesn't make much sense to users. For projects, it is now "sluga slugb Proper Display Name". If available, use displayName instead.

Test Plan: Typed some projects into a tokenizer, got display names only.

Reviewers: chad, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5659

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jul 21 2014, 1:44 PM
Reviewer
joshuaspence
Differential Revision
D9996: Fix rendering of project slugs in tokenizer UI
Parents
rP63ce0e66c926: Allow Phriction documents to be permanently deleted
Branches
Unknown
Tags
Unknown

Event Timeline