wordpress-mobile / wordpress-mobile/WordPress-iOS

Share Sheet: Default to saving a draft

Open
#20,541 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Linked to App Review Share Extension
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Currently, the default behavior when tapping the app icon from the Share Sheet prompt in iOS is to publish. By defaulting to saving a draft we reduce the risk of inadvertently posting.

Ref: p1681236421327999-slack-C0HTU7HV3

Proposed behavior

Idea A

  1. Remove "Save as Draft" Share Sheet Action
  2. Add "Publish" Share Sheet Action
  3. Default to saving as a draft when tapping the app icon
  • Mid / High effort
  • Requires a new Share Sheet Action Extension for Publishing (needs provisioning profile, analytics events)
  • Existing functionality is retained for users as it's mainly a UI change (swapping buttons)

Idea B

  1. Remove "Save as Draft" Share Sheet Action
  2. Add the option to Publish or Save as Draft after tapping the app icon
  • High effort
  • UI / UX updates to MainShareViewController
  • Updates to analytics to determine if user posted or saved as draft

Idea C

  1. Remove "Save as Draft" Share Sheet Action
  2. Default to saving as a draft when tapping the app icon
  • Low effort
  • Drops functionality to publish from Share Sheet, that current users depend on

Idea D

  1. Remove "Save as Draft" Share Sheet Action
  2. Bring app into the foreground with the Block Editor loaded when tapping the icon
Current behavior

Publishing

Safari Share Sheet Classic Editor Publish
image image Simulator Screenshot - iPhone 14 Pro - 2023-04-13 at 19 35 16 image

Saving as draft

Safari Share Sheet Save as Draft
image image image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing MainShareViewController and the existing Share Sheet actions, then compare the proposed behaviors with the current publishing and draft flows shown in the issue. The work is not ready to start until one approach is selected; done should match that approved behavior and preserve or intentionally revise the documented publishing and draft functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.