Indicate whether collapsed statuses contain gallery media or link preview cards
1 unresolved thread
Fixes #767 (closed)
Currently this shows a picture icon for any kind of gallery media, if you'd like I can adjust it to distinguish between images and videos.
Merge request reports
Activity
- Resolved by xenofem
277 277 href="#" 278 278 class="cw-status-hider" 279 279 @click.prevent="toggleShowMore" 280 >{{ $t("general.show_more") }}</a> 280 > 281 {{ $t("general.show_more") }} 282 <span 283 v-if="galleryAttachments.length > 0" 284 class="icon-picture" 285 /> 286 <span 287 v-if="status.card" Hmmm, looking at
link-preview.js
, the BE isn't supposed to provide preview cards at all for NSFW statuses, but we still make sure to hide any preview card images that show up in NSFW statuses somehow. If we're paranoid enough to add code to handle that case, I feel like we should be consistently paranoid and indicate the presence of a link, and it's not like it hurts anything to do so. If you have suggestions for a better icon I'm all ears.
added 1 commit
- e36c39be - Include non-gallery attachments and distinguish between images and videos
mentioned in commit 6be62417
mentioned in merge request !1157 (closed)
Please register or sign in to reply