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

Hide repository from atom view if it hasn't been set

Summary: Fixes T8626. I guess that `$this->getViewer()->renderHandle(null)` renders as "Unknown Object", which is somewhat odd to me.

Test Plan: Viewed an atom from a book without a repository linked to it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T8626

Differential Revision: https://secure.phabricator.com/D13370

+4
+4
src/applications/diviner/controller/DivinerAtomController.php
··· 300 300 PHUIPropertyListView $view, 301 301 DivinerLiveSymbol $symbol) { 302 302 303 + if (!$symbol->getRepositoryPHID()) { 304 + return; 305 + } 306 + 303 307 $view->addProperty( 304 308 pht('Repository'), 305 309 $this->getViewer()->renderHandle($symbol->getRepositoryPHID()));