Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add ability to properly edit messages in Threads. #6877

Merged
merged 23 commits into from
Oct 1, 2021

Conversation

Palid
Copy link
Contributor

@Palid Palid commented Sep 28, 2021

Fix element-hq/element-web#18981


Here's what your changelog entry will look like:

✨ Features

Preview: https://61570d9a7e599d00d5170c41--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.

@Palid Palid requested a review from a team as a code owner September 28, 2021 14:13
@Palid Palid marked this pull request as draft September 28, 2021 14:13
@germain-gg germain-gg removed the request for review from a team September 28, 2021 14:39
@Palid Palid marked this pull request as ready for review September 29, 2021 17:11
@germain-gg germain-gg self-requested a review September 30, 2021 08:10
Copy link
Contributor

@germain-gg germain-gg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks really good 👏
Couple of minor changes, but that should be good to go after that.

The arrow keys logic with the composer is fixed, however there's an issue where redaction are not partitioned correctly and when editing a message in the thread view, the redaction event ends up in the main room timeline

I've created another ticket to track this issue, check element-hq/element-web#19229

Edit: the linter and the tests need appeasement

src/components/structures/MessagePanel.tsx Show resolved Hide resolved
src/components/views/rooms/EditMessageComposer.tsx Outdated Show resolved Hide resolved
src/components/views/rooms/MessageComposer.tsx Outdated Show resolved Hide resolved
src/components/views/rooms/MessageComposer.tsx Outdated Show resolved Hide resolved
src/components/views/rooms/SendMessageComposer.tsx Outdated Show resolved Hide resolved
@@ -0,0 +1,46 @@
/*
Copyright 2019 The Matrix.org Foundation C.I.C.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The copyright is incorrect here

src/contexts/RoomContext.ts Outdated Show resolved Hide resolved
src/utils/EventUtils.ts Show resolved Hide resolved
@Palid Palid added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label Oct 1, 2021
@Palid Palid requested a review from germain-gg October 1, 2021 12:12
@Palid Palid force-pushed the palid/feature/threads/18981 branch from 301b86a to 489cb63 Compare October 1, 2021 12:13
@Palid Palid merged commit 1331e96 into develop Oct 1, 2021
@Palid Palid deleted the palid/feature/threads/18981 branch October 1, 2021 13:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix up arrow key to edit events when thread view is open
3 participants