Conpherence - make widget selector be a fun JS-based menu

Summary: Ref T3155. Also re-adds the ability to update Conpherence titles by letting user click the title and fill out a little dialogue. Also fixes a bunch of random bugs and what have you. I tried to make the javascript less mysterious by trying to code what's actually happening more explicitly. Still a work in progress all over the place but a good stopping point for feedback.

Test Plan: played around with Conpherence. In particular, went to /conpherence/ and re-sized and went to /conpherence/X/ and re-sized. Also loaded up my no conpherneces user.

Reviewers: epriestley

Reviewed By: epriestley

CC: chad, aran, Korvin

Maniphest Tasks: T3155

Differential Revision: https://secure.phabricator.com/D6022
This commit is contained in:
Bob Trahan
2013-05-24 10:50:18 -07:00
parent 6dda35897a
commit 27ad838939
20 changed files with 331 additions and 327 deletions

View File

@@ -91,10 +91,14 @@ final class ConpherenceViewController extends
->setReplyForm($form)
->setRole('thread');
$title = $conpherence->getTitle();
if (!$title) {
$title = pht('Conpherence');
}
return $this->buildApplicationPage(
$layout,
array(
'title' => $conpherence->getTitle(),
'title' => $title,
'device' => true,
));
}