Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.38k stars 532 forks source link

Replace share extension with action extension #1914

Open JohannesWarn opened 4 years ago

JohannesWarn commented 4 years ago

After reading a discussion on Slack I realised that the current extension for subscribing to a feed using the share sheet (in Safari or another app) is wrong. There are two types of extensions in the share sheet: share extensions and action extensions (see the iOS HIG). Share extensions are meant for sharing content, and action extensions for performing tasks.

Currently the subscribe to feed extension is a share extension. Since subscribing to a feed is a task it should instead be a action extension. The different styling applied to action extension should also hopefully help with discoverability (which was the topic in the discussion on Slack).

nnw-subscribe-extension

(The placement in the list of available action can be configured by the user, and by default seems to be done by some sort of frequent use algorithm)

vincode-io commented 4 years ago

That was an intentional abuse of the HIG and a pretty common abuse by other apps.

My thinking was that the Share extensions are more noticeable and thus more discoverable. As you point out, that might not be the case in iOS 13 since iOS 13 seems to surface Action extensions without having to directly edit their availability.