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

fix broken entry preview for non-image embeds #561

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

asdfzdfj
Copy link
Contributor

@asdfzdfj asdfzdfj commented Mar 7, 2024

the entry preview link order switching from #501 can make some entry that's not an image post but have thumbnail image to have faulty preview when expanded

for example, an entry with link to youtube video would have its thumbnail attached as its image, now when opening the media preview you would get the preview of its thumbnail instead of the embed youtube player like it used to be

(example from kbin.run)
image

this should fix the preview for those entries while still play nice with the new #501 image handling

(fixed/what it once was/what it should be)
image

@e-five256 e-five256 added the bug Something isn't working label Mar 7, 2024
the entry preview link order switching from #501 can make some entry
that's not an image post but have thumbnail image to have faulty preview
when expanded

for example, an entry with link to youtube video would have its
thumbnail attached as its image, now when opening the media preview you
would get the preview of its thumbnail instead of the embed youtube
player like it used to be

this should fix the preview for those entries while still play nice with
the new #501 image handling
@asdfzdfj asdfzdfj force-pushed the fix/entry-preview-showed-thumb-not-embed branch from cdb001f to dbdca31 Compare March 7, 2024 14:36
@asdfzdfj asdfzdfj enabled auto-merge (squash) March 7, 2024 14:37
@asdfzdfj asdfzdfj merged commit 3152b39 into main Mar 7, 2024
7 checks passed
@asdfzdfj asdfzdfj deleted the fix/entry-preview-showed-thumb-not-embed branch March 7, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants