dailydotdev / daily

daily.dev is a professional network for developers to learn, collaborate, and grow together 👩🏽‍💻 👨‍💻
https://daily.dev
GNU Affero General Public License v3.0
18.51k stars 493 forks source link

🐛 BUG: Sharing DailyDev posts to squads results in a no-name post with generic thumbnail #1537

Open frank-connolly opened 1 week ago

frank-connolly commented 1 week ago

What went wrong? 🤔

  1. Saw a cool post on feed - "Become a Better Java Developer: 19 Tips for Staying Ahead in 2024"
  2. Clicked on it and used the option on the right to share it with group Just Java
  3. The post in the squad shows no text and generic thumbnail background image

Expected Behavior

I expected the post in the squad to look the same as the post in the feed with article name and relevant thumbnail

Steps to Reproduce Issue

1. Go to your feed
2. Click on a post
3. Share it with a squad using the options on the right
4. See the new post on the squad

Solution Proposed

I assume the share is sharing the daily dev post instead of the linked article

Screenshots

![DESCRIPTION](LINK.png)

Environment

No response

Browsers

Chrome

OS

No response

Version of daily.dev

No response

Additional Context

No response

Code of Conduct

frank-connolly commented 1 week ago

Ok so this seems to only happen sometimes. I just did it again and it worked. Perhaps there is some conditional logic or a failure when grabbing title and thumbnail under some conditions

idoshamun commented 5 days ago

Hi @frank-connolly,

You're right. It should behave the same, maybe there's a glitch. Can you share the links to the original post and the squad post please?