Background
Presently if someone isn't logged in on the Android app they see the Subscribe bell and it gives them an error message if they try to click it. On Mobile Web, logged out users do not see the subscription bell at all for talk pages.
Task
If a user is logged out in the Android app, they should be see the same screen that users see a prompt letting them know in order to subscribe to a conversation they must "Join Wikipedia". The Join Wikipedia action should be a button component and takes people to the same destination that we send users during onboarding.
User Story
As a logged out user on the Wikipedia Android app, I would like to be notified that the reason I can't subscribe to a conversation is because I am logged out, so that I can make an account and keep track of conversations that are important to me
Proposed designs
View in Figma
| 01 | 02 |
|---|---|
Proposed user flow
- Non-logged in user taps on the 'subscribe' button on a talk page
- Dialog is opened
- 2A. User taps 'Maybe later' or taps outside of dialog > Dialog is dismissed, user is not subscribed to topic
- If user taps 'Maybe later' and isn't logged in they should see the dialog again if the press subscribe while logged out
- 2B. User taps 'Join Wikipedia' > User is navigated to the 'Join Wikipedia' page (same as onboarding)
- 3B. User successfully logs in or joins Wikipedia > User is navigated back to Talk page and subscribed to topic
- 3C. User does not successfully log in to or join Wikipedia > User is navigated back to Talk page and not subscribed to topic
- 2A. User taps 'Maybe later' or taps outside of dialog > Dialog is dismissed, user is not subscribed to topic
APK: https://github.com/wikimedia/apps-android-wikipedia/pull/3601

