Commit graph

27195 commits

Author SHA1 Message Date
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
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
6635a44314
Merge pull request #5030 from matrix-org/t3chguy/fix/13641
Fix autocomplete suggesting a different thing mid-composition
2020-07-24 08:37:50 +01: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
93b0287e11 s/semi-colon/colon/
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-24 00:04:50 +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
a4d25e7f91 Merge branch 'origin/develop' into Weblate. 2020-07-23 23:01:19 +00:00
Michael Telatynski
591891631f
Merge pull request #5042 from matrix-org/t3chguy/fix/14686
Use OpenType tabular numbers in timestamps
2020-07-24 00:01:13 +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
71ec76dcef
Merge pull request #5046 from matrix-org/travis/package-updates
Update packages to modern versions
2020-07-23 16:03:48 -06:00
Travis Ralston
2abec8b100 Disable lint in InviteDialog 2020-07-23 15:58:06 -06:00