Page MenuHomePhabricator

YiR: Share flow for individual slides
Closed, ResolvedPublic2 Estimated Story Points

Description

Context

This year we are bringing the Year in Review feature to Android, after its initial deployment and iterations on iOS. The goal is to deepen engagement and increase retention of readers.

Requirements

  • Allow users to share each individual slide from the share icon
  • Generate a static image of the slide for sharing using system sharing
  • Prepopulated text should include hashtag and app install link (using custom ID from instrumentation deck)
  • Sharing the image should function on Messages, Instagram, Threads, Reddit, Facebook, X, and BlueSky

Designs

https://www.figma.com/design/DHj33gafvUmkiUahLSJgIM/Android---%3E-Year-in-Review-v3?node-id=1-8329&t=5BDIU1TUI1vtOsOY-4

Reference

iOS implementation T376300

Event Timeline

@cooltey

i noticed that on smaller devices, the share slide is truncating so you don't see the W logo at the top and the hashtag at the bottom of the share image:

can we fix this so that the full slide is downloaded/shared?

Screenshot 2025-11-03 at 12.57.52 PM.png (1×744 px, 469 KB)

@SChekfa-WMF
Since you are using an emulator to test this, would you be able to test this though a physical device and share it through an app like Slack or email?

I can see the file has been renamed to details.jpg.pdf which is not the same as the one we programmed.

If you want to send a message in an emulator, you can simply create a fake contact, and next time when you share the image, you can select the fake contact and click on the generated screenshot in the text input area in the message app.

Please let me know if you need assistance in creating a fake contact in your emulator, thanks.

tested on my own device and this LGTM! thank you for the clarification

ABorbaWMF subscribed.

Looks good on 2.7.50557-r-2025-11-14, on OnePlus 8 on Android 13, and Pixel 6 on Android 16. Tested on all themes.

Looks good - the screen that the gif grabs for the first screen is slightly less than ideal, but fine.

yir_2025.jpg (1×1 px, 70 KB)