Page MenuHomePhabricator

[S] Honor Logged-In Users Web preferences for Opting-Out of Donation Banners
Closed, ResolvedPublic

Description

Background
A user originally requested:

It would be great if the app had a way, as the we-based version does, to opt-out of/suppress the donation banners for logged in users.

After some investigation we realized that folks can opt-out of seeing fundraising banners on web. This ticket is to ensure we honor banner preferences for app users.

Must Have
As a cross-platform logged-in user, I want my web preferences for seeing fundraising banners to be respected in the app while logged in so that I can maintain a consistent and personalized experience across both web and app platforms.

Nice to Have (low priority)
As an app user, I would like to opt-out or permanently suppress donation banners when logged-in without having to leave the app, while being informed where I can access the donate option should I want to in the future, so that I won't be repeatedly prompted with donation banners reducing my frustration with appeals.

iOS Testing Notes

  1. Change device region in iOS Settings to Japan or Spain.
  2. Change device date in iOS Settings to line up with Japan or Spain's campaigns
  3. Go to your logged in account on your primary app language in Desktop Wikipedia. Go to Banner Preferences and uncheck fundraising.
  4. Fresh install the latest Staging Test Flight build. Launch app. On Explore feed, background the app, then foreground, then pull to refresh on Explore to force the app to fetch campaign data.
  5. Go to an article on EN Wikipedia. Confirm you do NOT see the campaign modal.
  6. On Desktop Wikipedia, re-check fundraising in banner preferences.
  7. Repeat step 3-4. Confirm this time you do see the campaign modal.

Event Timeline

I will look into the logic for web for logged in users

JTannerWMF renamed this task from Opt-Out Feature Request for Donation Banners in App for Logged-In Users to Honor Logged-In Users Web preferences for Opting-Out of Donation Banners.Dec 8 2023, 1:10 AM
JTannerWMF updated the task description. (Show Details)

Before the next campaign we should pick this up

Looks like the name of the preference (accessible via API with meta=userinfo) is centralnotice-display-campaign-type-fundraising.

If the user is opted in to fundraising banners, this preference is set to 1. Otherwise it's set to empty.

Tsevener renamed this task from Honor Logged-In Users Web preferences for Opting-Out of Donation Banners to [S] Honor Logged-In Users Web preferences for Opting-Out of Donation Banners.May 7 2024, 4:54 PM
Tsevener claimed this task.
Tsevener subscribed.