Commit graph

41334 commits

Author SHA1 Message Date
Andy Balaam
afbc843157
Fit location into the width of the container (#7705) 2022-02-02 11:41:33 +00:00
Weblate
eae4b43505 Merge branch 'origin/develop' into Weblate. 2022-02-02 11:19:06 +00:00
Besnik Bleta
a0c1e8a337 Translated using Weblate (Albanian)
Currently translated at 99.8% (3426 of 3432 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-02 11:19:06 +00:00
waclaw66
e56b877528 Translated using Weblate (Czech)
Currently translated at 100.0% (3432 of 3432 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2022-02-02 11:19:03 +00:00
Kerry
cb1c94dd2b
Fix leaks in Login unit tests (#7704)
* make Login-test tsx, fix leaks

Signed-off-by: Kerry Archibald <kerrya@element.io>

* missed lint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 11:18:55 +00:00
Weblate
9b55ea0225 Merge branch 'origin/develop' into Weblate. 2022-02-02 09:31:10 +00:00
Michael Telatynski
fce19d763a
Make Spotlight Dialog roving reset more stable (#7698) 2022-02-02 09:31:05 +00:00
Weblate
c5e5223ecf Merge branch 'origin/develop' into Weblate. 2022-02-02 09:30:56 +00:00
Andy Balaam
f5226f9d5b
Simplify Composer buttons (#7678)
* Render a CollapsibleButton's children (needed by UploadButton)

* Make UploadButton ready to live inside an overflow menu

* Always show overflow menu in composer: main buttons are emoji and attach

* Re-order composer buttons as per design

* Re-word composer button captions to be simple nouns

* Don't rotate More options button when clicked

* Move the composer menu and dialogs 16px in from right

* Reduce shadow on composer More menu

* From review: remove else clause

* From review: take input out of button

* Update test snapshots

* Update snapshots
2022-02-02 09:30:53 +00:00
Weblate
bbbb8e0ecf Merge branch 'origin/develop' into Weblate. 2022-02-02 09:22:50 +00:00
Priit Jõerüüt
2ba3a6dffb Translated using Weblate (Estonian)
Currently translated at 99.9% (3430 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2022-02-02 09:22:50 +00:00
Besnik Bleta
3da68f87c1 Translated using Weblate (Albanian)
Currently translated at 99.8% (3427 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-02 09:22:47 +00:00
Ihor Hordiichuk
ac3071f3bf Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3433 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-02 09:22:45 +00:00
Johan Smits
a1b7c20982 Translated using Weblate (Dutch)
Currently translated at 100.0% (3433 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2022-02-02 09:22:41 +00:00
libexus
3fb1302a9c Translated using Weblate (German)
Currently translated at 99.8% (3429 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2022-02-02 09:22:36 +00:00
Michael Telatynski
c011fb7475
Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader (#7697) 2022-02-02 09:22:27 +00:00
Weblate
cc92ac895f Merge branch 'origin/develop' into Weblate. 2022-02-01 17:24:22 +00:00
Šimon Brandner
bb03298e6d
Add a warning to the console to discourage attacks and encourage contributing (#7673) 2022-02-01 17:24:17 +00:00
Weblate
ac1b10a10e Merge branch 'origin/develop' into Weblate. 2022-02-01 17:23:35 +00:00
Besnik Bleta
06ce1c165b Translated using Weblate (Albanian)
Currently translated at 99.8% (3424 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-01 17:23:34 +00:00
Ihor Hordiichuk
fde89d22d0 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3430 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-01 17:23:32 +00:00
Eric Eastwood
9b0da552e7
Fix vertical spacing in compact <ContextMenu> (#7684)
Fix https://github.com/vector-im/element-web/issues/20801

Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/7339

Relevant styles were first added in https://github.com/matrix-org/matrix-react-sdk/pull/4858
(context behind why the original styles were added)

---

## Cause

Battling CSS specificity between the default and compact styles, https://specificity.keegan.st/

Known good (On `app.element.io` (expected)):
```css
// 0 3 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton {
    padding-top: 12px;
    padding-bottom: 12px;
}

// Compact styles override our default rules because they come
// after the other styles (source order) and have the same specificity
// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```

Bad (On `develop` (broken)):
```css
// Default rules always override because they have higher specificity.
// The `:not()` selector doesn't add any extra specificity but the selectors inside the `:not(...)` do.
// 0 4 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton:not(.mx_AccessibleButton_hasKind) {
    padding-top: 12px;
    padding-bottom: 12px;
}

// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```
2022-02-01 11:23:21 -06:00
Weblate
5b9222d636 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:52:35 +00:00
RiotRobot
82f3888cee Reset matrix-js-sdk back to develop branch 2022-02-01 15:52:28 +00:00
Weblate
d48f1b6d83 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:52:18 +00:00
RiotRobot
e90885dd9d Merge branch 'master' into develop 2022-02-01 15:52:12 +00:00
RiotRobot
34a95f4d27 v3.39.1 2022-02-01 15:50:26 +00:00
RiotRobot
710c4b77f2 Prepare changelog for v3.39.1 2022-02-01 15:50:25 +00:00
Weblate
38f02a994c Merge branch 'origin/develop' into Weblate. 2022-02-01 15:49:55 +00:00
Michael Telatynski
8dd0722e04
Update eventName=Screen to $screen to match PostHog's special behaviour (#7667) 2022-02-01 15:49:49 +00:00
David Baker
806cd264df
Fix the sticker picker (#7692) (#7695)
* Fix the sticker picker

Don't stop user widgets on room change: they're not room-specific.

Fixes https://github.com/vector-im/element-web/issues/20797

* Use 'userWidget' prop rather than roomId being defined
2022-02-01 15:40:50 +00:00
David Baker
6c16a2c9dd
Fix publishing address wrongly demanding the alias be available (#7690) (#7693)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-02-01 15:40:37 +00:00
David Baker
b7c8ce6920
Ensure UserInfo can be rendered without a room (#7687) (#7694)
Co-authored-by: David Baker <dave@matrix.org>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-02-01 15:40:27 +00:00
Weblate
6ce2f50464 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:34:27 +00:00
David Baker
5b999300b2
Fix the sticker picker (#7692)
* Fix the sticker picker

Don't stop user widgets on room change: they're not room-specific.

Fixes https://github.com/vector-im/element-web/issues/20797

* Use 'userWidget' prop rather than roomId being defined
2022-02-01 15:34:22 +00:00
Weblate
f9ebf6cdf0 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:06:31 +00:00
Michael Telatynski
98c5f50f36
Fix publishing address wrongly demanding the alias be available (#7690) 2022-02-01 15:06:26 +00:00
Weblate
58073b8bb5 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:06:22 +00:00
Michael Telatynski
bf8c04ff55
Prevent MemberAvatar soft-crashing when rendered with null member prop (#7691) 2022-02-01 15:06:16 +00:00
Weblate
436ff84467 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:01:13 +00:00
Xose M
800c450d9b Translated using Weblate (Galician)
Currently translated at 96.7% (3319 of 3429 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2022-02-01 15:01:12 +00:00
Glandos
a9edbc6ada Translated using Weblate (French)
Currently translated at 100.0% (3429 of 3429 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2022-02-01 15:01:10 +00:00
Germain
5973d725e0
Add new threads to the panel as they are discovered (#7688) 2022-02-01 15:01:00 +00:00
Weblate
24dfedfb41 Merge branch 'origin/develop' into Weblate. 2022-02-01 10:18:00 +00:00
Michael Telatynski
afe6021c9a
Ensure UserInfo can be rendered without a room (#7687)
Co-authored-by: David Baker <dave@matrix.org>
2022-02-01 10:17:55 +00:00
Weblate
3a247c9e1e Merge branch 'origin/develop' into Weblate. 2022-02-01 09:45:28 +00:00
Robin
bfab09e977
Use a more correct test for emoji (#7685) 2022-02-01 09:45:22 +00:00
Weblate
7a9b5b8c72 Merge branch 'origin/develop' into Weblate. 2022-02-01 09:27:18 +00:00
Michael Telatynski
18995363d0
Make polls fill column width in bubbles layout (#7661) 2022-02-01 09:27:14 +00:00
Weblate
7be501413d Merge branch 'origin/develop' into Weblate. 2022-02-01 09:24:10 +00:00