Commit graph

21974 commits

Author SHA1 Message Date
Bruno Windels
a3ca80b206 move the reply preview one level higher so the buttons and avatar don't get centered with it 2020-07-31 18:27:07 +02:00
Travis Ralston
c888b1f401 It's a Context Transaction (ctxn) now 2020-07-31 10:00:53 -06:00
Travis Ralston
7645fe6b23 Update context transaction states 2020-07-31 10:00:02 -06:00
Travis Ralston
16ebcf70c9 Clean up documentation of Whenable 2020-07-31 09:41:19 -06:00
Bruno Windels
c0dc8905e4 update i18n 2020-07-31 16:57:35 +02:00
J. Ryan Stinnett
40cba3b3a7 Remove leftover bits of TSLint 2020-07-31 14:36:18 +01:00
Bruno Windels
5c05b494df remove emoji icons in autocomplete/reply by designer request 2020-07-31 14:14:37 +02:00
Bruno Windels
d24ddc415b Notify the timeline it's height has changed, so it can keep being at the bottom
this way new messages will appear in the timeline without needing to scroll
2020-07-31 14:02:40 +02:00
Bruno Windels
01d624fdaf Make the reply preview not an overlay on the timeline anymore
As users can't scroll down all the way down to the timeline like this to
see the last message (and perhaps adjust their reply to it)

This also remove the wrapper div as it is not needed anymore
2020-07-31 13:47:40 +02:00
Szimszon
b017983efd Translated using Weblate (Hungarian)
Currently translated at 100.0% (2338 of 2338 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-07-31 11:35:39 +00:00
Weblate
06625f3c31 Merge branch 'origin/develop' into Weblate. 2020-07-31 11:20:25 +00:00
J. Ryan Stinnett
af49639bd8
Merge pull request #5065 from matrix-org/travis/echo/audit
Add local echo for notifications in the new room list
2020-07-31 12:20:20 +01:00
Weblate
2f604d4516 Merge branch 'origin/develop' into Weblate. 2020-07-31 10:46:35 +00:00
J. Ryan Stinnett
76293970f4
Merge pull request #5070 from matrix-org/travis/room-list/regressions
Fix various small regressions in the room list's behaviour
2020-07-31 11:46:30 +01:00
strix aluco
235295249f Translated using Weblate (Ukrainian)
Currently translated at 46.9% (1091 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-31 10:42:37 +00:00
call_xz
b8f93df22d Translated using Weblate (Japanese)
Currently translated at 58.2% (1353 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-31 10:42:36 +00:00
Priit Jõerüüt
d72394bacc Translated using Weblate (Estonian)
Currently translated at 99.8% (2319 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-31 10:42:35 +00:00
Weblate
8ec3326a77 Merge branch 'origin/develop' into Weblate. 2020-07-30 21:46:32 +00:00
David Baker
d1bf333cce
Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning
Fix key backup warning on soft logout page
2020-07-30 22:46:28 +01:00
HelaBasa
15cc1475c5 Translated using Weblate (Sinhala)
Currently translated at 0.3% (6 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/si/
2020-07-30 21:21:10 +00:00
Travis Ralston
49abfc1fb2 Ensure sublists are updated when rooms are removed from them
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 2)

This is in two parts itself: The `RoomSublist` needs to break its references to the `RoomListStore`, so it now clones the room arrays. The `Algorithm` is the other part, which is slightly more complicated.

It turns out that we weren't handling splicing as a change in the `ImportanceAlgorithm`, therefore the `Algorithm` wasn't really feeling like it needed to change anything. Further, the `Algorithm` was using the wrong reference to where it should be dumping rooms (`this.cachedRooms` is a getter which returns a different object depending on conditions), so having fixed that we need to ensure that the filtered and sticky maps are also updated when we remove a room. Because we send the new tag through a Timeline update, we'll end up updating the tag later on and don't need to update the filter and sticky collections.
2020-07-30 15:06:04 -06:00
Travis Ralston
da05cac1b6 Listen for our own membership changes on notification states
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 1)

When we transition from invite to not-invite we need to ensure we clear the invite notification state.
2020-07-30 14:33:38 -06:00
Travis Ralston
5b15d12865 Ensure list visibility changes get counted as list changes
Fixes https://github.com/vector-im/riot-web/issues/14799

We were checking to see if the tags were visible at render time, but we needed to ensure that they were(n't) included when checking for diffs. This introduces a new kind of object cloning for semantic reasons.

This also fixes the selection indicator being a bit off on custom tags.
2020-07-30 14:18:54 -06:00
Travis Ralston
e953bfbf88 Replace flawed objectHasValueChange usage with objectHasDiff
Fixes https://github.com/vector-im/riot-web/issues/14782

We need to check if the keys changed, not just the values.
2020-07-30 14:08:18 -06:00
HelaBasa
f233778095 Added translation using Weblate (Sinhala) 2020-07-30 19:56:26 +00:00
Travis Ralston
80d072171f Merge remote-tracking branch 'origin/develop' into travis/echo/audit 2020-07-30 13:12:20 -06:00
Weblate
505ae870a2 Merge branch 'origin/develop' into Weblate. 2020-07-30 19:03:05 +00:00
Marcelo Filho
c861df49bd Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.3% (2144 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-30 19:03:05 +00:00
Christopher May-Townsend
1e4ab627df Translated using Weblate (Icelandic)
Currently translated at 19.6% (456 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/is/
2020-07-30 19:02:50 +00:00
XoseM
13130c5ed4 Translated using Weblate (Galician)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-07-30 19:02:49 +00:00
Txopi
f0f691b70e Translated using Weblate (Basque)
Currently translated at 96.5% (2243 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 19:02:49 +00:00
David Baker
aaf0c7d269 Put back code
with comment hopefully explaining why it's necessary
2020-07-30 19:46:27 +01:00
iortega
76630f6be0 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 18:35:24 +00:00
Txopi
3393f58191 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 18:35:24 +00:00
David Baker
f3320f5041 Fix key backup warning on soft logout page
It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.

Fixes https://github.com/vector-im/riot-web/issues/14829
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1429
2020-07-30 19:09:47 +01:00
David Baker
9d247321f5 Fix crash on logging in again after soft logout
Fixes https://github.com/vector-im/riot-web/issues/14834
2020-07-30 18:52:47 +01:00
Travis Ralston
968fbd5cba Merge branch 'develop' into travis/echo/audit 2020-07-30 10:18:30 -06:00
Travis Ralston
7522380763 Update copy 2020-07-30 10:17:47 -06:00
Travis Ralston
fca6def588 Rename and document what local echo is 2020-07-30 09:15:19 -06:00
Travis Ralston
19fa08aafa Fix RightPanelStore imports 2020-07-30 08:53:54 -06:00
Travis Ralston
9bbb7a5310 Merge branch 'develop' into travis/settings/ts 2020-07-30 08:51:42 -06:00
Travis Ralston
bb48ee669b Make SettingsHandler truly abstract 2020-07-30 08:50:36 -06:00
Travis Ralston
648c3c7796 Fix various type definitions 2020-07-30 08:49:42 -06:00
Travis Ralston
4cf6b7174b Use a type for labs 2020-07-30 08:44:34 -06:00
Travis Ralston
1aaedb527d IHandlerMap 2020-07-30 08:43:33 -06:00
Travis Ralston
8cdb98300b Ensure methods are public 2020-07-30 08:42:01 -06:00
Travis Ralston
ad7c94917d Fix calculatedAtLevel definition 2020-07-30 08:41:51 -06:00
Weblate
48c191aa55 Merge branch 'origin/develop' into Weblate. 2020-07-30 12:37:08 +00:00
Priit Jõerüüt
34312d4144 Translated using Weblate (Estonian)
Currently translated at 99.8% (2319 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-30 12:37:08 +00:00
Besnik Bleta
c880759101 Translated using Weblate (Albanian)
Currently translated at 99.8% (2320 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sq/
2020-07-30 12:37:07 +00:00
Jorik Schellekens
b1f8fe40d6
Merge pull request #5036 from swapnilraj/swapnilraj/right-panel-ts
Convert right_panel to TS
2020-07-30 13:37:01 +01:00
Swapnil Raj
1b4b594f92 Change public to protected for onAction 2020-07-30 16:13:13 +05:30
Swapnil Raj
d0e2695114 Add access specifier to class methods 2020-07-30 15:58:07 +05:30
Weblate
6688f271b8 Merge branch 'origin/develop' into Weblate. 2020-07-30 08:53:53 +00:00
strix aluco
9c2470659b Translated using Weblate (Ukrainian)
Currently translated at 46.7% (1084 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-30 08:53:53 +00:00
Bruno Windels
0526fcdf44
Merge pull request #5061 from matrix-org/bwindels/noknownserverserror
Provide nicer error for no known servers error when accepting an invite
2020-07-30 08:53:43 +00:00
Bruno Windels
a281c617be string order changed 2020-07-30 10:42:46 +02:00
Bruno Windels
bb685cd37a change message priority 2020-07-30 10:33:36 +02:00
Swapnil Raj
fbc341a2f5 Clean up types properly 2020-07-30 11:51:10 +05:30
Swapnil Raj
9aa128a6e8 Revert "Cleanup types"
This reverts commit 97cef335e8.
2020-07-30 11:45:49 +05:30
Swapnil Raj
97cef335e8 Cleanup types 2020-07-30 11:27:53 +05:30
Travis Ralston
7f404b0fe5 Fix levels for settings 2020-07-29 21:00:32 -06:00
Travis Ralston
e3765ea8c5 Appease the linters 2020-07-29 20:47:32 -06:00
Travis Ralston
c5574219bb Implement dialog for resending local echo transactions 2020-07-29 20:36:04 -06:00
Travis Ralston
14b0def143 Fix echo handling and show a barebones toast on error
The EchoTransaction was wrongly assuming that it knew better than the caller for when the success condition was met, so the echo marking has been left an exercise for the caller. In this case, we mark when we finally receive the sync with the updated rules.

We also have to cancel previous transactions otherwise if the user mashes buttons we could forever show the toast, and that would be bad.
2020-07-29 19:11:24 -06:00
Travis Ralston
0f1b9937a9 Connect RoomTile's notification volume to local echo
This presumes success as we don't yet have a UI for failures.
2020-07-29 16:54:33 -06:00
Travis Ralston
8f1af4be14 Add local echo capabilities for rooms
The structure here might need some documentation and work, but overall the idea is that all calls pass through a CachedEcho instance, which are self-updating.
2020-07-29 16:53:26 -06:00
Travis Ralston
75f53e4118 Ensure AsyncStoreWithClient can start mid-lifecycle
In some cases we're likely to miss the PREPARED sync, so just handle ourselves as ready if we have a client set.
2020-07-29 16:52:20 -06:00
Travis Ralston
14757cacd5 Introduce a concept of "non-urgent" toasts
This is somewhat expected to be temporary.
2020-07-29 12:43:35 -06:00
Swapnil Raj
b8e51076a8 Fix private functions for RoomHeaderButtons 2020-07-29 23:58:32 +05:30
Travis Ralston
ae3eb3da9c Fix MatrixClient access in settings 2020-07-29 11:51:42 -06:00
Travis Ralston
9c8682428f Fix various TypeScript linting issues 2020-07-29 11:03:43 -06:00
Travis Ralston
9d124ff09b Convert SettingsStore to TS 2020-07-29 10:57:14 -06:00
Weblate
92d9dbc9f6 Merge branch 'origin/develop' into Weblate. 2020-07-29 16:08:37 +00:00
Christopher May-Townsend
284e4c9c1a Translated using Weblate (Icelandic)
Currently translated at 19.6% (455 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/is/
2020-07-29 16:08:37 +00:00
Priit Jõerüüt
a3e01fc92c Translated using Weblate (Estonian)
Currently translated at 99.8% (2317 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-29 16:08:36 +00:00
Bruno Windels
d8baad31da provide nicer error for no known servers error when accepting an invite 2020-07-29 16:51:37 +02:00
Swapnil Raj
8120a26135 A bit more cleanup 2020-07-29 17:35:55 +05:30
Swapnil Raj
aa160095fa Cleanup 2020-07-29 17:26:51 +05:30
Swapnil Raj
bf450ad075 Fix the type for SetRightPanelPhasePayload
Fix uses of it as well
2020-07-29 16:59:29 +05:30
Travis Ralston
51968a8072 Convert RoomSettingsHandler to TS 2020-07-28 22:16:54 -06:00
Travis Ralston
c7b28b4566 Convert RoomDeviceSettingsHandler to TS 2020-07-28 22:14:33 -06:00
Travis Ralston
c4f4e2aa0a Convert RoomAccountSettingsHandler to TS 2020-07-28 22:04:25 -06:00
Travis Ralston
21e5bccb62 Convert LocalEchoWrapper to TS 2020-07-28 21:57:00 -06:00
Travis Ralston
4f6480c037 Convert DeviceSettingsHandler to TS 2020-07-28 21:53:07 -06:00
Travis Ralston
8097810784 Convert DefaultSettingsHandler to TS 2020-07-28 21:52:57 -06:00
Travis Ralston
32844d4624 Convert ConfigSettingsHandler to TS 2020-07-28 21:49:45 -06:00
Travis Ralston
e4d8cca861 Specify an error to appease the linter 2020-07-28 21:46:45 -06:00
Travis Ralston
4969cfe9de Appease the linter 2020-07-28 16:37:09 -06:00
Travis Ralston
7de727915d Convert AccountSettingsHandler to TS 2020-07-28 16:31:13 -06:00
Travis Ralston
e3364ba7a4 Convert MatrixClientBackedSettingsHandler to TS 2020-07-28 16:20:05 -06:00
Travis Ralston
5f5efa1448 Decorate abstract classes as abstract 2020-07-28 16:15:09 -06:00
Travis Ralston
008c19ea26 Remove unused prop from ThemeWatcher 2020-07-28 16:14:49 -06:00
Travis Ralston
d627baf508 Convert WatchManager to TS 2020-07-28 16:08:08 -06:00
Hubert Chathi
0cf10bb69a Merge branch 'develop' into uhoreg/keytar_logging 2020-07-28 17:45:39 -04:00
Hubert Chathi
fbea8c61bb add logging for keytar/pickle key
and remember when we had key, so that we know that we should expect one
2020-07-28 17:31:27 -04:00
Travis Ralston
c96def81ae Convert SettingsHandler to TS 2020-07-28 15:25:57 -06:00
Travis Ralston
7584a296e4 Use SettingController type in Settings 2020-07-28 15:24:32 -06:00
Travis Ralston
985073c249 Fix copyright in Settings 2020-07-28 15:24:08 -06:00
Travis Ralston
b5be352e88 Fix copyright in CustomStatusController 2020-07-28 15:23:25 -06:00
Travis Ralston
ef062c3511 Convert ThemeController to TS 2020-07-28 15:22:54 -06:00
Travis Ralston
d7e90e045d Convert ReloadOnChangeController to TS 2020-07-28 15:21:53 -06:00
Travis Ralston
227b611421 Convert PushToMatrixClientController to TS 2020-07-28 15:21:10 -06:00
Travis Ralston
437ccb2421 Convert NotificationControllers to TS 2020-07-28 15:19:11 -06:00
Travis Ralston
d4fd3b3262 Convert CustomStatusController to TS 2020-07-28 15:17:01 -06:00
Travis Ralston
6297004957 Convert SettingController to TS 2020-07-28 15:13:38 -06:00
Travis Ralston
27b81d1e26 Roughly convert Settings to TS 2020-07-28 15:07:35 -06:00
Travis Ralston
1f7f40736b Fix imports for SettingLevel to point at new file 2020-07-28 11:53:43 -06:00
Travis Ralston
4db4625e34 Move SettingLevel to its own file 2020-07-28 11:37:59 -06:00
Jorik Schellekens
f64ef65f97 Use StyledRadioGroup 2020-07-28 17:13:58 +01:00
Weblate
a2e873b250 Merge branch 'origin/develop' into Weblate. 2020-07-28 15:24:34 +00:00
J. Ryan Stinnett
79348b44cb
Merge pull request #4075 from MarcoZehe/SuppressSpeechWhenSending
Don't speak the outgoing message if it is in the Sending state.
2020-07-28 16:24:28 +01:00
Weblate
6e3a2dd613 Merge branch 'origin/develop' into Weblate. 2020-07-28 15:13:48 +00:00
Michael Telatynski
2d918a6dfc
Merge pull request #5052 from matrix-org/t3chguy/fix/14501
Remove poorly contrasted "dark style" heading in Room Preview Bar
2020-07-28 16:13:43 +01:00
Weblate
f0bd98f7ff Merge branch 'origin/develop' into Weblate. 2020-07-28 15:13:09 +00:00
Michael Telatynski
05332124ee
Merge pull request #5050 from matrix-org/t3chguy/fix/14774
Fix Query Matcher regression with certain unhomoglyph'd characters
2020-07-28 16:13:03 +01:00
Weblate
6bcb1b686d Merge branch 'origin/develop' into Weblate. 2020-07-28 13:30:07 +00:00
Jorik Schellekens
4f55ef685d
Merge pull request #4989 from matrix-org/joriks/resize-handlebars-2.0
Fix handlebar interaction
2020-07-28 14:30:00 +01:00
Jorik Schellekens
4ab3ea395a lint 2020-07-28 13:56:18 +01:00
Weblate
28447b71d3 Merge branch 'origin/develop' into Weblate. 2020-07-28 12:37:33 +00:00
rkfg
e9b59a4669 Translated using Weblate (Russian)
Currently translated at 90.8% (2108 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-07-28 12:37:32 +00:00
Travis Ralston
3561de3f8a
Merge pull request #5054 from matrix-org/travis/perf6
Minor improvements to filtering performance
2020-07-28 06:37:27 -06:00
Travis Ralston
1573c88b47
Update src/utils/arrays.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-28 06:37:19 -06:00
Jorik Schellekens
9cd232617d Unify composer and room header icons 2020-07-28 13:19:11 +01:00
Weblate
5766b1c85f Merge branch 'origin/develop' into Weblate. 2020-07-28 09:41:16 +00:00
Олег Корапарара
41a749d3f6 Translated using Weblate (Ukrainian)
Currently translated at 45.2% (1050 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-28 09:41:16 +00:00
strix aluco
29f9b7c883 Translated using Weblate (Ukrainian)
Currently translated at 45.2% (1050 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-28 09:41:16 +00:00
Marcelo Filho
48482fecc6 Translated using Weblate (Portuguese (Brazil))
Currently translated at 82.3% (1911 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-28 09:41:11 +00:00
Robin Townsend
71e301b823 Translated using Weblate (Lojban)
Currently translated at 21.1% (489 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-28 09:41:00 +00:00
Rintan
d1b9d6f973 Translated using Weblate (Japanese)
Currently translated at 58.1% (1348 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-28 09:41:00 +00:00
call_xz
a80c0310dd Translated using Weblate (Japanese)
Currently translated at 58.1% (1348 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-28 09:41:00 +00:00
Szimszon
9a490a2a9d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-07-28 09:40:59 +00:00
hugues de keyzer
46b08c520d Translated using Weblate (Esperanto)
Currently translated at 99.9% (2320 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eo/
2020-07-28 09:40:59 +00:00
Michael Telatynski
0ee30a07a8
Merge pull request #5055 from matrix-org/t3chguy/fix/14700
Fix TextWithTooltip "leaking" tooltip wrappers
2020-07-28 10:40:52 +01:00
Michael Telatynski
e7ec34e61e Fix TextWithTooltip "leaking" tooltip wrappers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-28 10:13:13 +01:00
Travis Ralston
2a8881f753 Fix typing error 2020-07-27 17:41:23 -06:00
Travis Ralston
900c234434 Internalize notification state handling for lists
This reduces the update cost of rooms changing, and fixes a bug where when a sublist became filtered it would change the notification count of the sublist.

This does change the expected usage of the state store to ensuring that only one place updates the rooms on the list states, which is currently the room list store. Ideally the state store could listen to the room list store to update itself, however due to a complicated require() loop it is not possible.
2020-07-27 17:33:27 -06:00
Travis Ralston
b91026fa89 Ensure CustomRoomTagStore doesn't fire useless updates
This could in theory cause double rendering of the room list under some conditions.
2020-07-27 17:18:01 -06:00
Travis Ralston
5f034ee4ed Ensure arrayHasDiff returns a boolean
This is just maintenance noticed while debugging.
2020-07-27 17:17:27 -06:00
Travis Ralston
51592ccfb6 Remove watch notifications from SettingsStore
It slows things down a bit, and in practice is more unlikely to be a problem than a savior.
2020-07-27 17:17:08 -06:00
Travis Ralston
a15aae4daf Apply a throttle to filter condition updates 2020-07-27 16:35:48 -06:00
Travis Ralston
517c93a7d5 Move expand-on-filter into the sublist
It's a bit more complicated this way, but helps reduce some of the latency involved in remounting the entire room list.
2020-07-27 16:35:48 -06:00
Travis Ralston
c6033b9410 Move search out of RoomList and LeftPanel, into RoomSearch
This prevents the entire left panel from having to re-mount whenever the search query changes.
2020-07-27 16:35:48 -06:00
Travis Ralston
42498d32cc Move community filtering into the sublist
This is a step towards the room list not having to concern itself with the search parameters.
2020-07-27 16:35:48 -06:00
Marcelo Filho
02a3d60be7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 75.8% (1759 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 20:34:50 +00:00
strix aluco
6d2cf3bc9d Translated using Weblate (Ukrainian)
Currently translated at 42.9% (995 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 20:28:35 +00:00
KenjiKenjiIcantLetYouGo
7f9820e52c Translated using Weblate (Portuguese (Brazil))
Currently translated at 75.7% (1758 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 20:28:35 +00:00
Marcelo Filho
a9fcbcb677 Translated using Weblate (Portuguese (Brazil))
Currently translated at 75.7% (1758 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 20:28:35 +00:00
KenjiKenjiIcantLetYouGo
31cfcc8aab Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:19:39 +00:00
Marcelo Filho
2d887dad6a Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:19:39 +00:00
KenjiKenjiIcantLetYouGo
8a997dae0b Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:18:59 +00:00
Marcelo Filho
a973149803 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:18:59 +00:00
KenjiKenjiIcantLetYouGo
30608bde64 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:16:15 +00:00
Bruno P. Kinoshita
f586e8d6a1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:16:14 +00:00
Marcelo Filho
a623b1167d Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:16:14 +00:00
Bruno P. Kinoshita
6e1ef2ed4c Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:14:27 +00:00
Marcelo Filho
4e637b5ffd Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:14:27 +00:00
Bruno P. Kinoshita
fc63b93136 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:10:54 +00:00
Marcelo Filho
e4d14b4ddd Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:10:54 +00:00
Bruno P. Kinoshita
6b1b1300bf Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:08:02 +00:00
Marcelo Filho
4420cd6cf9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:08:02 +00:00
Bruno P. Kinoshita
a6edb09c70 Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:04:59 +00:00
Marcelo Filho
499d9a513d Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 19:04:59 +00:00
Robin Townsend
7acd538cf6 Translated using Weblate (Lojban)
Currently translated at 21.1% (489 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-27 17:23:32 +00:00
Jorik Schellekens
447ef63950 Replace old checkboxes 2020-07-27 16:36:31 +01:00
Jorik Schellekens
d55699211e Update copy icon on pre block and share dialogues 2020-07-27 15:13:02 +01:00
Michael Telatynski
992d7215c7 Remove poorly contrasted "dark style" heading in Room Preview Bar
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:59:00 +01:00
Weblate
0f7610a968 Merge branch 'origin/develop' into Weblate. 2020-07-27 13:51:42 +00:00
Олег Корапарара
ccdb3d8833 Translated using Weblate (Ukrainian)
Currently translated at 42.9% (995 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 13:51:42 +00:00
strix aluco
7c847dbc8b Translated using Weblate (Ukrainian)
Currently translated at 42.9% (995 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 13:51:39 +00:00
Marcelo Filho
4db0165aea Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.0% (1695 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-27 13:51:38 +00:00
Danial Behzadi
e475b4ad2b Translated using Weblate (Persian)
Currently translated at 6.5% (151 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/fa/
2020-07-27 13:51:32 +00:00
Nils Haugen
91de537508 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 56.1% (1303 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/nn/
2020-07-27 13:51:30 +00:00
random
ac9bf003ed Translated using Weblate (Italian)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/it/
2020-07-27 13:51:30 +00:00
Priit Jõerüüt
a766bdcf2d Translated using Weblate (Estonian)
Currently translated at 99.1% (2302 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-27 13:51:29 +00:00
tusooa
b5aaf7372c Translated using Weblate (Chinese (Simplified))
Currently translated at 62.1% (1443 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hans/
2020-07-27 13:51:29 +00:00
Michael Telatynski
a74470aff0 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/desync
 Conflicts:
	src/components/views/rooms/RoomTile.tsx
2020-07-27 14:42:26 +01:00
Michael Telatynski
368d1bf699 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:40:41 +01:00
Michael Telatynski
1085d89e11 RoomList listen to notificationState updates for bolding
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:39:30 +01:00
Michael Telatynski
94acc02b25 Fix Query Matcher regression with certain unhomoglyph'd characters like M vs m
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 12:08:51 +01:00
Олег Корапарара
485c1b048d Translated using Weblate (Ukrainian)
Currently translated at 40.9% (950 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 06:41:36 +00:00
strix aluco
a79b376654 Translated using Weblate (Ukrainian)
Currently translated at 40.9% (950 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 06:41:35 +00:00
Олег Корапарара
2608d64a97 Translated using Weblate (Ukrainian)
Currently translated at 40.3% (935 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 06:35:28 +00:00
Олег Корапарара
a0635b2785 Translated using Weblate (Ukrainian)
Currently translated at 40.3% (935 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 06:35:28 +00:00
strix aluco
b522ac4c3e Translated using Weblate (Ukrainian)
Currently translated at 40.3% (935 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 06:35:23 +00:00
Олег Корапарара
05c057a3be Translated using Weblate (Ukrainian)
Currently translated at 36.6% (849 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-27 03:33:56 +00:00
strix aluco
bd89619f06 Translated using Weblate (Ukrainian)
Currently translated at 27.1% (629 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-26 10:41:02 +00:00
Michael Albert
764dfc8411 Translated using Weblate (German)
Currently translated at 98.8% (2294 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-07-26 10:41:01 +00:00
Priit Jõerüüt
221cc64ffb Translated using Weblate (Estonian)
Currently translated at 99.1% (2302 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-26 10:40:59 +00:00
Weblate
fcb6411bfe Merge branch 'origin/develop' into Weblate. 2020-07-24 20:08:33 +00:00
Travis Ralston
8e7b60b11e Remove useless if statement 2020-07-24 14:07:37 -06:00
Travis Ralston
593b472e50 Ensure notification badges stop listening when they unmount 2020-07-24 14:02:43 -06:00
Weblate
be12f22ad7 Merge branch 'origin/develop' into Weblate. 2020-07-24 20:02:34 +00:00
Travis Ralston
46f9d44e64 Use PureComponent instead
It ranges wildly between 10 and 50ms while ours is stable at 30-40ms, but the effort doesn't need to be duplicated.
2020-07-24 13:58:21 -06:00
Travis Ralston
e3800dba0e Remove debug logging 2020-07-24 13:23:51 -06:00
Travis Ralston
c3623f439c Rip hover support out of the RoomTile component
It's all handled by CSS and this literally does nothing but spam renders.
2020-07-24 13:10:39 -06:00
Travis Ralston
37035f945b Move message previews into RoomTile's state
Now that it doesn't re-render without state updates, we should just wedge it into state.
2020-07-24 13:09:26 -06:00
Travis Ralston
09808fa7be Only update RoomTiles when they change significantly 2020-07-24 12:58:10 -06:00
Weblate
3179da0994 Merge branch 'origin/develop' into Weblate. 2020-07-24 17:16:59 +00:00
Yuriy Bulka
634208a966 Translated using Weblate (Ukrainian)
Currently translated at 27.1% (629 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-24 17:16:59 +00:00
Karol Kosek
40c1b36d29 Translated using Weblate (Polish)
Currently translated at 65.4% (1518 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pl/
2020-07-24 17:16:59 +00:00
Travis Ralston
57a5b47aa4
Merge pull request #5047 from matrix-org/travis/perf3
Reward users for using stable ordering in their room list
2020-07-24 11:16:50 -06:00
Travis Ralston
d26fcb7f16
Update src/components/views/rooms/RoomList.tsx
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-24 11:16:40 -06:00
Travis Ralston
4d7980eb07 Ensure references to the room list store are broken for diffing
See commit diff for details.
2020-07-24 10:38:04 -06:00
Travis Ralston
0a31bd169c Skip updates in collapsed lists too 2020-07-24 10:20:00 -06:00
Weblate
6de8c688fb Merge branch 'origin/develop' into Weblate. 2020-07-24 07:37:56 +00:00
XoseM
9a133fd7a5 Translated using Weblate (Galician)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-07-24 07:37:56 +00:00
Jeff Huang
b685a223b6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2322 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-07-24 07:37:56 +00:00
Michael Telatynski
c578026474 Merge branches 'develop' and 't3chguy/fix/13641' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/13641
 Conflicts:
	src/editor/parts.ts
2020-07-24 08:18:20 +01:00
Travis Ralston
82f90c4734 Do the faster length change check first
... because it's faster. Also we don't need to diff the array here.
2020-07-23 22:31:52 -06:00
Travis Ralston
fd15fc3984 Ensure message previews update when needed
In 9969b01c5f we stopped updating the sublist whenever we felt like it, which indirectly froze message previews for room tiles (badges, unread state, etc were unaffected because that is managed by a different store). To fix this, we simply have to listen for changes and perform an update.
2020-07-23 22:24:07 -06:00
Travis Ralston
7e50464eeb Fix filtering causing sticky header artifacts
In 7b97c3032b we reduced the RoomList updates to just added/removed sublists, but didn't consider that we might also have to handle lengths of those sublists changing enough for us to fix the sticky headers.
2020-07-23 22:19:16 -06:00
Travis Ralston
9969b01c5f Only render sublists when they change significantly
We can ignore off-screen updates, so do that. See diff for more details on what we're doing.
2020-07-23 22:13:32 -06:00
Travis Ralston
ad92e6ba00 Don't constantly re-mount the sublists with a new addRoomFn
Any time we though that the room list had to re-render we were dynamically creating a new addRoomFn, which would signal to the sublist that it needed to re-render. 

The only reason we wrap the function from the aesthetics is to provide theoretical tiling/multiaccount support through use of different dispatchers, however considering that's not a reality yet we can just use a default dispatcher when none is supplied.
2020-07-23 22:12:10 -06:00
Travis Ralston
7b97c3032b Make the sublists aware of their own list changes
This cuts the render time in half (from ~448ms to ~200ms on my account) per received event, as we're no longer re-mounting the entire room list and instead just the section(s) we care about.
2020-07-23 21:36:43 -06:00
Michael Telatynski
c1d2e27f9c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into SuppressSpeechWhenSending 2020-07-24 00:03:55 +01:00
Michael Telatynski
862856d3be Also add aria-atomic=true
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-24 00:03:42 +01:00
Weblate
1090df06a8 Merge branch 'origin/develop' into Weblate. 2020-07-23 23:02:55 +00:00
Michael Telatynski
60a6b13f4b
Merge pull request #5026 from matrix-org/t3chguy/room-list/14440
Put low priority xor toggle back in the room list context menu
2020-07-24 00:02:50 +01:00
Weblate
f28db43fbd Merge branch 'origin/develop' into Weblate. 2020-07-23 23:01:53 +00:00
Michael Telatynski
55b9ba23c2
Merge pull request #5040 from matrix-org/t3chguy/community-autocomplete
Fix autocompletion of Community IDs
2020-07-24 00:01:48 +01:00
Weblate
bfdd0b8f63 Merge branch 'origin/develop' into Weblate. 2020-07-23 22:03:53 +00:00
Tirifto
4b11944938 Translated using Weblate (Czech)
Currently translated at 92.2% (2143 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/cs/
2020-07-23 22:03:53 +00:00
Travis Ralston
2abec8b100 Disable lint in InviteDialog 2020-07-23 15:58:06 -06:00
Michael Telatynski
253d4abb49 Mass redact ignore room creation events
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-23 21:30:49 +01:00
Weblate
5868b232e7 Merge branch 'origin/develop' into Weblate. 2020-07-23 17:14:50 +00:00
ziriSut
421f817b23 Translated using Weblate (Kabyle)
Currently translated at 31.0% (721 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/kab/
2020-07-23 17:14:50 +00:00
Tirifto
d483addd30 Translated using Weblate (Esperanto)
Currently translated at 99.9% (2321 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eo/
2020-07-23 17:14:47 +00:00
Tirifto
e8c0d6ec7c Translated using Weblate (Czech)
Currently translated at 92.1% (2140 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/cs/
2020-07-23 17:14:46 +00:00
David Baker
6fb257df7a Add dismiss button to rebrand toast
Fixes https://github.com/vector-im/riot-web/issues/14575
2020-07-23 17:33:14 +01:00
Michael Telatynski
c8832f5582 Fix autocompletion of Community IDs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-23 14:47:42 +01:00
Weblate
6adfbfbbe2 Merge branch 'origin/develop' into Weblate. 2020-07-23 09:11:08 +00:00
Michael Telatynski
4db0d94fb6
Merge pull request #5039 from matrix-org/t3chguy/fix/14684
Fix Firefox composer regression exception
2020-07-23 10:11:02 +01:00
Weblate
716b60a485 Merge branch 'origin/develop' into Weblate. 2020-07-23 08:27:25 +00:00
daniel tygel
de8470d666 Translated using Weblate (Portuguese (Brazil))
Currently translated at 69.1% (1605 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-23 08:27:25 +00:00
Michael Telatynski
ff8f1af01e
Merge pull request #5037 from matrix-org/t3chguy/room-list/14705
Fix BaseAvatar wrongly using Buttons when it needs not
2020-07-23 09:27:20 +01:00
Michael Telatynski
adba9415b3 Fix Firefox composer regression exception
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-23 09:25:01 +01:00
daniel tygel
b615e173dc Translated using Weblate (Portuguese (Brazil))
Currently translated at 69.1% (1605 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-23 03:21:39 +00:00
Weblate
6fb96e956c Merge branch 'origin/develop' into Weblate. 2020-07-22 23:39:24 +00:00
shuji narazaki
ad2b1adb54 Translated using Weblate (Japanese)
Currently translated at 57.8% (1343 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-22 23:39:24 +00:00
yuurii
b745edd186 Translated using Weblate (Japanese)
Currently translated at 57.8% (1343 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-22 23:39:24 +00:00
Tirifto
f0edd821b3 Translated using Weblate (Czech)
Currently translated at 91.7% (2130 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/cs/
2020-07-22 23:39:24 +00:00
Scott Rothrock
47814cf0cf Translated using Weblate (Japanese)
Currently translated at 57.8% (1343 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-22 21:58:49 +00:00
yuurii
330971beeb Translated using Weblate (Japanese)
Currently translated at 57.8% (1343 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-22 21:58:49 +00:00
Travis Ralston
c22cb6c325 Short-circuit room list store dispatch handling if not ready
We were taking 0.2ms to handle the registration of a timer per event during startup, even before the app is visible to the user. These timers would be short-circuited too, leading to a bunch of wasted time.

0.2ms isn't a lot of time, but multiplied by thousands of events at startup it's pretty significant.

On my account this reduces the full page spinner time from ~50 seconds to just over 20 seconds.
2020-07-22 13:35:41 -06:00
Michael Telatynski
6546f98e18 Fix BaseAvatar wrongly using Buttons when it needs not
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-22 20:01:14 +01:00
Travis Ralston
f27afc6ff8 Fix message previews not updating on their own 2020-07-22 12:43:10 -06:00
Travis Ralston
0ef6696c0a Don't re-freeze AsyncStore's state all the time 2020-07-22 10:52:45 -06:00
Travis Ralston
d593d24aea Switch to an internal Map for previews
This means we're abusing the AsyncStoreWithClient to get access to a lifecycle, but overall that seems like a minor crime compared to the time spend abusing the store's state as a map.

With thousands of rooms shown, we can save on average 743ms per preview. The new preview time is 0.12ms on average.
2020-07-22 10:50:54 -06:00
Swapnil Raj
5ea7be5d53 Cleanup comments 2020-07-22 21:17:58 +05:30