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
Robin Townsend
c0123f5dad
Merge branch 'develop' into watch-show-timestamps
2021-07-18 11:47:44 -04:00
Robin Townsend
d466d1a7ee
Add alwaysShowTimestamps and others to RoomView setting watchers
...
to allow them to update on the fly. This also modifies the setting
watchers to avoid an unnecessary settings lookup.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-24 11:28:16 -04:00
Robin Townsend
af11878e0c
Use cached setting values when calling TextForEvent
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-16 20:41:36 -04:00
Robin Townsend
1e574307d0
Cache lowBandwidth setting to speed up BaseAvatar
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:08:47 -04:00
Robin Townsend
48d3e41351
Cache frequently used settings values in RoomContext
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:23:51 -04:00
Michael Telatynski
83d223475b
delint imports
2021-06-03 08:41:22 +01:00
Michael Telatynski
c1f397dcf7
delint
2021-05-25 16:20:23 +01:00
Šimon Brandner
c1a105f071
Merge branch 'develop' into improve-file-drop-ui
2021-02-25 18:12:37 +01:00
Šimon Brandner
972c947049
More generic layout setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
Šimon Brandner
5d7e45e6cf
Added dragCounter
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2020-12-17 20:29:33 +01:00
Michael Telatynski
54e41b5f32
fix tests
2020-11-05 16:27:41 +00:00
Michael Telatynski
906d4defd5
Convert RoomView and RoomContext to TS
2020-09-08 10:52:37 +01:00
Michael Telatynski
d725cc3389
convert MatrixClientContext to Typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 23:39:27 +01:00
Michael Telatynski
937b32663c
Migrate away from Legacy React Contexts
2019-12-17 17:26:12 +00:00