Add a description preview to maniphest create / edit panel

Summary: also fixes a small bug where the page title was always "Create Task".
switch it to the header name which is much more descriptive / correct IMO.

Test Plan:
created a new task and watched the description preview update.
edited an old task and saw the description preview populate with the correct
existing data.
edited an old task and edited the description and saw the description preview
update

Reviewers: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1489
This commit is contained in:
Bob Trahan
2012-01-25 11:23:00 -08:00
parent 3142fe4419
commit 16bcd5112a
8 changed files with 171 additions and 26 deletions

View File

@@ -167,6 +167,8 @@ class AphrontDefaultApplicationConfiguration
'edit/(?P<id>\d+)/$' => 'ManiphestTaskEditController',
'descriptionchange/(?P<id>\d+)/$' =>
'ManiphestTaskDescriptionChangeController',
'descriptionpreview/$' =>
'ManiphestTaskDescriptionPreviewController',
),
'transaction/' => array(
'save/' => 'ManiphestTransactionSaveController',