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

at recaptime-dev/main 38 lines 758 B view raw
1<?php 2 3final class DifferentialCommitsField 4 extends DifferentialCustomField { 5 6 public function getFieldKey() { 7 return 'differential:commits'; 8 } 9 10 public function getFieldName() { 11 return pht('Commits'); 12 } 13 14 public function canDisableField() { 15 return false; 16 } 17 18 public function getFieldDescription() { 19 return pht('Shows associated commits.'); 20 } 21 22 public function shouldAppearInPropertyView() { 23 return true; 24 } 25 26 public function renderPropertyViewLabel() { 27 return $this->getFieldName(); 28 } 29 30 public function getRequiredHandlePHIDsForPropertyView() { 31 return $this->getObject()->getCommitPHIDs(); 32 } 33 34 public function renderPropertyViewValue(array $handles) { 35 return $this->renderHandleList($handles); 36 } 37 38}