Page MenuHomePhabricator

[M] Display tooltip onto Article or Explore profile button
Closed, ResolvedPublic

Description

Background

The Apps team plans to explore if a personalized Wikipedia in Review feature that displays insights about a user's reading history, editing history, and donation history is engaging for App users, and inspires them to make a donation to the Wikimedia Foundation.

Requirements
  • Show tooltip only once, on article or explore feed profile icon
  • "Got it" dismisses tooltip but not profile badge states
  • Show tooltip after someone has ignored or closed the New feature announcement (will be built in T376316)
  • Show when someone returns to Explore or Article view after having navigated away from YiR (clicks done, clicks a link, clicks donate from a slide)
  • Add tooltip impression event to analytics (deck)
Designs

image.png (1×786 px, 603 KB)

Engineering Notes
  • Create and display a tooltip using our existing component WMFTooltipViewController.
  • Create a new user defaults flag for tracking if a user has already seen this tooltip before.
  • Create a new simple boolean flag in WiR data controller for tracking if a user needs to try to see a tooltip.
  • In WiR coordinator, when user performs an action in WiR that causes WiR to dismiss prematurely, after WiR has dismissed but before we navigate them away, set simple boolean flag = true.
  • Also, when dismissing feature announcement, check user defaults flag, present tooltip if flag is no. Set user defaults flag to yes after presentation.
  • Then in Explore & Article viewDidAppear, present tooltip if simple boolean flag = true and user defaults flag = false. Set user defaults flag to true, simple boolean flag to false after tooltip presentation.

Event Timeline

@HNordeenWMF (my fault for missing this in task breakdown doc) - this tooltip should show on the profile button in both article AND explore, correct? We should change the task title.

@HNordeenWMF

Do not show tooltip if badge state is no longer active (T376312)

This requirement is a bit conflicting to me. Once they see the intro screen, the badge state will no longer be active. Then if they navigate away prematurely (tapped Donate in the middle), this requirement would prevent the tooltip from showing. Is that expected? I think then it wouldn't show in almost all cases of navigating away prematurely.

Tsevener renamed this task from Display tooltip onto article profile button to [M] Display tooltip onto article profile button.Oct 4 2024, 4:42 PM
Tsevener updated the task description. (Show Details)
HNordeenWMF renamed this task from [M] Display tooltip onto article profile button to [M] Display tooltip onto article & explore profile button.Oct 7 2024, 11:09 PM
HNordeenWMF renamed this task from [M] Display tooltip onto article & explore profile button to [M] Display tooltip onto Article or Explore profile button.
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF moved this task from Needs Triage to Up next on the Wikipedia-iOS-App-Backlog board.
HNordeenWMF claimed this task.
HNordeenWMF moved this task from Up next to Product Backlog on the Wikipedia-iOS-App-Backlog board.
HNordeenWMF added a subscriber: scblr.

Discussed with @scblr and we feel the Tooltip is no longer necessary