Commit Graph

27548 Commits (839b533a97581a898551e65d647913739778bad1)

Author SHA1 Message Date
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
Weblate 76c7b0aa75 Merge branch 'origin/develop' into Weblate. 2020-07-22 14:24:16 +00:00
rkfg e15f876d46 Translated using Weblate (Russian)
Currently translated at 90.7% (2107 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-07-22 14:24:15 +00:00
Michael Albert 60df2285c4 Translated using Weblate (German)
Currently translated at 97.9% (2276 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-07-22 14:24:13 +00:00
Priit Jõerüüt 1e6790e54c Translated using Weblate (Estonian)
Currently translated at 99.1% (2304 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-22 14:24:12 +00:00
Besnik Bleta dfdc35b83d Translated using Weblate (Albanian)
Currently translated at 99.7% (2316 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sq/
2020-07-22 14:24:10 +00:00
Travis Ralston 67fd6e6122
Merge pull request #5034 from matrix-org/travis/fix-perf
Mixed bag of performance improvements: ScrollPanel and notifications
2020-07-22 08:24:04 -06:00
Travis Ralston 61c5b4f9bf deunderscore 2020-07-22 08:23:47 -06:00
Michael Telatynski 7c1935a44e Key EventTile's using txnId if it is set to prevent a remount
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-22 11:10:55 +01:00
Swapnil Raj d7728881a3 lint 2020-07-22 15:22:16 +05:30
Swapnil Raj 8ae11ce886 Fix shadow-variable errors in EncryptionPanel 2020-07-22 15:14:50 +05:30
Swapnil Raj 0f0b4035b7 Fix shadow variable errors 2020-07-22 15:14:50 +05:30
Swapnil Raj 5ddae04fb0 lint 2020-07-22 15:14:50 +05:30
Swapnil Raj 8fac7a8167 Convert VerificationPanel to TS 2020-07-22 15:14:50 +05:30
Swapnil Raj 3e64ec11c0 lint 2020-07-22 15:14:50 +05:30
Swapnil Raj 36974c4231 Convert EncryptionPanel to TS 2020-07-22 15:14:50 +05:30
Swapnil Raj 2f0caab851 "fix" type for members in SetRightPanelPhasePayload 2020-07-22 15:14:50 +05:30
Swapnil Raj dac19cffce Convert EncryptionInfo to TS 2020-07-22 15:14:50 +05:30
Swapnil Raj a4959f43d2 Convert GroupHeaderButtons to TS
Fix typo in SetRightPanelPhasePayload
2020-07-22 15:14:50 +05:30
Swapnil Raj 887d507772 Fix key to match SetRightPanelPhasePayload's key
member -> members
2020-07-22 15:14:50 +05:30
Swapnil Raj 23e4b67a69 Convert HeaderButton to TS 2020-07-22 15:14:50 +05:30
Swapnil Raj 0f59e34a3a Nest groupId in refireParams to match types 2020-07-22 15:14:50 +05:30
Swapnil Raj 1c913b85e2 Replace strings action with correspoding type 2020-07-22 15:14:50 +05:30
Swapnil Raj 2c8b5b49ed lint 2020-07-22 15:14:50 +05:30
Swapnil Raj 1d3635e1c8 Replaced string actions with their corresponding types 2020-07-22 15:14:50 +05:30
Swapnil Raj 344185a375 Translate right panel stuff to ts
Add actions for right panel
2020-07-22 15:14:50 +05:30
Weblate fdc56089c2 Merge branch 'origin/develop' into Weblate. 2020-07-22 09:03:37 +00:00
XoseM 01cbe40623 Translated using Weblate (Galician)
Currently translated at 100.0% (2364 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-07-22 09:03:36 +00:00
Priit Jõerüüt e9deae2b58 Translated using Weblate (Estonian)
Currently translated at 98.5% (2329 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-22 09:03:36 +00:00
Michael Telatynski 6bb9be56cd
Merge pull request #5025 from matrix-org/t3chguy/room-list/14662
Update message previews
2020-07-22 10:03:30 +01:00
Weblate cea68b9238 Merge branch 'origin/develop' into Weblate. 2020-07-22 04:05:30 +00:00
Robin Townsend 1eeaab25af Translated using Weblate (Lojban)
Currently translated at 22.1% (523 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-22 04:05:30 +00:00
Jeff Huang 3d24b7dc9e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2364 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-07-22 04:05:29 +00:00
Travis Ralston 685e1c51d6
Merge pull request #5035 from robintown/translate-create-room
Translate create room buttons
2020-07-21 22:05:24 -06:00
Robin Townsend 83ab151d96 Translate create room buttons
Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
2020-07-22 03:54:15 +00:00
Travis Ralston cd77434a69 Appease the linter 2020-07-21 20:59:33 -06:00
Travis Ralston c9da1e1874 Remove even more tags from the notification state fetching for a room 2020-07-21 20:58:59 -06:00
Travis Ralston 97739c9a73 Add more statements to avoid layout changes 2020-07-21 20:56:07 -06:00
Travis Ralston 507fa01ade Remove missed area for notification state fetching 2020-07-21 20:51:40 -06:00
Travis Ralston dd16ec070c Replace countRoomsWithNotif with a dedicated NotificationState
Fixes https://github.com/vector-im/riot-web/issues/14694

Instead of spending 10-1000ms in a function iterating over a whole lot of room events, we can use our cached state from the Notification State Store. 

This commit sets up a structure that could be applied to communities in the TagPanel too, as that could probably use a similar optimization.

This reduces the updateStatusIndicator() time to just 4ms on average.
2020-07-21 20:24:44 -06:00
Travis Ralston 6a29cd33c1 Remove tag specificity from notification states
We don't need this complexity now that we aren't doing per-tag logic.
2020-07-21 19:59:17 -06:00
Travis Ralston 928acbdc11 Wrap ScrollPanel layout changes in if statements
These conditions are rarely true, but when they are it saves ~28ms of forced layout changes.
2020-07-21 19:52:50 -06:00
Robin Townsend 170090d5f0 Translated using Weblate (Lojban)
Currently translated at 22.0% (520 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-22 01:32:53 +00:00
Robin Townsend cfe0f00f20 Translated using Weblate (Lojban)
Currently translated at 22.0% (520 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-22 01:29:18 +00:00
Weblate b89fc5cfb5 Merge branch 'origin/develop' into Weblate. 2020-07-22 01:06:17 +00:00
Robin Townsend 568ee5a52e Translated using Weblate (Lojban)
Currently translated at 21.5% (509 of 2364 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-22 01:06:17 +00:00
Travis Ralston 5dd5d4922f
Merge pull request #5033 from robintown/escape-composer-placeholder
Escape single quotes in composer placeholder
2020-07-21 19:06:10 -06:00
Robin Townsend 951570a97f Escape single quotes in composer placeholder
Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
2020-07-22 00:47:48 +00:00