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

Config User Extra Fields: link to the doc (like Maniphest)

Summary:
Add a documentation link in a specific Config page, that is:

Config > Setting > user.custom-field-definitions

Test Plan:
Visit the page and click on the new link:

- /config/edit/user.custom-field-definitions/

Visit this page that was the inspirational page:

- /config/edit/maniphest.custom-field-definitions/

No nuclear implosions.

Reviewers: O1 Blessed Committers, aklapper

Reviewed By: O1 Blessed Committers, aklapper

Subscribers: aklapper, tobiaswiese, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25507

+11 -1
+11 -1
src/applications/people/config/PhabricatorUserConfigOptions.php
··· 39 39 40 40 $custom_field_type = 'custom:PhabricatorCustomFieldConfigOptionType'; 41 41 42 + $fields_description = $this->deformat(pht(<<<EOTEXT 43 + List of custom fields for user profiles. 44 + 45 + For details on adding new fields, see [[ %s | %s ]] in the 46 + documentation. 47 + EOTEXT 48 + , 49 + PhabricatorEnv::getDoclink('Configuring Custom Fields'), 50 + pht('Configuring Custom Fields'))); 51 + 42 52 return array( 43 53 $this->newOption('user.fields', $custom_field_type, $default) 44 54 ->setCustomData(id(new PhabricatorUser())->getCustomFieldBaseClass()) 45 55 ->setDescription(pht('Select and reorder user profile fields.')), 46 56 $this->newOption('user.custom-field-definitions', 'wild', array()) 47 - ->setDescription(pht('Add new simple fields to user profiles.')), 57 + ->setDescription($fields_description), 48 58 $this->newOption('user.require-real-name', 'bool', true) 49 59 ->setDescription(pht('Always require real name for user profiles.')) 50 60 ->setBoolOptions(