# התנהגות מוזרה בעת שיתוף נושאים עם תוכן מוסתר למעלה או שמתחילים בקישורים

**URL:** https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205
**Category:** UX
**Tags:** onebox
**Created:** [20 ביולי,‏ 2023,‏ 1:32am UTC](https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205 "2023-07-20T01:32:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [20 ביולי,‏ 2023,‏ 1:32am UTC](https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205/1 "2023-07-20T01:32:56Z")

</div>

I’ve noticed this a few times, and I’m wondering if this is a bug. If you have a topic with non-text content at the start (e.g. an image, a youtube video link) and then text to follow…

…when you share that link and it unfurls, the preview text includless the media content’s text descriptions, which just seems odd.

For example. I have this post in my community:  
[https://developer.sailpoint.com/discuss/t/build-and-test-transforms-locally/11227](https://developer.sailpoint.com/discuss/t/build-and-test-transforms-locally/11227)

When we share that locally in our community and it unfurls, it starts with `[header-image]` which is the text-based name of the uploaded media, and the same with the video below it.

It would be great if media like this was ignored when unfurling these shared topics.

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/0/7/b079c3ae79a86dbdc4315937cd406d16099e6f3e.png)

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [20 ביולי,‏ 2023,‏ 4:03am UTC](https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205/2 "2023-07-20T04:03:49Z")

</div>

This looks related to

> [@Empty oneboxes because linked post contains github onebox](https://meta.discourse.org/t/empty-oneboxes-because-linked-post-contains-github-onebox/269436):
>
> So here it is: The onebox for posts containing a github onebox do not show any text of the post. Example: Seems it worked in February because this post has a onebox with text [Per-user opt-in of appending the username on link sharing - #4 by JammyDodger](https://meta.discourse.org/t/per-user-opt-in-of-appending-the-username-on-link-sharing/255608/4) The onebox is even empty if there is text in front of the github onebox

I’ll add a note to look at this one when we’re fixing that.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [20 ביולי,‏ 2023,‏ 6:46am UTC](https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205/3 "2023-07-20T06:46:49Z")

</div>

I like that the images are not suppressed in oneboxes. Sometime the text only works in context with the image. Then it is important to know there is an image in the post, so you know you have to visit the post to see all information.  
I wish we would also have indicators for quotes and links. So you would know there is more in the post then the preview shows.

> [@Linking to a topic containing uploaded images looks awful](https://meta.discourse.org/t/linking-to-a-topic-containing-uploaded-images-looks-awful/201363/5):
>
> I name mine so they look okay/are useable in the Search and onebox links:

---

<div class="post-metadata">

### Author: ![kelv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kelv/32/524739_2.png) [@kelv](https://meta.discourse.org/u/kelv)
#### Post date: [11 בספטמבר,‏ 2023,‏ 6:23am UTC](https://meta.discourse.org/t/odd-behavior-when-sharing-topics-with-hidden-content-at-the-top-or-that-start-with-links/272205/10 "2023-09-11T06:23:10Z")

</div>

@jordan-violet Appreciate the feedback! 🙇‍♂️ I’ve recategorized this as `ux` and added the `onebox` tag so it comes up as a data point as we explore improving the onebox UX in future.

Having the media content’s text description still present in the excerpt of the onebox is intentional and signals that there’s some additional media to be seen within that excerpt when it is expanded.

This aligns with the behaviour of oneboxing of external links (except that we do render those as thumbnails), but there’s some styling & performance considerations that we’ve had to trade off against when approaching whether to render it fully in local oneboxes’ excerpt; hence the use of the media content’s text description instead.
