Page MenuHomePhabricator

Don't render the Maniphest edit form bottom-of-page preview panel if "Description" is locked or hidden
ClosedPublic

Authored by epriestley on May 7 2018, 8:56 PM.
Tags
None
Referenced Files
F19065898: D19432.id.diff
Sun, Nov 30, 3:18 AM
F19038200: D19432.diff
Wed, Nov 26, 3:15 AM
F19025992: D19432.diff
Mon, Nov 24, 9:21 AM
F19018259: D19432.id.diff
Sun, Nov 23, 10:31 AM
F19007540: D19432.diff
Fri, Nov 21, 8:22 PM
F18764363: D19432.diff
Oct 7 2025, 5:39 AM
F18636542: D19432.id.diff
Sep 17 2025, 4:43 AM
F18631468: D19432.id46479.diff
Sep 16 2025, 3:26 PM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/hidden-description-field-in-maniphest-task-breaks-form/1432.

If you hide the "Description" field in Maniphest, we still try to render a remarkup preview for it. This causes a JS error and a nonfunctional element on the page.

Instead, hide the preview panel if the field has been locked or hidden.

Test Plan
  • Hid the field, loaded the form, no more preview panel / JS error.
  • Used a normal form with the field visible, saw a normal preview.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable