status-im / status

0 stars 1 forks source link

Add unfurling of URLs in chats #2

Closed iurimatias closed 3 years ago

iurimatias commented 3 years ago

originally in: https://github.com/status-im/status-react/issues/11158

User Story

As a user, I want the app to unfurl URLs so that I can easily see what they refer to without needing to open the URL.

Description

Type: Feature

Summary: If another user shares a URL with me (maybe from a 3rd party app #4605), it would be great if I could see the summary of the content of the URL so I have a quick idea of what it's about.

Expected behavior

  1. User receives URL
  2. App recognizes URL and uses an unfurlingeloper-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254) library to generate an image (or HTML) content that represents the summary of the URL.

image

Acceptance Criteria

Security implications

We have to think about the security implications if we do this on the client side (will it be acceptable to access a random URL which might leak metadata about us?)

Issues

mobile: https://github.com/status-im/status-react/issues/11158