element-hq / element-hq/element-web

Clicking on search result jumps to hidden edit event instead of edited message

Open
#17,097 1 comment 0 reactions 0 assignees View on GitHub
A-Message-Editing A-Search O-Uncommon S-Minor T-Defect Z-ProductPolish
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

This is quite annoying, and applies also for the labs pinning feature.

### Steps to reproduce
(the room I tried this in was encrypted)

- post message
- edit message
- search message
- search results include edits
- click on edit thinking it was the message
- timeline jumps to somewhere, but the post is nowhere to be seen (suspect: the edit is a hidden event here)

Describe how what happens differs from what you expected:
Instead, jump to where the original message is, but show the message (or diff if the current state doesn't include the search term anymore, or highlight a diff button, etc).

Logs being sent: no

### Version information

- **Platform**: desktop

For the desktop app:

- **OS**: Arch
- **Version**: aur/element-desktop-nightly-bin 2021042701-1

Related, maybe: vector-im/element-desktop#923, vector-im/element-meta#354, vector-im/element-meta#1624

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.