Message editing: interaction of search with edited messages #354
Labels
A-Message-Editing
A-Timeline-Search
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Z-Synapse
Description
Message edits and the search functionality do not currently work well together. When a message is edited and then its new content searched for, Riot includes it in the number of results reported but the search result itself is not displayed.
Note that searching for the old term does include the edited message as a result, but since the message content is now changed, it can be confusing to see a result when it doesn't contain the term you searched for. This might warrant some UX changes.
Steps to reproduce
Create a new room (optional, but for predictability).
Send a message with the content
foo
.Search for
foo
.Riot says there is "~1 result" and the message
foo
is displayed among the results.Edit
foo
tobar
.Search for
bar
.Riot still says there is "~1 result" but now the message is no longer shown in the list of results. The list simply says "No more results".
Search for
foo
.Riot again says "~1 result" and the message
bar
is shown. This is good, but the UI should somehow indicate that the result is based on an earlier version of the message or even simply that the message was edited. Unlike in the regular room view, in the search view there is no button(edited)
indicating this.Searching for both
foo
andbar
should yield the message in question as the result. Searching forfoo
should also indicate that the result is based on an earlier version.Version information
I tested the above behaviour with both Riot Desktop 1.5.5 and https://riot.im/develop.
The text was updated successfully, but these errors were encountered: