Page MenuHomePhabricator

[User story] Widget refreshes daily (copy/illustration/color)
Closed, ResolvedPublic2 Estimated Story Points

Description

User story

As a participant in the challenge, I want my widget to to update every now and then, so it catches my eye and I remember to read that day.

Requirements

Event Timeline

Seddon set the point value for this task to 5.Mar 3 2026, 5:51 PM

I'm working with @cmadeo to ensure the copy is finalized before we pick this up

Hi @HNordeenWMF,
For the daily combination refresh, the doc says 'random'. Does this mean truly random, where any combination from the table could appear on any given day? If so, there's a chance the same combination could show up two days in a row. Would it be okay to instead cycle through the rows in order and repeat once done, so users always see something different each day?

For the streak ongoing read today state, if we’re using the progress design, we won’t be showing the text, right?

@WRai-WMF

For the daily combination refresh, the doc says 'random'. Does this mean truly random, where any combination from the table could appear on any given day? If so, there's a chance the same combination could show up two days in a row. Would it be okay to instead cycle through the rows in order and repeat once done, so users always see something different each day?

Cycling through is smarter, I agree.

For the streak ongoing read today state, if we’re using the progress design, we won’t be showing the text, right?

Correct, if we have the progress bar we don't need the line of text. The other elements (color and baby globe) should still cycle though

Dbrant changed the point value for this task from 5 to 2.Mar 17 2026, 4:29 PM

Note: This is currently difficult to test, the only way to verify it is by waiting until the next day.

Steps to download the build

  1. Navigate to the feature branch.
  2. Select Checks which is below the Title.
  3. Select Android Branch Build
  4. Scroll down to find the app_alpha_release to download.

The widget only refreshes in three states

  1. Streak ongoing
  2. Enrolled not started
  3. streak needs reading

Testing Instruction

  1. Go to developer settings
  2. Navigate to Reading Challenge Widget Configurations
  3. Turn on the readingChallengeWidgetFastCycle, this enables the widget to update every 1 minute. This will only appear when the widget is in the correct state.
Seddon raised the priority of this task from Medium to High.Apr 21 2026, 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

@WRai-WMF the readingChallengeWidgetFastCycle is not working for me for some reason. I turn it on, and get into one of the states, then watch the widget on my homescreen, but I never progress past the first versions. Is there anything else I need to do to trigger an update?

Hi @HNordeenWMF,
After turning on fast cycle, sometimes you might not see the widget update right away and this is expected since it's a dev-only tool. If that happens, just resize the widget to trigger a redraw and it should work from there. For the normal 24hr update cycle this will work.

Resizing the widget is also not triggering it for me. I'll wait until tomorrow & see if it updates!

Quick question are you testing this in a natural flow without fast cycle enabled?