talk icon indicating copy to clipboard operation
talk copied to clipboard

[CORL-3171] allow swapping between Giphy and Tenor

Open nick-funk opened this issue 1 year ago • 1 comments
trafficstars

What does this PR do?

  • Allow switching between Giphy and Tenor in Admin > Config
  • Add new Tenor search and preview elements in the stream

TODO:

[ ] need to map content ratings from Giphy vals to Tenor in the tenor endpoint [ ] fix weird issue where you need to always type something to post a gif

These changes will impact:

  • [X] commenters
  • [ ] moderators
  • [X] admins
  • [X] developers

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

No

If any indexes were added, were they added to INDEXES.md?

N/A

How do I test this PR?

To test the tenor endpoint, set the API key in the Coral Admin > Config and then you can call queries for results via:

http://localhost:3000/api/tenor/search?query=excited

(this will do a query for "excited" gifs)

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

  • Merge into develop
  • Cut a release
  • Turn off Giphy on all clients who use gifs
  • Migrate API keys for tenor into various SaaS and O&O clients
  • Deploy new release to clients/O&O
  • Turn Tenor on for all clients who use gifs

nick-funk avatar Jun 11 '24 16:06 nick-funk

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit 4641df901f5c80cf91502f0ac5e06ecec82075c8
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/668d89914128990008f55d5d

netlify[bot] avatar Jun 11 '24 16:06 netlify[bot]