Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Include preview cards in status entity in REST API #9120
A link can sometimes be fetched before the status is distributed. In other cases, first distribution includes no card. However, with the preview card resetting the cache of its status, the card will appear on subsequent loads. This might be acceptable.
When used from the in-stream status component, the card uses "compact" styling, which omits the description of the link and enforces a single-line rule for titles, and shrinks the thumbnail to 60px width, unless the preview is interactive. When the preview is interactive (e.g. YouTube), the thumbnail with action buttons is shown at 16:9, with no description section and no border.