matrix-org / matrix-org/matrix-spec

Mark a part of a message for a specific purpose (e.g. copying)

Open
#960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**Suggestion**

Messages that have a specific section in them that are meant to be copied (i.e. 2FA).

The most interesting use case for this is being able to have a button (at least on Android) which allows you to copy that part directly from the notification panel (this is an existing feature of many SMS apps, from Google or the ones from the manufacturers). An example of something similar can be found with G-Mail - being able to open a link without opening the E-Mail (for example GitHub issuemake use of this).

![Screenshot_2021-12-28-11-45-59-518_com tinder](https://user-images.githubusercontent.com/31655082/147558553-6e26ae08-d275-440d-8154-6138cf621ed0.jpg)

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Matrix specification's message representation and notification behavior, then determine how a message section would be identified for a purpose such as copying. Compare the requested Android notification-panel action with the linked examples and define the protocol changes and completion criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.