@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix PhabricatorActionView::getAvailableIcons

Summary: `getAvailableIcons` parses icon(s).json, which has recently been pluralized in D5890.

Test Plan: /uiexample/view/PhabricatorActionListExample/

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

+2 -2
+2 -2
src/view/layout/PhabricatorActionView.php
··· 134 134 135 135 public static function getAvailableIcons() { 136 136 $root = dirname(phutil_get_library_root('phabricator')); 137 - $path = $root.'/resources/sprite/manifest/icon.json'; 137 + $path = $root.'/resources/sprite/manifest/icons.json'; 138 138 $data = Filesystem::readFile($path); 139 139 $manifest = json_decode($data, true); 140 140 141 141 $results = array(); 142 - $prefix = 'action-'; 142 + $prefix = 'icons-'; 143 143 foreach ($manifest['sprites'] as $sprite) { 144 144 $name = $sprite['name']; 145 145 if (preg_match('/-(white|grey)$/', $name)) {