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

Give Dashboard query panels a more obvious "View All" button

Summary:
Depends on D20333. Ref T13272. Currently, dashboard query panels have an aesthetic but hard-to-see icon to view results, with no text label.

Instead, provide an easier-to-see button with a text label.

Test Plan: {F6314091}

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

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

+11 -3
+11 -3
src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
··· 120 120 $search_engine = $this->getSearchEngine($panel); 121 121 $key = $panel->getProperty('key'); 122 122 $href = $search_engine->getQueryResultsPageURI($key); 123 + 123 124 $icon = id(new PHUIIconView()) 124 - ->setIcon('fa-search') 125 - ->setHref($href); 126 - $header->addActionItem($icon); 125 + ->setIcon('fa-search'); 126 + 127 + $button = id(new PHUIButtonView()) 128 + ->setTag('a') 129 + ->setText(pht('View All')) 130 + ->setIcon($icon) 131 + ->setHref($href) 132 + ->setColor(PHUIButtonView::GREY); 133 + 134 + $header->addActionLink($button); 127 135 128 136 return $header; 129 137 }