Summary: Ref T10054. I think this gets everything except: - circles on icons; - I spent ~15 minutes poking at animations but wasn't able to get anything that looked reasonable whatsoever. Test Plan: - Collapsed menus. - Expanded menus. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10054 Differential Revision: https://secure.phabricator.com/D15056
25 lines
530 B
PHP
25 lines
530 B
PHP
<?php
|
|
|
|
final class PhabricatorProjectPanelController
|
|
extends PhabricatorProjectController {
|
|
|
|
public function handleRequest(AphrontRequest $request) {
|
|
$response = $this->loadProject();
|
|
if ($response) {
|
|
return $response;
|
|
}
|
|
|
|
$viewer = $this->getViewer();
|
|
$project = $this->getProject();
|
|
|
|
$engine = id(new PhabricatorProjectProfilePanelEngine())
|
|
->setProfileObject($project)
|
|
->setController($this);
|
|
|
|
$this->setProfilePanelEngine($engine);
|
|
|
|
return $engine->buildResponse();
|
|
}
|
|
|
|
}
|