Create new changes from the UI as drafts
When creating a new change from the UI, the initial patch set is empty
and the change remains empty until the user adds files and publishes an
edit via the inline editor. However the change is visible to reviewers,
which is not ideal because usually the owner will not want the change to
be reviewed until the content is added.
Change the behavior of the project screen's "Create Change" button and
the change screen's "Follow Up" button to always create new changes as
draft.
With this change, the new change is created as draft and any subsequent
patch sets created via the inline editor are also created as draft. This
means that the change owner can publish as many edits as necessary to get
the change in shape before publishing it for review.
Change-Id: I33a3cccb0c872d69aa6f61d0eb22d3f4fe068834
3 files changed