Persist remarkup metadata in "VersionedDrafts" and record explicit file uploads
commit7693a711a725ea1c28743b240468c411506acc6f
authorepriestley <git@epriestley.com>
Thu, 19 May 2022 18:22:56 +0000 (19 11:22 -0700)
committerepriestley <git@epriestley.com>
Thu, 19 May 2022 19:03:18 +0000 (19 12:03 -0700)
tree9cf39b057621b46074593da0b32784df85aee198
parent33a0731619e8b34eb5c89d5a26aefed40b126806
Persist remarkup metadata in "VersionedDrafts" and record explicit file uploads

Summary:
Ref T13603. Allow "VersionedDraft" to persist remarkup comment area metadata from stacked actions controls.

When files are dragged and dropped, record them as explicit uploads in comment metadata.

Test Plan: Dragged and dropped files into Remarkup stacked action text areas (e.g., in Maniphest), reloaded page, saw metadata persist across reloads.

Maniphest Tasks: T13603

Differential Revision: https://secure.phabricator.com/D21828
resources/celerity/map.php
src/applications/transactions/editengine/PhabricatorEditEngine.php
src/applications/transactions/view/PhabricatorApplicationTransactionCommentView.php
webroot/rsrc/js/core/behavior-drag-and-drop-textarea.js