matrix-org / matrix-org/matrix-rust-sdk

timeline: support undoing an edit

Open
#5,063 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Timeline
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

> undoing an edit (because it was a local echo that's been cancelled, or it's been redacted) is likely an edge case, and something we're fine supporting in the short term.

_Originally posted by @bnjbvr in https://github.com/matrix-org/matrix-rust-sdk/pull/5046#discussion_r2097653556_

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

The issue names timeline edit handling but provides no files, tests, or entry points. Start by locating how the timeline represents edited events, then investigate the two stated cases: cancelled local echoes and redacted edits. Done should mean an edit can be undone consistently in both cases, with coverage for the resulting timeline behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.