main
← fix/allow-oneboxes-with-no-description
opened 12:38AM - 26 Feb 25 UTC
This behaviour was allowed in https://github.com/discourse/onebox/commit/cb82dce…86afbfbf2db08b80d61134a7da25c6d68
but then inexplicably removed a few months later in
https://github.com/discourse/onebox/pull/448, but showing
title-only oneboxes is valid. The original Meta topic that
this was discussed in was https://meta.discourse.org/t/abc-news-not-oneboxing-due-to-missing-description/155933 .
This commit re-introduces allowing this behaviour to avoid the need for a plugin,
c.f. https://meta.discourse.org/t/allow-title-only-onebox/354306
For example <https://en-americas-support.nintendo.com/app/answers/detail/a_id/67660>:

This commit also unhides onebox descriptions in chat, it's not
clear why they were ever hidden in the first place:
