Skip to content

Conversation

@ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Jan 23, 2026

(Partially) Closes: AINFRA-1781


Description

Add documentation warning users about the Tenor API sunset on June 30, 2026. Google announced that the Tenor API will be deprecated, with new API key sign-ups blocked starting January 13, 2026, and full termination on June 30, 2026.

This PR adds:

  • mediapicker/source-gif/README.md with:
    • Prominent deprecation warning
    • Key dates and timeline
    • Migration recommendations (GIPHY)
    • Migration steps including Tenor references in parent module
    • Module structure overview
    • Screenshot of the official deprecation notice
  • mediapicker/README.md with:
    • Module overview
    • Deprecation warning linking to source-gif README
    • List of Tenor references in the parent module
    • Module structure overview

Testing Steps

  1. Review the rendered markdown files on GitHub
  2. Verify the deprecation warning renders correctly with the [!WARNING] admonition
  3. Verify the image displays properly
  4. Confirm all links work correctly

Add documentation warning users about the Tenor API sunset
on June 30, 2026:
- Add mediapicker/source-gif/README.md with full deprecation
  details, migration recommendations, and steps
- Add mediapicker/README.md linking to source-gif README and
  listing Tenor references in the parent module
- Include tenor-deprecation.png image from the official notice

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ParaskP7 ParaskP7 requested a review from Copilot January 23, 2026 12:27
@ParaskP7 ParaskP7 added the documentation Improvements or additions to documentation label Jan 23, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds module-level documentation to warn about the Tenor API deprecation and guide migrations away from the source-gif integration.

Changes:

  • Added mediapicker/source-gif/README.md describing Tenor deprecation timeline, migration steps, module structure, and an included screenshot.
  • Added mediapicker/README.md summarizing the module and calling out Tenor-related references in the parent module.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
mediapicker/source-gif/README.md Adds Tenor deprecation warning, timeline, migration guidance, and module overview for the GIF source.
mediapicker/README.md Adds top-level mediapicker module overview and links to the Tenor deprecation details in source-gif.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Gfycat has been discontinued and is no longer a viable
migration target.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wzieba
Copy link
Contributor

wzieba commented Jan 23, 2026

👍 but I think we should also remove publishing logic: https://github.com/wordpress-mobile/WordPress-MediaPicker-Android/blob/trunk/.buildkite/publish-mediapicker-source-gif.sh and remove source-gif from settings.gradle

@ParaskP7
Copy link
Contributor Author

...but I think we should also remove publishing logic: https://github.com/wordpress-mobile/WordPress-MediaPicker-Android/blob/trunk/.buildkite/publish-mediapicker-source-gif.sh

Hmmm, you think @wzieba ? 🤔 (not a bad idea indeed)

  • On the one hand I like this idea, because when we'll publish a new version of this library we'll make sure that we won't be able to use source-gif.
  • On the other hand I am not sure if that's worth it, because when the migration to another provider happens (but also if) we'll need to remember and bring that publishing logic back.

What do you think of me just commenting-out this piece of logic here, with an adequate comment on why this was done, and let it be for now? 🤔

  - label: "Publish :mediapicker:source-gif"
    depends_on:
      - "publish-mediapicker-domain"
    plugins: [$CI_TOOLKIT]
    command: |
      .buildkite/publish-mediapicker-source-gif.sh

...and remove source-gif from settings.gradle

Hmmm, I see, but also removing this logic is not that simple because the sampleapp is using source-gif, which will require a number of changes, for which:

  1. I am not sure if it is worth it.
  2. I am not sure if that's the correct way forward with this sample app. Maybe it is better to have it there and showcase how Tenor is no longer working (until or past the deadline), then keep this whole logic for testing purposes during the migration.

Wdyt? 🤔

Copy link
Contributor

@wzieba wzieba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, we can leave the module in the configuration 👍

@ParaskP7
Copy link
Contributor Author

What do you think of me just commenting-out this piece of logic here, with an adequate comment on why this was done, and let it be for now? 🤔

@wzieba thx, but wdyt about that though? 😊

@wzieba
Copy link
Contributor

wzieba commented Jan 23, 2026

Sounds good 👍 !

Temporarily disable the source-gif artifact publishing since
Tenor API is being sunset on June 30, 2026. Re-enable after
migrating to a new GIF provider.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ParaskP7
Copy link
Contributor Author

Sounds good 👍 !

FYI: This is now done: 7a8a355

@ParaskP7 ParaskP7 merged commit 451a271 into trunk Jan 26, 2026
12 of 13 checks passed
@ParaskP7 ParaskP7 deleted the docs/add-source-gif-readme-on-tenor-deprecation branch January 26, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants