-
Notifications
You must be signed in to change notification settings - Fork 356
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
Conversation
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?
✅ Deploy Preview for gallant-galileo-14878c canceled.
|
finally found it!
it's a bit worrying just how many places you need to update to add one media type 😅
There was a problem hiding this 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).
client/src/core/client/admin/components/MediaContainer/BlueskyMedia.tsx
Outdated
Show resolved
Hide resolved
client/src/core/client/admin/routes/Configure/sections/General/MediaLinksConfig.tsx
Outdated
Show resolved
Hide resolved
client/src/core/client/stream/tabs/Comments/Comment/MediaConfirmation/MediaConfirmationIcon.tsx
Outdated
Show resolved
Hide resolved
client/src/core/client/stream/tabs/Comments/Stream/CommentForm/MediaField.tsx
Outdated
Show resolved
Hide resolved
956f6f9
to
18b8724
Compare
…nto feat/CORL-3202-bluesky-oembed
There was a problem hiding this 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!
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 useGifPreview
for the Bluesky embed typethis is weird, but at least everything else is workingThese changes will impact:
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?
Admin > Config > General > Embedded media
Were any tests migrated to React Testing Library?
No
How do we deploy this PR?
develop