element-hq / element-hq/element-web

Sharing feature could use a shared-text preview

Open
#22,268 2 comments 0 reactions 0 assignees View on GitHub
A-Share O-Occasional S-Minor T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?
Provide a preview (and optional caption) of the message I am sharing with others (especially in other rooms/spaces where context will rarely be apparent)

#### Why would you like to do it?
Because sharing is the lifeblood of collaboration, and the more explicit a Share action can be, the better. I'd even like the Sharing dialog to permit me to drag "Related links"" to it (but that can come later).

#### How would you like to achieve it?
1) Simply add a "Preview text" input that would include the first 180 chars of the item (and any already selected text). The user can edit to suit their context if needed.

2) add an optional "Caption" field for random call-outs (very important in many contexts)

To illustrate:

![2022-05-18_12h29_58](https://user-images.githubusercontent.com/10272750/169097741-f4a0deac-cf0f-4f64-9590-ae7d69d3d15f.png)

### Have you considered any alternatives?

I don't think there is a better approach. Sharing is the intent. so the more facilitated it can be, the better.

### Additional context

Quibble. I think the QR code and sharing icons on existing Sharing feature are far too large, Visually, they become the most important thing on the form, and they'd be to miss at a scale half the present size.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.