1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Add FontIcon bridge to AppIcons

Summary: Select a similar or better FontAwesome icon to represent each application

Test Plan: Visual inspection

Reviewers: epriestley, btrahan

Subscribers: hach-que, Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11489
This commit is contained in:
Chad Little 2015-01-24 23:41:43 -08:00
parent e0289070db
commit 5d8bb61dde
57 changed files with 229 additions and 1 deletions

View file

@ -18,6 +18,10 @@ final class PhabricatorAlmanacApplication extends PhabricatorApplication {
return 'almanac';
}
public function getFontIcon() {
return 'fa-server';
}
public function getTitleGlyph() {
return "\xE2\x98\x82";
}

View file

@ -10,6 +10,10 @@ final class PhabricatorAuditApplication extends PhabricatorApplication {
return 'audit';
}
public function getFontIcon() {
return 'fa-check-circle-o';
}
public function getName() {
return pht('Audit');
}

View file

@ -14,6 +14,10 @@ final class PhabricatorAuthApplication extends PhabricatorApplication {
return 'authentication';
}
public function getFontIcon() {
return 'fa-key';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return $viewer->getIsAdmin();
}

View file

@ -157,6 +157,10 @@ abstract class PhabricatorApplication implements PhabricatorPolicyInterface {
return 'application';
}
public function getFontIcon() {
return 'fa-puzzle-piece';
}
public function getApplicationOrder() {
return PHP_INT_MAX;
}

View file

@ -22,6 +22,10 @@ final class PhabricatorCalendarApplication extends PhabricatorApplication {
return 'calendar';
}
public function getFontIcon() {
return 'fa-calendar';
}
public function getTitleGlyph() {
// Unicode has a calendar character but it's in some distant code plane,
// use "keyboard" since it looks vaguely similar.

View file

@ -14,6 +14,10 @@ final class PhabricatorCelerityApplication extends PhabricatorApplication {
return true;
}
public function getFontIcon() {
return 'fa-leaf';
}
public function getRoutes() {
$extensions = CelerityResourceController::getSupportedResourceTypes();
$extensions = array_keys($extensions);

View file

@ -18,6 +18,10 @@ final class PhabricatorChatLogApplication extends PhabricatorApplication {
return 'chatlog';
}
public function getFontIcon() {
return 'fa-coffee';
}
public function isPrototype() {
return true;
}

View file

@ -10,6 +10,10 @@ final class PhabricatorConduitApplication extends PhabricatorApplication {
return 'conduit';
}
public function getFontIcon() {
return 'fa-tty';
}
public function canUninstall() {
return false;
}

View file

@ -10,6 +10,10 @@ final class PhabricatorConfigApplication extends PhabricatorApplication {
return 'setup';
}
public function getFontIcon() {
return 'fa-wrench';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return $viewer->getIsAdmin();
}

View file

@ -18,6 +18,10 @@ final class PhabricatorConpherenceApplication extends PhabricatorApplication {
return 'conpherence';
}
public function getFontIcon() {
return 'fa-comments';
}
public function getTitleGlyph() {
return "\xE2\x9C\x86";
}

View file

@ -10,6 +10,10 @@ final class PhabricatorCountdownApplication extends PhabricatorApplication {
return 'countdown';
}
public function getFontIcon() {
return 'fa-birthday-cake';
}
public function getName() {
return pht('Countdown');
}

View file

@ -22,6 +22,10 @@ final class PhabricatorDaemonsApplication extends PhabricatorApplication {
return 'daemon';
}
public function getFontIcon() {
return 'fa-pied-piper-alt';
}
public function getApplicationGroup() {
return self::GROUP_ADMIN;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorDashboardApplication extends PhabricatorApplication {
return 'fancyhome';
}
public function getFontIcon() {
return 'fa-dashboard';
}
public function getRoutes() {
return array(
'/W(?P<id>\d+)' => 'PhabricatorDashboardPanelViewController',

View file

@ -18,6 +18,10 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication {
return 'differential';
}
public function getFontIcon() {
return 'fa-cog';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return true;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication {
return 'diffusion';
}
public function getFontIcon() {
return 'fa-code';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return true;
}

View file

@ -10,6 +10,10 @@ final class PhabricatorDivinerApplication extends PhabricatorApplication {
return 'diviner';
}
public function getFontIcon() {
return 'fa-cubes';
}
public function getName() {
return pht('Diviner');
}

View file

@ -14,6 +14,10 @@ final class PhabricatorDoorkeeperApplication extends PhabricatorApplication {
return pht('Doorkeeper');
}
public function getFontIcon() {
return 'fa-recycle';
}
public function getShortDescription() {
return pht('Connect to Other Software');
}

View file

@ -18,6 +18,10 @@ final class PhabricatorDrydockApplication extends PhabricatorApplication {
return 'drydock';
}
public function getFontIcon() {
return 'fa-truck';
}
public function getTitleGlyph() {
return "\xE2\x98\x82";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorFactApplication extends PhabricatorApplication {
return 'fact';
}
public function getFontIcon() {
return 'fa-area-chart';
}
public function getApplicationGroup() {
return self::GROUP_UTILITIES;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorFeedApplication extends PhabricatorApplication {
return 'feed';
}
public function getFontIcon() {
return 'fa-newspaper-o';
}
public function canUninstall() {
return false;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorFilesApplication extends PhabricatorApplication {
return 'files';
}
public function getFontIcon() {
return 'fa-file';
}
public function getTitleGlyph() {
return "\xE2\x87\xAA";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorFlagsApplication extends PhabricatorApplication {
return 'flags';
}
public function getFontIcon() {
return 'fa-flag';
}
public function getEventListeners() {
return array(
new PhabricatorFlagsUIEventListener(),

View file

@ -18,6 +18,10 @@ final class PhabricatorFundApplication extends PhabricatorApplication {
return 'phund';
}
public function getFontIcon() {
return 'fa-heart';
}
public function getTitleGlyph() {
return "\xE2\x99\xA5";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorHarbormasterApplication extends PhabricatorApplication {
return 'harbormaster';
}
public function getFontIcon() {
return 'fa-ship';
}
public function getTitleGlyph() {
return "\xE2\x99\xBB";
}

View file

@ -10,6 +10,10 @@ final class PhabricatorHeraldApplication extends PhabricatorApplication {
return 'herald';
}
public function getFontIcon() {
return 'fa-bell';
}
public function getName() {
return pht('Herald');
}

View file

@ -20,6 +20,10 @@ final class PhabricatorHomeApplication extends PhabricatorApplication {
return 'home';
}
public function getFontIcon() {
return 'fa-home';
}
public function getRoutes() {
return array(
'/' => 'PhabricatorHomeMainController',

View file

@ -18,6 +18,10 @@ final class PhabricatorLegalpadApplication extends PhabricatorApplication {
return 'legalpad';
}
public function getFontIcon() {
return 'fa-gavel';
}
public function getTitleGlyph() {
return "\xC2\xA9";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorMacroApplication extends PhabricatorApplication {
return 'macro';
}
public function getFontIcon() {
return 'fa-smile';
}
public function getTitleGlyph() {
return "\xE2\x9A\x98";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorMailingListsApplication extends PhabricatorApplication {
return 'mail';
}
public function getFontIcon() {
return 'fa-mail-reply-all';
}
public function getApplicationGroup() {
return self::GROUP_ADMIN;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication {
return 'maniphest';
}
public function getFontIcon() {
return 'fa-anchor';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return true;
}

View file

@ -28,6 +28,10 @@ final class PhabricatorApplicationsApplication extends PhabricatorApplication {
return 'application';
}
public function getFontIcon() {
return 'fa-globe';
}
public function getTitleGlyph() {
return "\xE0\xBC\x84";
}

View file

@ -10,6 +10,10 @@ final class PhabricatorMetaMTAApplication extends PhabricatorApplication {
return 'metamta';
}
public function getFontIcon() {
return 'fa-send';
}
public function getShortDescription() {
return pht('Delivers Mail');
}

View file

@ -14,6 +14,10 @@ final class PhabricatorNotificationsApplication extends PhabricatorApplication {
return pht('Real-Time Updates and Alerts');
}
public function getFontIcon() {
return 'fa-bell';
}
public function getRoutes() {
return array(
'/notification/' => array(

View file

@ -10,6 +10,10 @@ final class PhabricatorNuanceApplication extends PhabricatorApplication {
return 'nuance';
}
public function getFontIcon() {
return 'fa-fax';
}
public function getTitleGlyph() {
return "\xE2\x98\x8E";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorOAuthServerApplication extends PhabricatorApplication {
return 'oauthserver';
}
public function getFontIcon() {
return 'fa-hotel';
}
public function getTitleGlyph() {
return "\xE2\x99\x86";
}

View file

@ -14,6 +14,10 @@ final class PhabricatorOwnersApplication extends PhabricatorApplication {
return 'owners';
}
public function getFontIcon() {
return 'fa-gift';
}
public function getShortDescription() {
return pht('Own Source Code');
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPassphraseApplication extends PhabricatorApplication {
return 'passphrase';
}
public function getFontIcon() {
return 'fa-user-secret';
}
public function getTitleGlyph() {
return "\xE2\x97\x88";
}

View file

@ -14,6 +14,10 @@ final class PhabricatorPasteApplication extends PhabricatorApplication {
return 'paste';
}
public function getFontIcon() {
return 'fa-paste';
}
public function getTitleGlyph() {
return "\xE2\x9C\x8E";
}

View file

@ -22,6 +22,10 @@ final class PhabricatorPeopleApplication extends PhabricatorApplication {
return 'people';
}
public function getFontIcon() {
return 'fa-users';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return $viewer->getIsAdmin();
}

View file

@ -14,6 +14,10 @@ final class PhabricatorPhameApplication extends PhabricatorApplication {
return 'phame';
}
public function getFontIcon() {
return 'fa-star';
}
public function getShortDescription() {
return 'Blog';
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPhluxApplication extends PhabricatorApplication {
return 'phlux';
}
public function getFontIcon() {
return 'fa-copy';
}
public function getTitleGlyph() {
return "\xE2\x98\xBD";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPholioApplication extends PhabricatorApplication {
return 'pholio';
}
public function getFontIcon() {
return 'fa-camera-retro';
}
public function getTitleGlyph() {
return "\xE2\x9D\xA6";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPhortuneApplication extends PhabricatorApplication {
return 'phortune';
}
public function getFontIcon() {
return 'fa-diamond';
}
public function getTitleGlyph() {
return "\xE2\x9C\x98";
}

View file

@ -11,7 +11,11 @@ final class PhabricatorPHPASTApplication extends PhabricatorApplication {
}
public function getIconName() {
return 'phpast';
return 'fa-ambulance';
}
public function getFontIcon() {
return 'fa-check-circle-o';
}
public function getShortDescription() {

View file

@ -18,6 +18,10 @@ final class PhabricatorPhragmentApplication extends PhabricatorApplication {
return 'phragment';
}
public function getFontIcon() {
return 'fa-floppy-o';
}
public function getTitleGlyph() {
return "\xE2\x26\xB6";
}

View file

@ -22,6 +22,10 @@ final class PhabricatorPhrequentApplication extends PhabricatorApplication {
return 'phrequent';
}
public function getFontIcon() {
return 'fa-clock-o';
}
public function getApplicationGroup() {
return self::GROUP_UTILITIES;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication {
return 'phriction';
}
public function getFontIcon() {
return 'fa-book';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return true;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorPonderApplication extends PhabricatorApplication {
return 'ponder';
}
public function getFontIcon() {
return 'fa-university';
}
public function getFactObjectsForAnalysis() {
return array(
new PonderQuestion(),

View file

@ -22,6 +22,10 @@ final class PhabricatorProjectApplication extends PhabricatorApplication {
return 'projects';
}
public function getFontIcon() {
return 'fa-briefcase';
}
public function getFlavorText() {
return pht('Group stuff into big piles.');
}

View file

@ -18,6 +18,10 @@ final class PhabricatorReleephApplication extends PhabricatorApplication {
return 'releeph';
}
public function getFontIcon() {
return 'fa-flag-checkered';
}
public function isPrototype() {
return true;
}

View file

@ -10,6 +10,10 @@ final class PhabricatorRepositoriesApplication extends PhabricatorApplication {
return 'repositories';
}
public function getFontIcon() {
return 'fa-hdd-o';
}
public function getName() {
return pht('Repositories');
}

View file

@ -22,6 +22,10 @@ final class PhabricatorSearchApplication extends PhabricatorApplication {
return 'search';
}
public function getFontIcon() {
return 'fa-search';
}
public function isLaunchable() {
return false;
}

View file

@ -18,6 +18,10 @@ final class PhabricatorSettingsApplication extends PhabricatorApplication {
return 'settings';
}
public function getFontIcon() {
return 'fa-wrench';
}
public function canUninstall() {
return false;
}

View file

@ -10,6 +10,10 @@ final class PhabricatorSlowvoteApplication extends PhabricatorApplication {
return 'slowvote';
}
public function getFontIcon() {
return 'fa-bar-chart';
}
public function getName() {
return pht('Slowvote');
}

View file

@ -14,6 +14,10 @@ final class PhabricatorTokensApplication extends PhabricatorApplication {
return 'token';
}
public function getFontIcon() {
return 'fa-trophy';
}
public function getTitleGlyph() {
return "\xE2\x99\xA6";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorUIExamplesApplication extends PhabricatorApplication {
return 'uiexamples';
}
public function getFontIcon() {
return 'fa-magnet';
}
public function getTitleGlyph() {
return "\xE2\x8F\x9A";
}

View file

@ -18,6 +18,10 @@ final class PhabricatorXHProfApplication extends PhabricatorApplication {
return 'xhprof';
}
public function getFontIcon() {
return 'fa-stethoscope';
}
public function getTitleGlyph() {
return "\xE2\x98\x84";
}