discourse/lib/onebox/templates
Joffrey JAFFEUX df7dab9dce
FIX: ensures generic onebox has width/height for thumbnail (#23040)
Prior to this fix we would output an image with no width/height which would then bypass a large part of `CookedProcessorMixin` and have no aspect ratio. As a result, an image with no size would cause layout shift.

It also removes a fix for oneboxes in chat messages due to this case.
2023-08-09 20:31:11 +02:00
..
github
json_ld_partials Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
_layout.mustache
allowlistedgeneric.mustache FIX: ensures generic onebox has width/height for thumbnail (#23040) 2023-08-09 20:31:11 +02:00
amazon.mustache
discourse_category_onebox.mustache
discourse_topic_onebox.mustache
discourse_user_onebox.mustache UX: Fix user onebox layout (#21284) 2023-04-28 09:50:49 -04:00
discoursetopic.mustache FEATURE: Show more context in Discourse topic oneboxes 2023-01-11 14:22:53 +01:00
githubactions.mustache
githubblob.mustache UX: remove extra whitespace in github onebox (#17111) 2022-06-17 11:09:45 +10:00
githubcommit.mustache
githubfolder.mustache
githubgist.mustache
githubissue.mustache FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
githubpullrequest.mustache FIX: Use only first line from commit message (#18724) 2022-10-24 22:26:48 +03:00
gitlabblob.mustache
googledocs.mustache
googledrive.mustache
googleplayapp.mustache
hackernews.mustache FEATURE: Onebox for news.ycombinator.com (#15781) 2022-02-03 13:39:21 -03:00
instagram.mustache
pastebin.mustache
pdf.mustache
preview_error_fragment_onebox.mustache
preview_error_onebox.mustache
pubmed.mustache
stackexchange.mustache
threadsstatus.mustache FEATURE: Basic support for threads.net onebox (#22471) 2023-07-06 16:02:49 -03:00
twitterstatus.mustache FIX: Minor Twitter onebox improvements (#22387) 2023-07-03 19:53:12 -03:00
wikimedia.mustache DEV: Use thumbnail url for wikimedia onebox image (#22620) 2023-07-14 12:20:18 -06:00
wikipedia.mustache
xkcd.mustache