Page MenuHomePhabricator

Add new save button for drafts
Open, MediumPublic

Description

Background

Users who submit a wish may want to workshop it with others before it is "final." Though wishes can be editable at any time, wish creators may want to leave a wish in a draft state.

User story

Given that I've written a wish but don't feel comfortable about how it's written, when I go to submit, then I should see a "save as draft" button, and if I click it, then the wish should be published with a status of "draft," and the "draft" status should be shown on the wish index page and the wish itself.

Requirements

  • Show a save as draft button on the form
  • Clicking save as draft publishes a wish in a "draft" state.

Split the current submit button into two: one labelled "Save draft" which sets the status to draft, and the other labelled "Submit" which sets to the status to submitted.

Design file: https://www.figma.com/file/JcTMFwbEJPpCKBiZ16Jkel/Future-of-the-Wishlist?type=design&node-id=1368%3A14631&mode=design&t=rER9ipRKRiDWpZil-1

Details

TitleReferenceAuthorSource BranchDest Branch
Add focus area template, dummy data, basic Lua modulerepos/commtech/wishlist-intake!59musikanimalmore-mediawiki-pagesmain
Customize query in GitLab

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Same design file. I will pop the link in here and add this task to the related task again.

Samwilson renamed this task from Add new save button and 'status' field to Add new save button and 'status' parameter.May 16 2024, 3:24 PM
JWheeler-WMF updated the task description. (Show Details)
MusikAnimal subscribed.

!59 only does a bit of the template editing and does not touch the form or db, so unlicking.

KSiebert renamed this task from Add new save button and 'status' parameter to Add new save button .Wed, Jun 5, 10:39 AM
KSiebert renamed this task from Add new save button to Add new save button for drafts.Wed, Jun 5, 10:43 AM
KSiebert updated the task description. (Show Details)