Commit graph

27173 commits

Author SHA1 Message Date
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
RiotRobot
f9540dd7cd Add JS SDK version again 2020-07-27 21:34:31 +01:00
RiotRobot
eee4fc178f Add JS SDK version 2020-07-27 21:33:39 +01:00
RiotRobot
96ba645cbd Reset matrix-js-sdk back to develop branch 2020-07-27 21:29:22 +01:00
RiotRobot
f7444a13b4 v3.0.0 2020-07-27 21:18:15 +01:00
RiotRobot
640ff84e9d Prepare changelog for v3.0.0 2020-07-27 21:18:14 +01:00
RiotRobot
ebb4d2ff87 Upgrade matrix-js-sdk to 8.0.0 2020-07-27 21:05:55 +01:00
J. Ryan Stinnett
a59e6885b6
Merge pull request #5053 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Update from Weblate
2020-07-27 18:29:36 +01: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
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
9d6bf366a9
Merge pull request #5051 from matrix-org/t3chguy/room-list/desync
RoomList listen to notificationState updates for bolding
2020-07-27 14:51:20 +01: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
Олег Корапарара
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
548b8adb66
Merge pull request #5049 from matrix-org/travis/perf5
Ensure notification badges stop listening when they unmount
2020-07-24 14:08:28 -06: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
fbdbbce529
Merge pull request #5048 from matrix-org/travis/perf4
Improve RoomTile performance
2020-07-24 14:02:29 -06: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