Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORL-3202] Add bluesky to embed options #4705

Merged
merged 16 commits into from
Dec 9, 2024

Conversation

nick-funk
Copy link
Contributor

@nick-funk nick-funk commented Nov 28, 2024

What does this PR do?

Adds Bluesky embeds to the list of various other oembed types we support.

TODO

  • figure out why the media preview is trying to use GifPreview for the Bluesky embed type
    • this is weird, but at least everything else is working

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

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

Adds various BlueskyMedia types and inputs (same as say, TwitterMedia)

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?

  • enable Bluesky embeds in Admin > Config > General > Embedded media
  • paste an embed url from Bluesky into your comment
  • add the post to your comment
  • post the comment
  • see attached Bluesky oembed

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

  • Merge into develop

something weird is still going on, the oembeds don't show
up properly in preview or when embedded in the media view
the preview is still trying to use GifPreview for some
reason?
Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit 721c0a6
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/674f53ffcc12f30008ff505e

@nick-funk nick-funk marked this pull request as ready for review November 29, 2024 17:25
Copy link
Contributor

@kabeaty kabeaty left a comment

Choose a reason for hiding this comment

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

looking good overall. I left a few comments throughout. Main things are that I'm not seeing the Bluesky embed logo with the confirmation prompt when adding a link to a comment, and embeds don't seem to be adding their embed html correctly (seeing an error in the console).

@nick-funk nick-funk force-pushed the feat/CORL-3202-bluesky-oembed branch from 956f6f9 to 18b8724 Compare December 2, 2024 17:17
@nick-funk nick-funk requested a review from kabeaty December 3, 2024 18:56
Copy link
Contributor

@kabeaty kabeaty left a comment

Choose a reason for hiding this comment

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

All is working as expected and looks great now, thank you for the updates!

@tessalt tessalt merged commit 4ad18c0 into develop Dec 9, 2024
6 checks passed
@tessalt tessalt deleted the feat/CORL-3202-bluesky-oembed branch December 9, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants