Page MenuHomePhabricator

[M][User story] Logged-out behavior
Closed, ResolvedPublic1 Estimated Story Points

Description

User Stories

  • As a logged-out user who clicks "Join" on the Reading Challenge announcement, I want to be prompted to log in or create an account, and upon logging in land directly on the Activity tab already enrolled.
  • As a logged-in users who gets logged-out during the Reading Challenge, I want my progress to keep getting tracked in the widget, but understand that I need to log-in again to claim my prizes.
  • [Nice to have] As a logged-out user who clicks "Join" and then starts creating an account, I want to be able to navigate "back" to the challenge announcement, so I can read more and decide whether I want to continue creating an account.

Requirements:

Joining challenge

  • Make the full-page announcement visible to logged-out users with the same base behavior
  • For logged-out users, tapping Join the challenge triggers a log-in prompt that leads to the standard login / account creation flow
  • On successful login or account creation, the user should be taken back to the Activity tab with the Widget announcement showing
  • [Nice to have] If a user navigates back while in the account creation flow, they land back on the announcement again

During challenge

  • Widgets can continue to update if a user becomes logged-out during the challenge

Challenge completion

  • If a user completes the challenge while logged out and taps "Collect your prize" on the Widget, they should land on the logged-out state of the activity tab. Once they log back in, they should see the Prize screen

Designs

Event Timeline

WRai-WMF renamed this task from [User story] Join the challenge: Logged-out to [S][User story] Join the challenge: Logged-out.Mar 2 2026, 8:07 PM
WRai-WMF renamed this task from [S][User story] Join the challenge: Logged-out to [M][User story] Join the challenge: Logged-out.
HNordeenWMF renamed this task from [M][User story] Join the challenge: Logged-out to [M][User story] Logged-out behavior.Mar 2 2026, 11:50 PM
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF raised the priority of this task from Low to Medium.Mar 3 2026, 12:26 AM
Seddon changed the point value for this task from 5 to 1.Mar 17 2026, 4:55 PM
Seddon set Final Story Points to 5.

Hi @SChekfa-WMF

The implementation is completed. Please download the APK to test. Thank you!
https://github.com/wikimedia/apps-android-wikipedia/pull/6367

Hi @SChekfa-WMF

The issues have been fixed. Please download the APK from here, and let me know if you have any questions. Thanks!
https://github.com/wikimedia/apps-android-wikipedia/pull/6367

Testing Instructions
Steps to download the APK
Feature branch: https://github.com/wikimedia/apps-android-wikipedia/pull/6367
Click on "Checks" -> find "Android branch build" -> scroll down and find "Artifacts" -> Download the "app_alpha_release" file.

Seddon raised the priority of this task from Medium to High.Tue, Apr 21, 4:44 PM
ABorbaWMF subscribed.

Looks good on 50580-alpha-2026-04-21
Tested on:
Pixel 6 on Android 16
OnePlus 8 on Android 13

@ABorbaWMF did you try creating an account through this flow? I don't want to make another one unless necessary. Edit: I was able to create one on Test