Commit graph

27429 commits

Author SHA1 Message Date
J. Ryan Stinnett
805b8f5299 Add comment on network chevron placement 2020-07-31 18:00:35 +01:00
J. Ryan Stinnett
31180d3df9 Adjust room list colours to match designs 2020-07-31 17:52:19 +01:00
J. Ryan Stinnett
8441763a71 Fix show less icon 2020-07-31 17:48:30 +01:00
Travis Ralston
c888b1f401 It's a Context Transaction (ctxn) now 2020-07-31 10:00:53 -06:00
Travis Ralston
7645fe6b23 Update context transaction states 2020-07-31 10:00:02 -06:00
Travis Ralston
16ebcf70c9 Clean up documentation of Whenable 2020-07-31 09:41:19 -06:00
Bruno Windels
c0dc8905e4 update i18n 2020-07-31 16:57:35 +02:00
J. Ryan Stinnett
40cba3b3a7 Remove leftover bits of TSLint 2020-07-31 14:36:18 +01:00
Bruno Windels
6b667a93bd also center chevron in top unread button 2020-07-31 14:39:34 +02:00
Bruno Windels
29e17af2f8 scale the icon a bit, as centering changed it's size 2020-07-31 14:30:38 +02:00
Bruno Windels
561b8752b9 actually center the icon 2020-07-31 14:23:24 +02:00
Bruno Windels
5c05b494df remove emoji icons in autocomplete/reply by designer request 2020-07-31 14:14:37 +02:00
J. Ryan Stinnett
de51fe3116
Merge pull request #5071 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Update from Weblate
2020-07-31 12:50:33 +01:00
Szimszon
b017983efd Translated using Weblate (Hungarian)
Currently translated at 100.0% (2338 of 2338 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-07-31 11:35:39 +00:00
Weblate
06625f3c31 Merge branch 'origin/develop' into Weblate. 2020-07-31 11:20:25 +00:00
J. Ryan Stinnett
af49639bd8
Merge pull request #5065 from matrix-org/travis/echo/audit
Add local echo for notifications in the new room list
2020-07-31 12:20:20 +01:00
Weblate
2f604d4516 Merge branch 'origin/develop' into Weblate. 2020-07-31 10:46:35 +00:00
J. Ryan Stinnett
76293970f4
Merge pull request #5070 from matrix-org/travis/room-list/regressions
Fix various small regressions in the room list's behaviour
2020-07-31 11:46:30 +01:00
Weblate
1073e0ba56 Merge branch 'origin/develop' into Weblate. 2020-07-31 10:42:37 +00:00
strix aluco
235295249f Translated using Weblate (Ukrainian)
Currently translated at 46.9% (1091 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-31 10:42:37 +00:00
call_xz
b8f93df22d Translated using Weblate (Japanese)
Currently translated at 58.2% (1353 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-31 10:42:36 +00:00
Priit Jõerüüt
d72394bacc Translated using Weblate (Estonian)
Currently translated at 99.8% (2319 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-31 10:42:35 +00:00
J. Ryan Stinnett
0404c7d9ae
Merge pull request #5059 from matrix-org/jryans/cleanup-lint-deps
Remove redundant lint dependencies
2020-07-31 11:42:29 +01:00
Weblate
8ec3326a77 Merge branch 'origin/develop' into Weblate. 2020-07-30 21:46:32 +00:00
David Baker
d1bf333cce
Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning
Fix key backup warning on soft logout page
2020-07-30 22:46:28 +01:00
Weblate
9a9d52cd33 Merge branch 'origin/develop' into Weblate. 2020-07-30 21:21:11 +00:00
HelaBasa
15cc1475c5 Translated using Weblate (Sinhala)
Currently translated at 0.3% (6 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/si/
2020-07-30 21:21:10 +00:00
Travis Ralston
409f65de7b
Merge pull request #5066 from matrix-org/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-30 15:21:05 -06:00
Travis Ralston
49abfc1fb2 Ensure sublists are updated when rooms are removed from them
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 2)

This is in two parts itself: The `RoomSublist` needs to break its references to the `RoomListStore`, so it now clones the room arrays. The `Algorithm` is the other part, which is slightly more complicated.

It turns out that we weren't handling splicing as a change in the `ImportanceAlgorithm`, therefore the `Algorithm` wasn't really feeling like it needed to change anything. Further, the `Algorithm` was using the wrong reference to where it should be dumping rooms (`this.cachedRooms` is a getter which returns a different object depending on conditions), so having fixed that we need to ensure that the filtered and sticky maps are also updated when we remove a room. Because we send the new tag through a Timeline update, we'll end up updating the tag later on and don't need to update the filter and sticky collections.
2020-07-30 15:06:04 -06:00
Travis Ralston
da05cac1b6 Listen for our own membership changes on notification states
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 1)

When we transition from invite to not-invite we need to ensure we clear the invite notification state.
2020-07-30 14:33:38 -06:00
Travis Ralston
5b15d12865 Ensure list visibility changes get counted as list changes
Fixes https://github.com/vector-im/riot-web/issues/14799

We were checking to see if the tags were visible at render time, but we needed to ensure that they were(n't) included when checking for diffs. This introduces a new kind of object cloning for semantic reasons.

This also fixes the selection indicator being a bit off on custom tags.
2020-07-30 14:18:54 -06:00
Travis Ralston
e953bfbf88 Replace flawed objectHasValueChange usage with objectHasDiff
Fixes https://github.com/vector-im/riot-web/issues/14782

We need to check if the keys changed, not just the values.
2020-07-30 14:08:18 -06:00
HelaBasa
f233778095 Added translation using Weblate (Sinhala) 2020-07-30 19:56:26 +00:00
Travis Ralston
80d072171f Merge remote-tracking branch 'origin/develop' into travis/echo/audit 2020-07-30 13:12:20 -06:00
Weblate
505ae870a2 Merge branch 'origin/develop' into Weblate. 2020-07-30 19:03:05 +00:00
Marcelo Filho
c861df49bd Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.3% (2144 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-30 19:03:05 +00:00
Christopher May-Townsend
1e4ab627df Translated using Weblate (Icelandic)
Currently translated at 19.6% (456 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/is/
2020-07-30 19:02:50 +00:00
XoseM
13130c5ed4 Translated using Weblate (Galician)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-07-30 19:02:49 +00:00
Txopi
f0f691b70e Translated using Weblate (Basque)
Currently translated at 96.5% (2243 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 19:02:49 +00:00
David Baker
e810a31fe3
Merge pull request #5068 from matrix-org/dbkr/fix_soft_logout_crash
Fix crash on logging in again after soft logout
2020-07-30 20:02:42 +01:00
David Baker
aaf0c7d269 Put back code
with comment hopefully explaining why it's necessary
2020-07-30 19:46:27 +01:00
iortega
76630f6be0 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 18:35:24 +00:00
Txopi
3393f58191 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 18:35:24 +00:00
David Baker
f3320f5041 Fix key backup warning on soft logout page
It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.

Fixes https://github.com/vector-im/riot-web/issues/14829
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1429
2020-07-30 19:09:47 +01:00
David Baker
9d247321f5 Fix crash on logging in again after soft logout
Fixes https://github.com/vector-im/riot-web/issues/14834
2020-07-30 18:52:47 +01:00
J. Ryan Stinnett
72056128fe Larger chevron for rebrand 2020-07-30 17:41:26 +01:00
J. Ryan Stinnett
a6d5a2f339 Tweak size / position in network dropdown 2020-07-30 17:40:03 +01:00
Travis Ralston
968fbd5cba Merge branch 'develop' into travis/echo/audit 2020-07-30 10:18:30 -06:00
Travis Ralston
7522380763 Update copy 2020-07-30 10:17:47 -06:00
J. Ryan Stinnett
e917c0d92e Replace all chevrons with a single icon
This replaces all chevrons with a single icon, affecting components like the
room list, network dropdown, and rebrand modal.

Rather than having files for each direction that can get out of sync, this
change uses one direction and rotates in CSS for the others.

Fixes https://github.com/vector-im/riot-web/issues/14663
2020-07-30 16:49:46 +01:00