Page MenuHomePhabricator

Restore bulk edit support for remarkup fields (description, add comment)
ClosedPublic

Authored by epriestley on Jan 11 2018, 6:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 6, 1:43 AM
Unknown Object (File)
Fri, Sep 6, 1:43 AM
Unknown Object (File)
Fri, Sep 6, 1:43 AM
Unknown Object (File)
Mon, Sep 2, 6:14 AM
Unknown Object (File)
Sun, Aug 25, 10:37 PM
Unknown Object (File)
Sun, Aug 25, 6:15 PM
Unknown Object (File)
Sun, Aug 25, 5:07 PM
Unknown Object (File)
Sun, Aug 25, 4:21 AM
Subscribers
None

Details

Summary

Depends on D18866. Ref T13025. Fixes T12415. This makes the old "Add Comment" action work, and adds support for a new "Set description to" action (possibly, I could imagine "append description" being useful some day, maybe).

The implementation is just a <textarea />, not a whole fancy remarkup box with [Bold] [Italic] ... buttons, preview, typeaheads, etc. It would be nice to enrich this eventually but doing the rendering in pure JS is currently very involved.

This requires a little bit of gymnastics to get the transaction populated properly, and adds some extra validation since we need some code there anyway.

Test Plan
  • Changed the description of a task via bulk editor.
  • Added a comment to a task via bulk editor.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable