Page MenuHomePhabricator

Allow any EditEngine comment form to be pinned
ClosedPublic

Authored by epriestley on Dec 28 2016, 5:46 PM.
Tags
None
Referenced Files
F15562336: D17105.id41156.diff
Wed, Apr 30, 1:51 AM
F15542188: D17105.id.diff
Fri, Apr 25, 4:10 PM
F15538719: D17105.diff
Thu, Apr 24, 9:07 PM
F15534372: D17105.id41156.diff
Wed, Apr 23, 11:53 PM
F15528724: D17105.id41156.diff
Tue, Apr 22, 1:27 PM
F15528723: D17105.id.diff
Tue, Apr 22, 1:27 PM
F15528722: D17105.id41143.diff
Tue, Apr 22, 1:27 PM
F15507319: D17105.diff
Tue, Apr 15, 6:35 PM
Subscribers
None

Details

Summary

Fixes T12049. This expands "Haunted" comment panels to EditEngine, and by extension to all EditEngine applications.

Eventual goal is to remove custom commenting code in Differential and replace it with EditEngine code.

Changes from current "haunt" mode:

  • This only has one mode ("pinned"), not two ("pinned", "pinned with preview"). There's an inline preview and scroll behavior is a little better.
  • Now has a UI action button.

Slightly tricky stuff:

  • This interacts with "Fullscreen" mode since it doesn't make sense to pin a full-screen comment area.
  • This should only be available for comments, not for remarkup fields like "Description" in "Edit Task".
Test Plan
  • Pinned/unpinned in Maniphest.
  • Pinned/fullscreened/unfullscreened/unpinned.
  • Checked that "Edit Task" doesn't allow pinning for "Description", etc.
  • Pressed "?", read about pressing "Z".
  • Pressed "Z".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable