Aaron Raimist
f3867ad0a9
Merge branch 'develop' into sort-imports
2021-10-27 21:50:56 -05:00
Šimon Brandner
c3ad8b4eed
Cleanup re-dispatching around timelines and composers ( #7023 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-10-25 11:43:54 +00:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Germain Souquet
d315641056
Make threads use 'm.thread' relation
2021-10-14 17:04:27 +01:00
Germain Souquet
597bfc9ca5
Rename changed variable
2021-10-01 15:10:32 +01:00
Germain Souquet
25896880ca
Rename rendering context to timeline rendering type
2021-10-01 14:50:35 +01:00
Germain Souquet
94573568fd
Add reply in thread hint to m.replace relations
2021-10-01 14:49:22 +01:00
Dariusz Niemczyk
1331e960fa
Add ability to properly edit messages in Threads. ( #6877 )
...
* Fix infinite rerender loop when editing message
* Refactor "edit_event" to Action.EditEvent
* Make up-arrow edit working in Threads
* Properly handle timeline events edit state
* Properly traverse messages to be edited
* Add MatrixClientContextHOC
* Refactor RoomContext to use AppRenderingContext
* Typescriptify test
Co-authored-by: Germain <germains@element.io>
2021-10-01 15:35:54 +02:00
Dariusz Niemczyk
8331d4c7b7
Happily handle empty text messages ( #6825 )
...
This commig refactors the message-deletion modal and reuses it for case of removing
the entire message and trying to send it, which should trigger removal flow instead.
Fix vector-im/element-web#18873
2021-09-28 15:04:25 +01:00
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod ( #6827 )
...
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Šimon Brandner
b1ba5fb48c
Convert end-of-line emoji when editing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 19:13:46 +02:00
Germain Souquet
dca268e67a
Replace eventIsReply util with replyEventId getter
2021-09-01 10:55:47 +01:00
Michael Telatynski
51f0f5718a
improve types
2021-07-12 13:26:34 +01:00
Šimon Brandner
68d194444a
FocusComposer -> FocusSendMessageComposer
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-08 17:36:31 +02:00
Šimon Brandner
7734f8aeef
Handle focusing multiple composers
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-08 17:33:49 +02:00
Michael Telatynski
5d1a1b46f3
Fix instances of the Edit Message Composer's save button being wrongly disabled
2021-07-01 23:48:52 +01:00
Michael Telatynski
3a80df4222
Fix react context not being assigned during construction
2021-06-30 13:45:43 +01:00
Michael Telatynski
0a5abb09f4
Fixes identified by TS
2021-06-30 13:03:29 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00