HomePhorge

Make token UI stronger and more consistent

Description

Make token UI stronger and more consistent

Summary:
Ref T4100. Overall:

  • Use token background color to communicate token type (blue = object, yellow = function, grey = disabled/closed, red = invalid).
  • Use token icon color to make color choices consistent (specifically, use project icon colors in project tokens).
  • For functions, use token icon to communicate function result type (e.g., viewer() has a user icon; members(...) has a group icon), since we don't need the icon to indicate "this is a function" anymore.

Test Plan:
{F374615}
{F374616}
{F374617}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4100

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

Details

Provenance
epriestleyAuthored on Apr 17 2015, 7:00 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP845466b49bf8: Implement viewer() and members(project) typeahead functions
Branches
Unknown
Tags
Unknown

Event Timeline