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

Make the branch table somewhat more useful.

+14 -1
+4
src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php
··· 189 189 '$' => 'DiffusionHomeController', 190 190 '(?P<callsign>[A-Z]+)/' => array( 191 191 '$' => 'DiffusionRepositoryController', 192 + 'repository/'. 193 + '(?P<path>[^/]+)/'. 194 + '$' 195 + => 'DiffusionRepositoryController', 192 196 'change/'. 193 197 '(?P<path>.*?)'. 194 198 '(?:[;](?P<commit>[a-z0-9]+))?'.
+10 -1
src/applications/diffusion/view/branchtable/DiffusionBranchTableView.php
··· 29 29 $drequest = $this->getDiffusionRequest(); 30 30 $current_branch = $drequest->getBranch(); 31 31 32 + $callsign = $drequest->getRepository()->getCallsign(); 33 + 32 34 $rows = array(); 33 35 $rowc = array(); 34 36 foreach ($this->branches as $branch) { 37 + $branch_uri = $drequest->getBranchURIComponent($branch->getName()); 38 + 35 39 $rows[] = array( 36 - phutil_escape_html($branch->getName()), // TODO: link 40 + phutil_render_tag( 41 + 'a', 42 + array( 43 + 'href' => "/diffusion/{$callsign}/repository/{$branch_uri}", 44 + ), 45 + phutil_escape_html($branch->getName())), 37 46 self::linkCommit( 38 47 $drequest->getRepository(), 39 48 $branch->getHeadCommitIdentifier()),