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
Robin Townsend
0b5ede3225
Translated using Weblate (Lojban)
...
Currently translated at 20.7% (490 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 21:54:04 +00:00
Robin Townsend
d32b900c1f
Translated using Weblate (Lojban)
...
Currently translated at 20.6% (487 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 21:48:15 +00:00
Weblate
d918aca6a0
Merge branch 'origin/develop' into Weblate.
2020-07-21 21:08:06 +00:00
rkfg
b22fb93e88
Translated using Weblate (Russian)
...
Currently translated at 89.4% (2113 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-07-21 21:08:06 +00:00
Robin Townsend
0e0d52033c
Translated using Weblate (Lojban)
...
Currently translated at 18.4% (434 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 21:08:04 +00:00
Travis Ralston
bcc6c96030
Merge pull request #5032 from matrix-org/travis/perf/blur-bg
...
Don't hammer on the layout engine with avatar updates for the background
2020-07-21 15:07:58 -06:00
Travis Ralston
0a846cb1b5
Don't hammer on the layout engine with avatar updates for the background
...
Changing the property on every render of the left panel (which is basically all the time) is super bad on the GPU and for our CPU. We should only do that when something changes.
2020-07-21 15:02:59 -06:00
Robin Townsend
e04c238a17
Translated using Weblate (Lojban)
...
Currently translated at 18.1% (429 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 21:01:06 +00:00
Robin Townsend
6c6b55c9f8
Translated using Weblate (Lojban)
...
Currently translated at 17.5% (414 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 20:41:44 +00:00
Weblate
061f692d92
Merge branch 'origin/develop' into Weblate.
2020-07-21 20:28:56 +00:00
rkfg
43a084cf71
Translated using Weblate (Russian)
...
Currently translated at 88.4% (2089 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-07-21 20:28:56 +00:00
Robin Townsend
67fe051a9a
Translated using Weblate (Lojban)
...
Currently translated at 17.3% (410 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 20:28:54 +00:00
Szimszon
19577dd0ca
Translated using Weblate (Hungarian)
...
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/hu/
2020-07-21 20:28:53 +00:00
Priit Jõerüüt
b0f078e01b
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-21 20:28:52 +00:00
Travis Ralston
ba73ce16e6
Merge pull request #5031 from matrix-org/travis/room-list/a-z-order
...
Ensure incremental updates to the ImportanceAlgorithm trigger A-Z order
2020-07-21 14:28:46 -06:00
Travis Ralston
6a38833a2b
Ensure incremental updates to the ImportanceAlgorithm trigger A-Z order
...
Fixes https://github.com/vector-im/riot-web/issues/14475
Background: Sticky rooms are actually a pair of lies to the underlying algorithm as a combination of REMOVE_ROOM/NEW_ROOM calls so they don't get considered as needing to be sorted. When a room is added under the importance algorithm, it is expected that the category it is being added to will be re-sorted to account for the change, however we weren't doing that since we optimized the NewRoom path to be a splice operation.
2020-07-21 14:12:58 -06:00
Robin Townsend
8eb296ca5d
Translated using Weblate (Lojban)
...
Currently translated at 16.9% (399 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 19:44:17 +00:00
Robin Townsend
1243bc429a
Translated using Weblate (Lojban)
...
Currently translated at 16.8% (398 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 19:16:25 +00:00
Weblate
8b09eb788a
Merge branch 'origin/develop' into Weblate.
2020-07-21 17:12:57 +00:00
Hubert Chathi
cbe4f04cd7
Merge pull request #5029 from uhoreg/sanitize_language
...
don't syntax highlight languages that begin with "_"
2020-07-21 13:12:51 -04:00
Weblate
c888372974
Merge branch 'origin/develop' into Weblate.
2020-07-21 16:55:30 +00:00
Dmytro Kyrychuk
fe37a15bca
Translated using Weblate (Ukrainian)
...
Currently translated at 26.6% (628 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-21 16:55:30 +00:00
Robin Townsend
21d4e33862
Translated using Weblate (Lojban)
...
Currently translated at 17.1% (405 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 16:55:29 +00:00
Michael Telatynski
e54eea0c51
Merge pull request #4956 from matrix-org/t3chguy/ts/1
...
Convert Modal to TypeScript
2020-07-21 17:55:20 +01:00
Michael Telatynski
0075ae2187
update emoji provider regex
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 17:53:16 +01:00
Michael Telatynski
93884cb89b
Update PlainBasePart to only split on space boundaries
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 17:50:24 +01:00
Hubert Chathi
2ce493307e
don't syntax highlight languages that begin with "_"
2020-07-21 12:47:40 -04:00
Michael Telatynski
8018a20680
create acceptance tests
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 17:40:34 +01:00
Weblate
736c364c7d
Merge branch 'origin/develop' into Weblate.
2020-07-21 15:30:09 +00:00
Dmytro Kyrychuk
9f220d1688
Translated using Weblate (Ukrainian)
...
Currently translated at 26.1% (616 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-21 15:30:08 +00:00
Robin Townsend
b3d257f53b
Translated using Weblate (Lojban)
...
Currently translated at 15.1% (356 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/jbo/
2020-07-21 15:30:08 +00:00
Lasse Liehu
1371af4c5e
Translated using Weblate (Finnish)
...
Currently translated at 93.1% (2202 of 2364 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/fi/
2020-07-21 15:30:05 +00:00
Priit Jõerüüt
01e054e04f
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-21 15:30:04 +00:00
Jorik Schellekens
8ac2c7219f
Merge pull request #4815 from matrix-org/joriks/eslint-config
...
Use new eslint dependency and remove tslint
2020-07-21 16:29:55 +01:00
Jorik Schellekens
22994bddf4
Update src/indexing/BaseEventIndexManager.ts
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-07-21 16:22:17 +01:00
Jorik Schellekens
a06cc77411
Remove unused imports
2020-07-21 15:34:00 +01:00
Jorik Schellekens
501e0c29ca
Merge remote-tracking branch 'origin' into joriks/eslint-config
2020-07-21 15:32:50 +01:00
Weblate
a59b236660
Merge branch 'origin/develop' into Weblate.
2020-07-21 12:46:56 +00:00
random
5bcd9f9d8e
Translated using Weblate (Italian)
...
Currently translated at 100.0% (2363 of 2363 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/it/
2020-07-21 12:46:56 +00:00