Commit graph

45319 commits

Author SHA1 Message Date
Kerry
9f66082486
Notifications: inline error message on notifications saving error (#10288)
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment

* add error variant for caption component

* tests for new error message

* tweak styles

* noImplicitAny

* revert out of date prettier changes to unrelated files

* limit inline message to radios only, tests

* strict fix
2023-03-13 21:59:04 +00:00
Weblate
3a9be33211 Merge branch 'origin/develop' into Weblate. 2023-03-13 21:56:00 +00:00
Peter Chen
5b7f90b348 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-13 21:55:59 +00:00
Kerry
72404d7216
Apply strictNullChecks to src/utils/beacon/* (#10337)
* strictnullchecks fixes in utils/beacon

* user filterBoolean
2023-03-13 21:55:50 +00:00
Weblate
57574dd7fa Merge branch 'origin/develop' into Weblate. 2023-03-13 15:08:06 +00:00
Michael Telatynski
503df62191
Conform more of the codebase to strictNullChecks (#10358
* Conform more of the codebase to `strictNullChecks`

* Fix types

* Iterate

* Iterate
2023-03-13 15:07:20 +00:00
Weblate
d0d4866c4b Merge branch 'origin/develop' into Weblate. 2023-03-13 14:43:24 +00:00
Open Culture Foundation
5afcc5dc79 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-13 14:43:23 +00:00
Michael Weimann
41d88ad6ae
Fix user pill click (#10359) 2023-03-13 15:43:13 +01:00
Weblate
061293e12a Merge branch 'origin/develop' into Weblate. 2023-03-12 20:22:36 +00:00
Kerry
1e46efe89c
Poll history - make poll history independent from dialogs (#10349)
* move pollhistory from dialogs to polls directory

* rename PollHistoryDialog -> PollHistory

* rename references to PollHistoryDialog

* move title to PollHistory

* add option to collapse empty dialog header
2023-03-12 20:22:30 +00:00
lunarna-gh
dc5f3995e5 Translated using Weblate (Polish)
Currently translated at 62.8% (2356 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2023-03-12 16:33:51 +00:00
Open Culture Foundation
e65cfb58aa Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-12 16:33:44 +00:00
Weblate
ddc85a04f8 Merge branch 'origin/develop' into Weblate. 2023-03-10 14:55:14 +00:00
Michael Telatynski
127a3b667c
Conform more of the codebase to strictNullChecks (#10350
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Generics ftw

* Iterate
2023-03-10 14:55:06 +00:00
Weblate
0d125cd3d9 Merge branch 'origin/develop' into Weblate. 2023-03-10 14:40:00 +00:00
Michael Weimann
d53e91802d
Fix start DM with pending third party invite (#10347)
* Fix start DM with pending third party invite

* Make the fix more clearly visible

---------

Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-03-10 14:39:53 +00:00
Weblate
7c15e1f961 Merge branch 'origin/develop' into Weblate. 2023-03-10 14:35:47 +00:00
Andy Balaam
102c4e5ae9
Improve performance of rendering a room with many hidden events (#10131)
* Test MessagePanel rendering with hidden events

* Cache the results of shouldShowEvent in MessagePanel

* Combine an event and its shouldShow info into a single object
2023-03-10 14:35:40 +00:00
Weblate
ef596d3123 Merge branch 'origin/develop' into Weblate. 2023-03-10 12:56:33 +00:00
Janne Mareike Koschinski
580857ecc0
Pin versions of third-party github actions (#10351) 2023-03-10 13:56:27 +01:00
Weblate
0c792f34ae Merge branch 'origin/develop' into Weblate. 2023-03-10 11:01:51 +00:00
Andy Balaam
f8e645396e
Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
Weblate
91c1e68084 Merge branch 'origin/develop' into Weblate. 2023-03-10 10:47:20 +00:00
Suguru Hirahara
d244b9065c
Fix long display name overflowing reply tile on IRC layout (#10343)
* Prevent long name blowout from Replytile on IRC layout

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Add a test to check long strings do not overflow

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Sort declarations based on .mx_IRCLayout .mx_EventTile .mx_DisambiguatedProfile

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-10 10:47:14 +00:00
Weblate
3ad8b92621 Merge branch 'origin/develop' into Weblate. 2023-03-10 10:40:45 +00:00
Andy Balaam
6141cca652
Support dynamic room predecessors for RoomProvider (#10346) 2023-03-10 10:40:38 +00:00
Weblate
db9fa92bde Merge branch 'origin/develop' into Weblate. 2023-03-10 09:42:16 +00:00
Andy Balaam
2e064e57a0
Support dynamic room predecessors in ForwardDialog (#10344) 2023-03-10 09:41:30 +00:00
Weblate
d33972b7d1 Merge branch 'origin/develop' into Weblate. 2023-03-10 09:41:21 +00:00
Andy Balaam
42abfb1fac
Support dynamic room predecessors in SpaceHierarchy (#10341) 2023-03-10 09:41:14 +00:00
Weblate
dcdfd2bb76 Merge branch 'origin/develop' into Weblate. 2023-03-10 09:16:08 +00:00
lunarna-gh
20098ab8be Translated using Weblate (Polish)
Currently translated at 61.8% (2317 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2023-03-10 09:16:08 +00:00
Andy Balaam
b646250c90
Support dynamic room predecessors in OwnBeaconStore (#10339)
* Support dynamic room predecessors in OwnBeaconStore

* Fix type of dynamicWatcherRef

* Mock a function missing from client
2023-03-10 09:15:54 +00:00
Weblate
28963ed5f5 Merge branch 'origin/develop' into Weblate. 2023-03-09 21:19:12 +00:00
Kerry
50229abf1e
e2e test for poll history (#10336) 2023-03-09 21:19:06 +00:00
Weblate
daae190aae Merge branch 'origin/develop' into Weblate. 2023-03-09 17:17:34 +00:00
Andy Balaam
37d2b7b17b
Support dynamic room predecessors in AddExistingToSpaceDialog (#10342) 2023-03-09 17:17:28 +00:00
Weblate
ff535c425d Merge branch 'origin/develop' into Weblate. 2023-03-09 14:53:51 +00:00
Andy Balaam
421c1b9281
Support dynamic room predecessors in leave-behaviour (#10340) 2023-03-09 14:49:59 +00:00
Weblate
173947590b Merge branch 'origin/develop' into Weblate. 2023-03-09 13:02:39 +00:00
Szimszon
517d096cb2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-09 13:02:39 +00:00
Andy Balaam
f90bc40cfc
Support dynamic room predecessors in StopGapWidgetDriver (#10338) 2023-03-09 13:02:29 +00:00
Weblate
ce657066a9 Merge branch 'origin/develop' into Weblate. 2023-03-09 12:15:57 +00:00
Szimszon
5bc51e9004 Translated using Weblate (Hungarian)
Currently translated at 99.7% (3738 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-09 12:15:57 +00:00
Patrick Cloke
aca077cf2b
Add tests for createEditContent which mirror tests for createMessageContent. (#10331) 2023-03-09 12:15:48 +00:00
Weblate
1d04110e89 Merge branch 'origin/develop' into Weblate. 2023-03-09 11:48:45 +00:00
Peter Chen
e116503008 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-09 11:48:45 +00:00
Michael Weimann
85e8d27697
Extract avatars from permalink hook (#10328) 2023-03-09 12:48:36 +01:00
Weblate
1cb02fa21e Merge branch 'origin/develop' into Weblate. 2023-03-09 10:18:29 +00:00