Select the types of activity you want to include in your feed.
@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
···11+<?php
22+33+final class PhabricatorDividerProfilePanel
44+ extends PhabricatorProfilePanel {
55+66+ const PANELKEY = 'divider';
77+88+ public function getPanelTypeIcon() {
99+ return 'fa-minus';
1010+ }
1111+1212+ public function getPanelTypeName() {
1313+ return pht('Divider');
1414+ }
1515+1616+ public function canAddToObject($object) {
1717+ return true;
1818+ }
1919+2020+ public function getDisplayName(
2121+ PhabricatorProfilePanelConfiguration $config) {
2222+ return pht("\xE2\x80\x94");
2323+ }
2424+2525+ public function buildEditEngineFields(
2626+ PhabricatorProfilePanelConfiguration $config) {
2727+ return array(
2828+ id(new PhabricatorInstructionsEditField())
2929+ ->setValue(
3030+ pht(
3131+ 'This is a visual divider which you can use to separate '.
3232+ 'sections in the menu. It does not have any configurable '.
3333+ 'options.')),
3434+ );
3535+ }
3636+3737+ protected function newNavigationMenuItems(
3838+ PhabricatorProfilePanelConfiguration $config) {
3939+4040+ $item = $this->newItem()
4141+ ->addClass('phui-divider');
4242+4343+ return array(
4444+ $item,
4545+ );
4646+ }
4747+4848+}