Commit graph

45846 commits

Author SHA1 Message Date
Suguru Hirahara
232daaff68
Fix decryption failure bar covering the timeline (#10360)
* Use grid layout instead

- BEM naming style
- Increase block gap from 4px to 8px
- Use flexbox inside 'header' grid-area to let the buttons wrapped
- Use variables
- Remove 4px gap when one of the buttons is not rendered
- Change 'body' to 'message'
- Set 'align-self: start' to the icon and spinner

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Unset height of spinner

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Break lines at newline characters with white-space: pre-line

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Edit tests to check decryption failure bars on narrow timeline

- checkTimelineNarrow() looks for buttons by default
- Test indicator as well

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove a line

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Edit the test to have it check mx_EventTile_last only inside mx_RoomView_body

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix double underscores

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix double underscores - pcss

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Iterate - buttons at the bottom

- Set common spacing to buttons with variables
- Remove line breaks, yarn run i18n
- Set data-testid for headlines and buttons in case the tested strings would be displayed elsewhere simultaneously

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Check waiting headline as well

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Increase spacing between the message and the buttons

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* lint

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Increase block gap between wrapped buttons for clickability

Apply 8px between wrapped buttons

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Revert bottom margin of buttons which are not expected to be wrapped

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Check visibility instead of existence

This commit removes data-testid from headlines and data-testid-button and checks whether the elements are really visible, not overflowing the viewport.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove redundant gap between 'mx_DecryptionFailureBar_start' and the bottom edge

This commit adds '.mx_DecryptionFailureBar--withEnd' class name to have it applied to the bar only if it has button(s). This way the bar is rendered with a flexbox and the row-gap declaration is respected only if there is a 'mx_DecryptionFailureBar--withEnd' element. The element  currently includes the button(s) only.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* lint - prettier

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Have Percy take a snapshot of the bar loading spinner before checkTimelineNarrow()

The loading spinner is likely to disappear while checking the bar on the narrow timeline.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-03-30 10:11:16 +01:00
Weblate
21cfce484b Merge branch 'origin/develop' into Weblate. 2023-03-30 09:10:12 +00:00
Andy Balaam
bebfbacded
Update changelog for v3.69.0 now the security issue is public (#10468) 2023-03-30 09:10:04 +00:00
Weblate
b831563e23 Merge branch 'origin/develop' into Weblate. 2023-03-30 08:44:34 +00:00
Michael Weimann
052c7e6d27
Strictify components/structures/Thread* (#10478)
* Strictify `components/structures/Thread*`

* Fix ThreadView event Id
2023-03-30 09:44:28 +01:00
Weblate
598b8e3f9a Merge branch 'origin/develop' into Weblate. 2023-03-30 08:32:09 +00:00
Suguru Hirahara
beb8861df6
Add E2E test of MessageEditHistoryDialog (#10406) 2023-03-30 10:32:02 +02:00
Weblate
02d8ddb4f6 Merge branch 'origin/develop' into Weblate. 2023-03-30 08:06:57 +00:00
Michael Weimann
9aef1874db
Strictify stores/room-list (#10474) 2023-03-30 09:06:50 +01:00
Weblate
de831a35bb Merge branch 'origin/develop' into Weblate. 2023-03-30 07:28:15 +00:00
Michael Telatynski
9848cdf4e7
Apply strictNullChecks to src/components/structures/Space* (#10475) 2023-03-30 08:28:08 +01:00
Weblate
48b2e509f9 Merge branch 'origin/develop' into Weblate. 2023-03-29 21:47:18 +00:00
Balázs Meskó
edb80e57ed Translated using Weblate (Hungarian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-29 21:47:18 +00:00
Kerry
9a733a6444
Apply strictNullChecks to src/utils/exportUtils (#10379)
* Apply `strictNullChecks` to `src/utils/exportUtils`

* strict fix

* test coverage

* lint

* test coverage

* one more test
2023-03-29 21:47:07 +00:00
Weblate
f9c9110565 Merge branch 'origin/develop' into Weblate. 2023-03-29 14:00:58 +00:00
random
409c161323 Translated using Weblate (Italian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-29 14:00:58 +00:00
Michael Telatynski
1447829543
Improve profile picture settings accessibility (#10470) 2023-03-29 14:00:45 +00:00
Weblate
85c2ae8a18 Merge branch 'origin/develop' into Weblate. 2023-03-29 11:53:09 +00:00
Glandos
23e3219402 Translated using Weblate (French)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-29 11:53:09 +00:00
Michael Weimann
968b6fc5df
Implement permalink end-2-end test (#10434) 2023-03-29 13:52:57 +02:00
Weblate
950a3ea4e6 Merge branch 'origin/develop' into Weblate. 2023-03-29 07:24:00 +00:00
Michael Telatynski
a47b3eb0ee
Apply strictNullChecks to src/components/views/elements/* (#10462
* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Update snapshot
2023-03-29 08:23:54 +01:00
Weblate
476ee7b86c Merge branch 'origin/develop' into Weblate. 2023-03-29 07:22:44 +00:00
Priit Jõerüüt
3613a73e33 Translated using Weblate (Estonian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-29 07:22:44 +00:00
Michael Telatynski
cefd94859c
Conform src/components/views/messages/* code to strictNullChecks (#10461) 2023-03-29 08:22:35 +01:00
Weblate
07efcd74c1 Merge branch 'origin/develop' into Weblate. 2023-03-29 06:47:23 +00:00
Jozef Gaal
615c3a6190 Translated using Weblate (Slovak)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-29 06:47:23 +00:00
waclaw66
bb8319adfa Translated using Weblate (Czech)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-29 06:47:21 +00:00
Linerly
ab94089f44 Translated using Weblate (Indonesian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-29 06:47:19 +00:00
Ihor Hordiichuk
b0554b90bd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-29 06:47:18 +00:00
Jeff Huang
941a43475e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-29 06:47:15 +00:00
Vri
13a44079f6 Translated using Weblate (German)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-29 06:47:13 +00:00
Michael Weimann
7cb90d0f78
Add Cypress Testing Library (#10446) 2023-03-29 08:47:05 +02:00
Weblate
137e049f1d Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-28 22:14:51 +00:00
Weblate
124fbdd8b8 Merge branch 'origin/develop' into Weblate. 2023-03-28 22:13:57 +00:00
Kerry
6eda1fa6e2
replace Polls history strings with Poll history (#10454)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2023-03-28 22:13:51 +00:00
Weblate
7a8975ce27 Merge branch 'origin/develop' into Weblate. 2023-03-28 13:33:22 +00:00
RiotRobot
f5115e047e Reset matrix-js-sdk back to develop branch 2023-03-28 14:33:05 +01:00
Weblate
25f0104468 Merge branch 'origin/develop' into Weblate. 2023-03-28 13:31:57 +00:00
RiotRobot
0475e7107f Merge branch 'master' into develop 2023-03-28 14:30:52 +01:00
RiotRobot
500a543662 v3.69.0 2023-03-28 14:23:32 +01:00
RiotRobot
ef46e9a94e Prepare changelog for v3.69.0 2023-03-28 14:23:29 +01:00
RiotRobot
0d8a1eb850 Upgrade matrix-js-sdk to 24.0.0 2023-03-28 14:21:30 +01:00
Weblate
90061fde7a Merge branch 'origin/develop' into Weblate. 2023-03-28 13:16:36 +00:00
Robin
edef4cc52e
Handle group call redaction (#10465)
Redacted group call events should be interpreted as terminated calls.
2023-03-28 13:16:30 +00:00
Michael Weimann
c30b2637c5 Changes for v3.69.0 2023-03-28 11:23:16 +01:00
Weblate
a743790ee0 Merge branch 'origin/develop' into Weblate. 2023-03-28 07:57:24 +00:00
Suguru Hirahara
f1667870a0
Change the category of a test from message displaying to configure room (#10449) 2023-03-28 08:57:17 +01:00
Weblate
e2f4fece1a Merge branch 'origin/develop' into Weblate. 2023-03-27 21:07:55 +00:00
Kerry
ae50eee135
Apply strictNullChecks to src/utils/pillify.tsx (#10456)
* apply strictNullChecks to src/utils/pillify.tsx

* include change to utility

* apply strictNullChecks to src/utils/permalinks
2023-03-28 10:07:49 +13:00