Files
phabricator/src/applications/project/controller/PhabricatorProjectPanelController.php
epriestley 0a554c2ed5 Allow profile menus to be collapsed and expanded
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
2016-01-19 13:16:54 -08:00

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();
}
}