Remember action in Differential comment draft

Summary:
It happens to me quite often that I leave the window with revision (by closing it or by visiting a link from it).
When I return then the comment draft is there so I clowncopterize it but forget that I wanted to take some other action than Comment.

Test Plan: Selected "Add Reviewers", added some reviewers, closed the window, opened it - the action and reviewers were still there.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3530
This commit is contained in:
vrana
2012-09-20 14:11:11 -07:00
parent 8d0918885d
commit d119ac672f
7 changed files with 72 additions and 13 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE `{$NAMESPACE}_draft`.`draft`
ADD `metadata` longtext NOT NULL DEFAULT '' AFTER `draft`;
UPDATE `{$NAMESPACE}_draft`.`draft` SET `metadata` = '[]';