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
F18766294: D17105.id.diff
Tue, Oct 7, 3:57 PM
F18762877: D17105.diff
Mon, Oct 6, 9:07 PM
F18740561: D17105.diff
Thu, Oct 2, 4:00 AM
F18724500: D17105.id41143.diff
Tue, Sep 30, 3:47 AM
F18720734: D17105.id41143.diff
Mon, Sep 29, 7:42 PM
F18683861: D17105.id41156.diff
Fri, Sep 26, 8:25 AM
F18681100: D17105.id41156.diff
Fri, Sep 26, 3:49 AM
F18649971: D17105.id41143.diff
Sat, Sep 20, 10:54 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