Improve remove recent messages dialog (#6114)
* Allow keeping state events when removing recent messages The remove recent messages dialog redacts most state events since they can be abuse vectors as well, however some users that see the option actually want to use it to only remove messages. This adds a checkbox option to do so. Signed-off-by: Robin Townsend <robin@robin.town> * Don't redact encryption events when removing recent messages Signed-off-by: Robin Townsend <robin@robin.town> * Show UserMenu spinner while removing recent messages This also generalizes the UserMenu spinner to work with other types of actions in the future. Signed-off-by: Robin Townsend <robin@robin.town> * Clarify remove recent messages warning Clarify that they are removed for everyone in the conversation, not just yourself. Signed-off-by: Robin Townsend <robin@robin.town> * Adjust copy and preserve state events by default * Redact messages in reverse chronological order Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
d8a939df5d
commit
83f2bf4261
7 changed files with 241 additions and 100 deletions
|
@ -1802,6 +1802,8 @@
|
|||
"Join public room": "Join public room",
|
||||
"Currently joining %(count)s rooms|other": "Currently joining %(count)s rooms",
|
||||
"Currently joining %(count)s rooms|one": "Currently joining %(count)s room",
|
||||
"Currently removing messages in %(count)s rooms|other": "Currently removing messages in %(count)s rooms",
|
||||
"Currently removing messages in %(count)s rooms|one": "Currently removing messages in %(count)s room",
|
||||
"%(spaceName)s menu": "%(spaceName)s menu",
|
||||
"Home options": "Home options",
|
||||
"This room": "This room",
|
||||
|
@ -1997,14 +1999,6 @@
|
|||
"They'll still be able to access whatever you're not an admin of.": "They'll still be able to access whatever you're not an admin of.",
|
||||
"Failed to remove user": "Failed to remove user",
|
||||
"Remove from room": "Remove from room",
|
||||
"No recent messages by %(user)s found": "No recent messages by %(user)s found",
|
||||
"Try scrolling up in the timeline to see if there are any earlier ones.": "Try scrolling up in the timeline to see if there are any earlier ones.",
|
||||
"Remove recent messages by %(user)s": "Remove recent messages by %(user)s",
|
||||
"You are about to remove %(count)s messages by %(user)s. This cannot be undone. Do you wish to continue?|other": "You are about to remove %(count)s messages by %(user)s. This cannot be undone. Do you wish to continue?",
|
||||
"You are about to remove %(count)s messages by %(user)s. This cannot be undone. Do you wish to continue?|one": "You are about to remove 1 message by %(user)s. This cannot be undone. Do you wish to continue?",
|
||||
"For a large amount of messages, this might take some time. Please don't refresh your client in the meantime.": "For a large amount of messages, this might take some time. Please don't refresh your client in the meantime.",
|
||||
"Remove %(count)s messages|other": "Remove %(count)s messages",
|
||||
"Remove %(count)s messages|one": "Remove 1 message",
|
||||
"Remove recent messages": "Remove recent messages",
|
||||
"Ban": "Ban",
|
||||
"Unban from %(roomName)s": "Unban from %(roomName)s",
|
||||
|
@ -2441,6 +2435,16 @@
|
|||
"Notes": "Notes",
|
||||
"If there is additional context that would help in analysing the issue, such as what you were doing at the time, room IDs, user IDs, etc., please include those things here.": "If there is additional context that would help in analysing the issue, such as what you were doing at the time, room IDs, user IDs, etc., please include those things here.",
|
||||
"Send logs": "Send logs",
|
||||
"No recent messages by %(user)s found": "No recent messages by %(user)s found",
|
||||
"Try scrolling up in the timeline to see if there are any earlier ones.": "Try scrolling up in the timeline to see if there are any earlier ones.",
|
||||
"Remove recent messages by %(user)s": "Remove recent messages by %(user)s",
|
||||
"You are about to remove %(count)s messages by %(user)s. This will remove them permanently for everyone in the conversation. Do you wish to continue?|other": "You are about to remove %(count)s messages by %(user)s. This will remove them permanently for everyone in the conversation. Do you wish to continue?",
|
||||
"You are about to remove %(count)s messages by %(user)s. This will remove them permanently for everyone in the conversation. Do you wish to continue?|one": "You are about to remove %(count)s message by %(user)s. This will remove them permanently for everyone in the conversation. Do you wish to continue?",
|
||||
"For a large amount of messages, this might take some time. Please don't refresh your client in the meantime.": "For a large amount of messages, this might take some time. Please don't refresh your client in the meantime.",
|
||||
"Preserve system messages": "Preserve system messages",
|
||||
"Uncheck if you also want to remove system messages on this user (e.g. membership change, profile change…)": "Uncheck if you also want to remove system messages on this user (e.g. membership change, profile change…)",
|
||||
"Remove %(count)s messages|other": "Remove %(count)s messages",
|
||||
"Remove %(count)s messages|one": "Remove 1 message",
|
||||
"Unable to load commit detail: %(msg)s": "Unable to load commit detail: %(msg)s",
|
||||
"Unavailable": "Unavailable",
|
||||
"Changelog": "Changelog",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue