@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.

Minor tweaks to Preferences

Summary:
Get rid of HPHP-only syntax, add a header and width restriction.

Test Plan:
Looked at /preferences/, saved preferences.

Reviewed By: tuomaspelkonen
Reviewers: tuomaspelkonen
CC: tuomaspelkonen
Differential Revision: 92

+5 -1
+1 -1
src/applications/people/storage/preferences/PhabricatorUserPreferences.php
··· 34 34 } 35 35 36 36 public function getPreference($key) { 37 - return $this->getPreferences()[$key]; 37 + return idx($this->getPreferences(), $key); 38 38 } 39 39 }
+2
src/applications/people/storage/preferences/__init__.php
··· 8 8 9 9 phutil_require_module('phabricator', 'applications/people/storage/base'); 10 10 11 + phutil_require_module('phutil', 'utils'); 12 + 11 13 12 14 phutil_require_source('PhabricatorUserPreferences.php');
+2
src/applications/preferences/controller/edit/PhabricatorEditPreferencesController.php
··· 87 87 ->setValue('Save Preferences')); 88 88 89 89 $panel = new AphrontPanelView(); 90 + $panel->setWidth(AphrontPanelView::WIDTH_WIDE); 91 + $panel->setHeader('Phabricator Preferences'); 90 92 $panel->appendChild($form); 91 93 92 94 $error_view = null;