-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
feat: preview card for status links #339
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Just scrolled to the timeline a bit and I assume this is one example(?): https://deploy-preview-339--elk-zone.netlify.app/universeodon.com/@Sheril@mastodon.social/109457566567611895
|
Is this tackling the same issue as #161 ? |
i will check if this will also address video thumbnails @Shinigami92 |
Thank you! Still just draft. :) |
Messed up the git history. Will clean tomorrow. :) |
:p does this use the mastodon homesserver rendered og image for less ddos / more privacy? |
Yes we're only using what the Mastodon server gives us |
dbd8fba
to
389fabb
Compare
Looks awesome 🙌🏼 @ayoayco I see some images a bit blurry I don't know if we can do much here though. Looks like the image itself is small, no? Should we avoid stretching in these cases and maybe make the preview smaller? 🤔 Let's merge it though, and we can check for improvements in further PRs |
I think it is possible we are going to see inconsistencies, because instance servers generate these images, and I think some will generate lower quality ones to save resources. Yeah I think we can improve by not stretching when we see it is a small thumbnail. Will write an issue for this. @patak-dev |
</StatusSpoiler> | ||
<StatusCard | ||
v-if="status.reblog" | ||
:status="status.reblog" border="~ rounded" | ||
:actions="false" | ||
/> | ||
</div> | ||
<StatusLink v-if="status.card" :card="status.card" /> |
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.
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.
I think issue is in 7443c1f.
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.
This should not be in the main branch by now. Can you pull the latest? @LittleSound
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.
reverted in ae8f4df
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.
feel free to correct me if this isn't the right solution @ayoayco
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.
That should be right. :)
Implementation of Preview card for links included within status content.
Needs PR to masto.js: neet/masto.js#745
Fixes #335
Screenshots