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

When Owners packages are archived, annotate them in tokenizer results

Summary: Fixes T13512. Archived packages in Owners are missing hinting, but should have it.

Test Plan:
Before:

{F7369122}

After:

{F7369128}

Maniphest Tasks: T13512

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

+7 -1
+7 -1
src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
··· 39 39 $name = $package->getName(); 40 40 $monogram = $package->getMonogram(); 41 41 42 - $results[] = id(new PhabricatorTypeaheadResult()) 42 + $result = id(new PhabricatorTypeaheadResult()) 43 43 ->setName("{$monogram}: {$name}") 44 44 ->setURI($package->getURI()) 45 45 ->setPHID($package->getPHID()); 46 + 47 + if ($package->isArchived()) { 48 + $result->setClosed(pht('Archived')); 49 + } 50 + 51 + $results[] = $result; 46 52 } 47 53 48 54 return $this->filterResultsAgainstTokens($results);