Modernize Diffusion browse views
Summary: Broadly, I'm trying to modernize these views and fix UI and at least mitigate mobile problems. See discussion. Test Plan: See screenshots. Reviewers: btrahan, chad Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D7042
This commit is contained in:
@@ -238,7 +238,11 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
$tags = DiffusionRepositoryTag::newFromConduit(
|
||||
$this->callConduitWithDiffusionRequest(
|
||||
'diffusion.tagsquery',
|
||||
array('limit' => $tag_limit + 1)));
|
||||
array(
|
||||
// On the home page, we want to find tags on any branch.
|
||||
'commit' => null,
|
||||
'limit' => $tag_limit + 1,
|
||||
)));
|
||||
} catch (ConduitException $e) {
|
||||
if ($e->getMessage() != 'ERR-UNSUPPORTED-VCS') {
|
||||
throw $e;
|
||||
@@ -271,6 +275,7 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader(pht('Tags'));
|
||||
$panel->setNoBackground(true);
|
||||
|
||||
if ($more_tags) {
|
||||
$panel->setCaption(pht('Showing the %d most recent tags.', $tag_limit));
|
||||
|
||||
Reference in New Issue
Block a user