Travis Ralston
803b7bb30f
Merge pull request #4694 from justin-sleep/remove-escape-backslashes
...
Remove escape backslashes in non-Markdown messages
2020-06-17 11:06:04 -06:00
Weblate
e577c68dbd
Merge branch 'origin/develop' into Weblate.
2020-06-17 16:37:27 +00:00
Michael Telatynski
f112d179f6
Merge pull request #4782 from matrix-org/t3chguy/fix_desktop_notifs
...
clean up and fix the isMasterRuleEnabled logic
2020-06-17 17:37:21 +01:00
Weblate
409591feb9
Merge branch 'origin/develop' into Weblate.
2020-06-17 16:37:00 +00:00
Alexey Murz Korepov
50efa52100
Translated using Weblate (Russian)
...
Currently translated at 86.8% (1985 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-06-17 16:37:00 +00:00
random
28a9491dd6
Translated using Weblate (Italian)
...
Currently translated at 99.9% (2286 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-17 16:37:00 +00:00
Michael Telatynski
68ca8b3891
Merge pull request #4763 from matrix-org/t3chguy/slash_cmd_ci
...
Fix case-sensitivity of /me to match rest of slash commands
2020-06-17 17:36:53 +01:00
Travis Ralston
58671f014b
Merge pull request #4765 from matrix-org/travis/room-list/show-less
...
Add a 'show less' button to the new room list
2020-06-17 10:24:50 -06:00
Michael Telatynski
ff98242d14
clean up and fix the isMasterRuleEnabled logic
2020-06-17 16:31:42 +01:00
Damir Jelić
2aa00cbf41
EventIndex: Bump our user version and delete the db if it's an old db.
2020-06-17 17:13:25 +02:00
Damir Jelić
9f9f24c624
BaseEventIndexManager: Add support to read/write user versions.
2020-06-17 17:12:13 +02:00
XoseM
52ae812ef9
Translated using Weblate (Galician)
...
Currently translated at 74.6% (1706 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:52:43 +00:00
Besnik Bleta
c00d0af986
Translated using Weblate (Albanian)
...
Currently translated at 99.9% (2284 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-17 14:52:38 +00:00
Weblate
759940edf6
Merge branch 'origin/develop' into Weblate.
2020-06-17 14:28:45 +00:00
XoseM
5c3aaf46c1
Translated using Weblate (Galician)
...
Currently translated at 72.3% (1654 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:28:44 +00:00
Travis Ralston
d2831ffb0c
Merge pull request #4758 from matrix-org/travis/room-list/sticky
...
Sticky and collapsing headers for new room list
2020-06-17 08:28:38 -06:00
Weblate
59f7b5353a
Merge branch 'origin/develop' into Weblate.
2020-06-17 14:25:11 +00:00
XoseM
00a6277cad
Translated using Weblate (Galician)
...
Currently translated at 71.8% (1643 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:25:11 +00:00
Travis Ralston
97d87867eb
Merge pull request #4780 from matrix-org/travis/room-list/reload
...
Make the room list labs setting reload on change
2020-06-17 08:25:06 -06:00
Weblate
7b85325cc1
Merge branch 'origin/develop' into Weblate.
2020-06-17 14:24:37 +00:00
XoseM
0ffb36ac80
Translated using Weblate (Galician)
...
Currently translated at 71.7% (1640 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:24:37 +00:00
Travis Ralston
07f13f2ece
Merge pull request #4767 from matrix-org/travis/room-list/tombstone
...
Handle/hide old rooms in the room list
2020-06-17 08:24:27 -06:00
Travis Ralston
5f2d92c607
Make the room list labs setting reload on change
...
Should fix confusing signals sent by having the room list visible but non-functional.
2020-06-17 08:21:08 -06:00
pebles
9b2bd8c9cd
Translated using Weblate (Spanish)
...
Currently translated at 89.7% (2051 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Jorge Vásquez
43831b62af
Translated using Weblate (Spanish)
...
Currently translated at 89.7% (2051 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Arnaud Castellanos Galea
fdeba1353b
Translated using Weblate (Spanish)
...
Currently translated at 89.7% (2051 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
GardeniaFair
19d19033d1
Translated using Weblate (Spanish)
...
Currently translated at 89.7% (2051 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Jorik Schellekens
2fcf30c1ec
Fix copy '!'
2020-06-17 14:39:44 +01:00
Weblate
cda2ab50c3
Merge branch 'origin/develop' into Weblate.
2020-06-17 13:15:46 +00:00
Alexey Murz Korepov
6df57ecceb
Translated using Weblate (Russian)
...
Currently translated at 86.8% (1985 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-06-17 13:15:46 +00:00
random
493a2c3861
Translated using Weblate (Italian)
...
Currently translated at 99.6% (2278 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-17 13:15:45 +00:00
Travis Ralston
3bdf3be3f4
Merge pull request #4769 from matrix-org/travis/room-list/fuzzy-filter
...
Match fuzzy filtering a bit more reliably in the new room list
2020-06-17 07:15:36 -06:00
Weblate
806f10a89f
Merge branch 'origin/develop' into Weblate.
2020-06-17 01:21:52 +00:00
Michael Telatynski
f08efc632f
Merge pull request #4777 from matrix-org/t3chguy/notifications0
...
Improve Field ts definitions some more
2020-06-17 02:21:47 +01:00
Michael Telatynski
3dcf525382
Improve Field ts definitions some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 02:14:20 +01:00
Weblate
cf199b2aac
Merge branch 'origin/develop' into Weblate.
2020-06-17 00:14:59 +00:00
Michael Telatynski
9a85b82007
Merge pull request #4775 from matrix-org/t3chguy/notifications0
...
Fix Field ts def, fix LocalEchoWrapper and NotificationsEnabledController
2020-06-17 01:14:54 +01:00
Michael Telatynski
3472fcdec5
Fix NotificationsEnabledController inverse understanding of master push rule
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:24 +01:00
Weblate
4591928af7
Merge branch 'origin/develop' into Weblate.
2020-06-17 00:05:21 +00:00
J. A. Durieux
a07918fef9
Translated using Weblate (Dutch)
...
Currently translated at 88.9% (2034 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2020-06-17 00:05:21 +00:00
Michael Telatynski
1628fc668c
Fix LocalEchoWrapper cache on falsey room ids
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:19 +01:00
Travis Ralston
25e353f7e5
Merge pull request #4774 from matrix-org/travis/room-list/presence-globes
...
Add presence indicators and globes to new room list
2020-06-16 18:05:14 -06:00
Michael Telatynski
b225324c49
improve Field typescript definition
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:10 +01:00
Travis Ralston
9878c1dc34
and another
2020-06-16 17:42:26 -06:00
Travis Ralston
7a71ef9b6b
Fix another space
2020-06-16 17:40:25 -06:00
Travis Ralston
daa552e250
Refactor listener usage
2020-06-16 17:35:56 -06:00
Travis Ralston
b69a5a525d
Fix spaces
2020-06-16 17:29:36 -06:00
Travis Ralston
e4a51a7c01
Add presence icons; Convert to generic icon component
...
For https://github.com/vector-im/riot-web/issues/14039
2020-06-16 14:44:37 -06:00
Weblate
1d8fd4bc68
Merge branch 'origin/develop' into Weblate.
2020-06-16 19:56:17 +00:00
Travis Ralston
bcebef7e56
Add a globe icon to public rooms
...
For https://github.com/vector-im/riot-web/issues/14039
2020-06-16 12:13:12 -06:00
Travis Ralston
17f1fdaf6d
Include the sticky room when filtering in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14050
2020-06-16 10:59:42 -06:00
Jorik Schellekens
2192332968
Add layout options to the appearance tab
2020-06-16 17:55:19 +01:00
Weblate
2af110d495
Merge branch 'origin/develop' into Weblate.
2020-06-16 16:14:28 +00:00
Tuomas Hietala
37672d4386
Translated using Weblate (Finnish)
...
Currently translated at 95.4% (2182 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2020-06-16 16:14:28 +00:00
Jorik Schellekens
b27334f448
Use lower case import
2020-06-16 15:52:35 +01:00
Travis Ralston
8f45e06844
Add a home button to the new room list menu when available
2020-06-16 08:46:48 -06:00
Jorik Schellekens
17dbb1ac8b
Message preview for font slider
2020-06-16 15:41:10 +01:00
Travis Ralston
bc0281ebdd
Match fuzzy filtering a bit more reliably in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14054
2020-06-16 08:36:10 -06:00
David Baker
89a72b7685
Take the last request (ie. the most recent)
2020-06-16 14:53:13 +01:00
Weblate
39d9e8933a
Merge branch 'origin/develop' into Weblate.
2020-06-16 13:31:14 +00:00
Michael Telatynski
c11bc766a5
Merge pull request #4764 from matrix-org/t3chguy/regression/search_timestamp
...
use group layout for search results
2020-06-16 14:31:08 +01:00
Michael Telatynski
ef80a0b0b4
avoid negatives
2020-06-16 14:06:42 +01:00
Weblate
0fa345aa3e
Merge branch 'origin/develop' into Weblate.
2020-06-16 12:47:09 +00:00
Michael Telatynski
36c1b823ab
Merge pull request #4757 from matrix-org/t3chguy/m.id.phone
...
Fix m.id.phone spec compliance
2020-06-16 13:47:03 +01:00
Weblate
d945285984
Merge branch 'origin/develop' into Weblate.
2020-06-16 12:46:04 +00:00
Michael Telatynski
2d7726c623
Merge pull request #4759 from matrix-org/t3chguy/admin-tools-pl-defaults
...
User Info default power levels for ban/kick/redact to 50 as per spec
2020-06-16 13:45:58 +01:00
Kévin C
f7baf3a331
Translated using Weblate (French)
...
Currently translated at 100.0% (2287 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-16 10:50:55 +00:00
Priit Jõerüüt
de7d7802de
Translated using Weblate (Estonian)
...
Currently translated at 61.4% (1405 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-16 10:50:51 +00:00
Weblate
def9910954
Merge branch 'origin/develop' into Weblate.
2020-06-16 02:28:36 +00:00
Travis Ralston
4a74baf99d
Merge pull request #4768 from matrix-org/travis/room-list/better-filter
...
Match new room list's text search to old room list
2020-06-15 20:28:31 -06:00
Weblate
2ad2f871fc
Merge branch 'origin/develop' into Weblate.
2020-06-16 02:28:29 +00:00
Laura
884ead917d
Translated using Weblate (Polish)
...
Currently translated at 66.0% (1509 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2020-06-16 02:28:29 +00:00
Szimszon
ed14f099f3
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2287 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2020-06-16 02:28:29 +00:00
Tim Hellhake
ee06b25e72
Translated using Weblate (German)
...
Currently translated at 99.5% (2276 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-16 02:28:27 +00:00
Priit Jõerüüt
1959c7b8a5
Translated using Weblate (Estonian)
...
Currently translated at 61.3% (1401 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-16 02:28:27 +00:00
Jeff Huang
1dfed68727
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2287 of 2287 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-16 02:28:24 +00:00
Travis Ralston
f8828014f1
Match new room list's text search to old room list
...
Fixes https://github.com/vector-im/riot-web/issues/14042
2020-06-15 20:19:16 -06:00
Travis Ralston
776e63c0d8
Handle/hide old rooms in the room list
...
Fixes https://github.com/vector-im/riot-web/issues/14003
2020-06-15 20:11:06 -06:00
Travis Ralston
e9afb4b86e
Fix ordering of recent rooms in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14009
2020-06-15 20:04:32 -06:00
Travis Ralston
84e60ee439
Add a 'show less' button to the new room list
2020-06-15 20:00:09 -06:00
Travis Ralston
4186070489
Support list collapsing and jumping
...
Fixes https://github.com/vector-im/riot-web/issues/14036
2020-06-15 19:47:43 -06:00
Michael Telatynski
3217becce8
i18n
2020-06-16 00:52:52 +01:00
Michael Telatynski
7dad8f47d3
use group layout for search results
2020-06-16 00:51:11 +01:00
Michael Telatynski
fcd3ebe051
Fix case-sensitivity of /me to match rest of slash commands
...
also better error handling for attempted runs of unimplemented commands
2020-06-16 00:41:21 +01:00
David Baker
d90645f0ea
add comment
2020-06-15 17:46:22 +01:00
David Baker
0618d82ccb
Look for existing verification requests after login
...
Fixes https://github.com/vector-im/riot-web/issues/13462
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1405
2020-06-15 17:41:22 +01:00
David Baker
b02e439b8b
Matrix client is no longer returned by onLoggedIn
...
It seems non-obvious that it should do, and the doc saying it should
do seems to have disappeared.
2020-06-15 15:18:57 +01:00
Travis Ralston
8596905cee
Merge branch 'develop' into travis/room-list/sticky
2020-06-15 06:54:27 -06:00
David Baker
3d1ec9effb
typo
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-15 12:59:38 +01:00
Weblate
ef0b392a0b
Merge branch 'origin/develop' into Weblate.
2020-06-15 11:51:10 +00:00
Michael Albert
8d0b9f46d3
Translated using Weblate (German)
...
Currently translated at 99.7% (2278 of 2285 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-15 11:51:09 +00:00
Jorik Schellekens
94f52c4ee2
Merge pull request #4731 from matrix-org/joriks/radio-buttons
...
Change theme selector to use new styled radio buttons
2020-06-15 12:51:02 +01:00
David Baker
a75dfca73e
Comment on when we start waiting for the first sync
2020-06-15 12:11:45 +01:00
David Baker
404798d27c
Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss
2020-06-15 11:36:39 +01:00
David Baker
8ebae4c3b6
Merge pull request #4686 from matrix-org/dbkr/recovery_keys_over_passphrases
...
Use recovery keys over passphrases
2020-06-15 11:30:30 +01:00
call_xz
b7036ce183
Translated using Weblate (Japanese)
...
Currently translated at 56.7% (1295 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2020-06-15 08:30:32 +00:00
random
5b1a3bf14d
Translated using Weblate (Italian)
...
Currently translated at 99.9% (2281 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-15 08:30:32 +00:00
Kévin C
1386419c6e
Translated using Weblate (French)
...
Currently translated at 100.0% (2282 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-15 08:30:31 +00:00
Priit Jõerüüt
523da0de72
Translated using Weblate (Estonian)
...
Currently translated at 59.7% (1362 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-15 08:30:31 +00:00
Jeff Huang
efe2540090
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2282 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-15 08:30:28 +00:00
Slavi Pantaleev
ab0cf5dba7
Translated using Weblate (Bulgarian)
...
Currently translated at 99.7% (2276 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2020-06-15 08:30:27 +00:00
Osoitz
3d2f4cd747
Translated using Weblate (Basque)
...
Currently translated at 100.0% (2282 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2020-06-15 08:30:26 +00:00
Besnik Bleta
bb4d5f2ae9
Translated using Weblate (Albanian)
...
Currently translated at 99.8% (2278 of 2282 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-15 08:30:22 +00:00
Travis Ralston
eeac80096c
Float the badges with the sticky headers
2020-06-13 19:07:19 -06:00
Travis Ralston
c26c79bda8
Remove dead code
2020-06-13 19:02:21 -06:00
Michael Telatynski
63ad7640bf
User Info default power levels for ban/kick/redact to 50 as per spec
2020-06-14 01:35:24 +01:00
Travis Ralston
7af2de29d6
Remove unused utility
2020-06-13 12:03:50 -06:00
Travis Ralston
1bbf2e053b
Initial attempt at sticky headers
...
Docs enclosed in diff.
2020-06-13 11:55:11 -06:00
Michael Telatynski
01a71dab8c
Fix m.id.phone spec compliance
2020-06-12 22:36:50 +01:00
Weblate
3d692353b6
Merge branch 'origin/develop' into Weblate.
2020-06-12 14:40:28 +00:00
Travis Ralston
9eb965878a
Merge pull request #4754 from matrix-org/travis/room-list/per-list-algo
...
Support per-list options and algorithms on the new room list
2020-06-12 08:40:23 -06:00
Travis Ralston
6de6d94f7c
Fix return type
2020-06-12 08:40:08 -06:00
Travis Ralston
6b54c3a492
Throw if the update cause is unsupported
2020-06-12 08:39:59 -06:00
Weblate
dc0b78b6a5
Merge branch 'origin/develop' into Weblate.
2020-06-12 14:38:16 +00:00
Michael Albert
0508806a80
Translated using Weblate (German)
...
Currently translated at 99.8% (2276 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-12 14:38:16 +00:00
Jeff Huang
c6f9fae455
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2280 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-12 14:38:15 +00:00
J. Ryan Stinnett
de003bc78f
Merge pull request #4755 from matrix-org/jryans/send-read-marker-immed
...
Send read marker updates immediately after moving visually
2020-06-12 15:38:08 +01:00
J. Ryan Stinnett
39c28e2207
Send read marker updates immediately after moving visually
...
The `TimelinePanel` uses two timers to coordinate read marker and read receipt
updates. When the read receipt timer fires, we advance the receipt and send the
latest state of both your receipt and marker to the server. When the read marker
timer fires, we advance the marker visually, but do not send anything to the
server: we were relying on the slightly different schedule of the read receipt
to actually send the updated read marker. This means there's a time window where
it's possible to visually advance the read marker without ever sending it to the
server (if you change rooms before the receipt timer fires again).
To simplify the behaviour here and ensure we always commit the updated marker
when we move it, this change sends an update to the server at the same time as
moving the marker.
It's possible this may improve some of the behaviour reported in
https://github.com/vector-im/riot-web/issues/12338 .
2020-06-12 14:34:57 +01:00
Travis Ralston
4aa15ee191
Wire up the context menu to the room list store
...
Updates are passed along magically to the sublist, so we don't need to listen for the room list store's response to our changes.
This just hits the functions introduced in the last commit.
2020-06-11 22:04:10 -06:00
Travis Ralston
fd029e8e80
Dumb down list algorithms in favour of smarter tags
...
This commit is a bit involved, as it factors the tag specific handling out of `/list-ordering` (and moves the `Algorithm` class one higher as a result), leaving it in the `Algorithm`. The algorithms for list ordering now only know how to handle a single tag, and this is managed by the `Algorithm` class - which is also no longer the base class for the list ordering. The list ordering algorithms now inherit from a generic `OrderingAlgorithm` base class which handles some rudimentary things.
Overall the logic hasn't changed much: the tag-specific stuff has been moved into the `Algorithm`, and the list ordering algorithms essentially just removed the iteration on tags. The `RoomListStore2` still shovels a bunch of information over to the `Algorithm`, which can lead to an awkward code flow however this commit is meant to keep the number of surfaces touched to a minimum.
The RoomListStore has also gained the ability to set per-list (tag) ordering and sorting, which is required for the new room list. The assumption that it defaults from the account-level settings is not reviewed by design, yet. This decision is deferred.
2020-06-11 22:02:09 -06:00
Weblate
ea5ca64074
Merge branch 'origin/develop' into Weblate.
2020-06-11 23:20:55 +00:00
Travis Ralston
52b26deb2e
Move room list store docs to docs directory
...
This pulls it away from the code, but the code is sufficiently involved enough where it doesn't need another file near it.
2020-06-11 16:56:12 -06:00
Travis Ralston
966e2cad7e
Update documentation for how this refactoring will go
2020-06-11 16:52:47 -06:00
MamasLT
9ab9e560dc
Translated using Weblate (Lithuanian)
...
Currently translated at 72.4% (1650 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 22:43:07 +00:00
Szimszon
672c14763c
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2280 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2020-06-11 22:42:58 +00:00
Travis Ralston
2c04a56784
Add a minimized view to the new room list
...
This covers everything except breadcrumbs, as those are somewhat undecided from a design perspective.
2020-06-11 14:39:28 -06:00
Weblate
12f3984da6
Merge branch 'origin/develop' into Weblate.
2020-06-11 18:33:22 +00:00
MamasLT
f300f498bb
Translated using Weblate (Lithuanian)
...
Currently translated at 68.6% (1565 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 18:33:22 +00:00
MamasLT
f540c83af8
Translated using Weblate (Lithuanian)
...
Currently translated at 68.6% (1565 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 18:33:22 +00:00
Travis Ralston
2e04414331
Merge pull request #4750 from matrix-org/travis/room-list/leak
...
Add some resource leak protection to new room list badges
2020-06-11 12:33:11 -06:00
random
2e99143b79
Translated using Weblate (Italian)
...
Currently translated at 99.9% (2279 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-11 16:34:49 +00:00
XoseM
8839a86288
Translated using Weblate (Galician)
...
Currently translated at 69.7% (1590 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-11 16:34:48 +00:00
Kévin C
42855cf9d8
Translated using Weblate (French)
...
Currently translated at 100.0% (2280 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-11 16:34:42 +00:00
Besnik Bleta
51537a527b
Translated using Weblate (Albanian)
...
Currently translated at 99.9% (2278 of 2280 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-11 16:34:41 +00:00
Jorik Schellekens
3dd49cae97
use checkbox for compact layout
2020-06-11 12:29:10 +01:00
Jorik Schellekens
cf392af52f
Address design issues and set theme at device level
2020-06-11 12:27:09 +01:00
Jorik Schellekens
0f685eb0e9
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/radio-buttons
2020-06-11 11:03:54 +01:00
Weblate
b1ec954586
Merge branch 'origin/develop' into Weblate.
2020-06-11 01:10:56 +00:00
Jeff Huang
07d3b3f354
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2278 of 2278 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-11 01:10:56 +00:00
Travis Ralston
853ae6d5bf
misc code quality improvements
2020-06-10 18:56:21 -06:00
Travis Ralston
6ccb566587
Show message previews on the new room list tiles
...
They're heavily cached.
2020-06-10 18:37:59 -06:00
Weblate
d66405d804
Merge branch 'origin/develop' into Weblate.
2020-06-10 22:08:39 +00:00
Travis Ralston
d1c2ecb6cc
Add some resource leak protection to new room list badges
...
Most of the leaks were because we never set `this.rooms` in the notification state, which meant we were constantly triggering the `diff.added` loop.
2020-06-10 16:04:27 -06:00
Travis Ralston
0f16d7f32d
Merge branch 'develop' into travis/room-list/layout
2020-06-10 15:53:33 -06:00
Weblate
272703a087
Merge branch 'origin/develop' into Weblate.
2020-06-10 21:51:23 +00:00
Priit Jõerüüt
b545d55e7b
Translated using Weblate (Estonian)
...
Currently translated at 57.9% (1319 of 2278 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-10 21:51:23 +00:00
Michael Telatynski
ed7f4755cc
use ButtonEvent instead of MouseEvent | KeyboardEvent for AccessibleButton (make CI happy)
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-10 22:05:29 +01:00
Travis Ralston
be366bdd7f
Fix various layout concerns with the new room list
...
It had ~32px of overflow causing a horizontal scrollbar. Turns out the layout engine gets confused when hidden elements are at the end of a flexbox, so we just move them higher in the DOM (where they logically still make sense).
The remaining changes are all alignment and misc changes in that respect, and probably not obvious.
2020-06-10 15:05:17 -06:00
Michael Telatynski
601e8209d8
Prioritize text on the clipboard over file
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-10 21:48:39 +01:00
Weblate
12f39c33d5
Merge branch 'origin/develop' into Weblate.
2020-06-10 15:57:35 +00:00