Suguru Hirahara
467c52a2ae
Add E2E test - general-user-settings-tab.spec.ts
( #10658 )
...
* Add E2E test: `general-user-settings-tab.spec.ts`
Initial implementation
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* lint
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Check an input area for a new email address too
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-20 13:18:19 +00:00
Michael Telatynski
483b53c148
Translate credits in help about section ( #10676 )
2023-04-20 12:18:13 +00:00
Michael Telatynski
1efa82917a
Fix wrong room topic tooltip position ( #10667 )
...
* Fix wrong room topic tooltip position
* Update snapshots
* Fix tests
2023-04-20 08:25:53 +00:00
Michael Telatynski
93b4ee654b
Conform more of the codebase to strictNullChecks
( #10666 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Iterate
* Iterate
* Iterate
2023-04-20 09:49:10 +01:00
Michael Weimann
83e6a6057d
Add developer tools option to room list context menu ( #10635 )
...
* Make developer tools more accessible
* Extend tests
* Use settings hook
* Trigger CI
2023-04-19 11:34:27 +00:00
Kerry
957945b356
remove old debug logging in AsyncWrapper ( #10661 )
2023-04-19 07:45:27 +00:00
Suguru Hirahara
869856df2d
Remove obsolete class name and declarations on General
user settings tab ( #10659 )
...
* Remove an obsolete class name: `mx_EmailAddresses_new`
The class name was added by aa7afe819f
for an initial implementation and became obsolete thanks to 1090b7d912
.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove obsolete declarations: `mx_ExistingPhoneNumber_delete`
The declarations have been obsolete since 11f2b4320d
.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove obsolete declarations: `mx_ExistingEmailAddress_delete`
The declarations have also been deprecated by 11f2b4320d
.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-18 20:59:18 +00:00
Michael Telatynski
0db40e327c
Fix create subspace dialog not working ( #10652 )
2023-04-18 16:00:55 +00:00
Michael Weimann
7632f36624
Implement new toast UI ( #10467 )
...
* Implement new toast UI
* Use PCSS vars and Caption component
* Add GenericToast-test
* Tweak call toast
* Fix code style
2023-04-18 11:38:41 +00:00
Element Translate Bot
ac2855789f
Translations update from Weblate ( #10636 )
...
* 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/
* Translated using Weblate (German)
Currently translated at 99.9% (3765 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3751 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* 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/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (French)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* 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/
* 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/
* 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/
* 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/
* 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/
* 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/
* 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/
* 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/
* 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/
* 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/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3748 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* 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/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* 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/
* 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/
* 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/
* Translated using Weblate (Hebrew)
Currently translated at 72.0% (2709 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
* 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/
* 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/
* Translated using Weblate (Swedish)
Currently translated at 98.4% (3704 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Hebrew)
Currently translated at 72.0% (2712 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
* Translated using Weblate (Swedish)
Currently translated at 98.6% (3712 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Swedish)
Currently translated at 98.8% (3720 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (German)
Currently translated at 99.9% (3763 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (German)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3750 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (French)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Hungarian)
Currently translated at 99.9% (3763 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Norwegian Nynorsk)
Currently translated at 27.4% (1032 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nn/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* 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/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (German)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Italian)
Currently translated at 99.9% (3767 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (German)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (French)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (German)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (French)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
---------
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Peter Chen <petercpg@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: SPiRiT <such.a.lost.spirit@gmail.com>
Co-authored-by: Balázs Meskó <meskobalazs@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Bjørn I.Svindseth <bjorni.svindseth@yahoo.com>
2023-04-18 10:06:45 +00:00
Michael Telatynski
82a51e9674
Pick sensible default option for phone country dropdown ( #10627 )
...
* Pick sensible default option for phone country dropdown
* Add tests
* Add tests
2023-04-18 08:23:37 +00:00
Michael Telatynski
6bf1815608
Add missing rel noreferrer noopener attributes ( #10629 )
2023-04-17 18:43:25 +00:00
Michael Telatynski
1a0e5c1805
Fix multiple accessibility defects identified by AXE ( #10606 )
...
* Mark effects overlay canvas as aria hidden
* Ensure date separators aren't seen as focusable aria separators
* Fix
* Fix font slider not having aria label
* Add missing aria labels
* Fix settings flags setting aria-checked={null}
* Update snapshots
2023-04-17 16:09:45 +00:00
Michael Telatynski
270a26d89a
Fix view source from edit history dialog always showing latest event ( #10626 )
2023-04-17 16:09:17 +00:00
Michael Telatynski
568ec77208
Make SonarCloud happier about our code quality ( #10630 )
2023-04-17 12:57:19 +00:00
kenwuuu
dc4bb237d4
Replace hardcoded strings with MsgType constants ( #10604 )
...
* replace hardcoded strings with MsgType constants
* fix import and revert comments
Signed-off-by: Ken Wu kenqiwu@gmail.com
* fix import
Signed-off-by: Ken Wu kenqiwu@gmail.com
---------
Signed-off-by: Ken Wu kenqiwu@gmail.com
2023-04-17 09:37:29 +00:00
Timothy Amello
1d9df7ec51
Apply strictNullChecks to Markdown.ts ( #10623 )
...
Co-authored-by: Kerry <kerrya@element.io>
2023-04-17 07:41:51 +00:00
Michael Telatynski
56e4ae41f8
Conform more of the codebase to strictNullChecks ( #10607 )
...
* Conform more of the codebase to `strictNullChecks`
* Conform more of the codebase to `strictNullChecks`
* Fix types
* Conform more of the codebase to `strictNullChecks`
* Conform more of the codebase to `strictNullChecks`
2023-04-17 09:25:00 +01:00
Suguru Hirahara
8a4a584ba0
Make test ID compatible with findByTestId() of Cypress Testing Library ( #10617 )
...
'data-test-id' is not discoverable with findByTestId() of Cypress Testing Library.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-17 06:10:11 +00:00
Michael Telatynski
daad630827
Conform more of the codebase to strictNullChecks
( #10602 )
...
* Conform more of the codebase to `strictNullChecks`
* Conform more of the codebase to `strictNullChecks`
* Fix types
2023-04-17 08:31:58 +01:00
Rashmit Pankhania
7751f9c622
#21451 Fix WebGL disabled error message ( #10589 )
...
* #21451 Fix WebGl disabled error message
* #21451 Fix WebGl disabled error message
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix message
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ordering of cases in LocationShareErrors.ts
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix linting LocationPicker.tsx
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix eslint
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix file encoding for i18n CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ts strict CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
---------
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-17 04:25:04 +00:00
Michael Telatynski
439759a1da
Relate field validation tooltip via aria-describedby ( #10522 )
...
* Relate field validation tooltip via aria-describedby
* Iterate
2023-04-14 14:15:26 +00:00
Eric Eastwood
c1e7905ddc
Properly translate errors in AddThreepid.ts
( #10432 )
...
* Properly translate errors in AddThreepid.ts
Part of https://github.com/vector-im/element-web/issues/9597
* Use translated message
* Avoid returning undefined ever
* More usage
* Introduce UserFriendlyError
* Use UserFriendlyError
* Add more usage instead of normal error
* Use types and translatedMessage
* Fix lints
* Update i18n although it's wrong
* Use unknown for easier creation from try/catch
* Use types
* Use error types
* Use types
* Update i18n strings
* Remove generic re-label of HTTPError
See https://github.com/matrix-org/matrix-react-sdk/pull/10432#discussion_r1156468143
The HTTPError already has a good label and it isn't even translated if we re-label it here in this way generically
Probably best to just remove in favor of thinking about a translations in general from the `matrix-js-sdk`, see https://github.com/matrix-org/matrix-js-sdk/issues/1309
* Make error message extraction generic
* Update i18n strings
* Add tests for email addresses
* More consistent error logging to actually see error in logs
* Consistent error handling
* Any is okay because we have a fallback
* Check error type
* Use dedicated mockResolvedValue function
See https://github.com/matrix-org/matrix-react-sdk/pull/10432#discussion_r1163344034
2023-04-14 15:40:19 +01:00
Julien DAUPHANT
075c8c3d33
Fix bug on Avatar.ts for custom theme avatar background color ( #10598 )
2023-04-14 13:38:54 +00:00
Richard van der Hoff
6b451afc50
Remove dependency on org.matrix.e2e_cross_signing
unstable feature ( #10593 )
...
* Remove dependency on `org.matrix.e2e_cross_signing` unstable feature
Currently, we have some code that relies on the server declaring support for an
`unstable_feature` called `org.matrix.e2e_cross_signing`. There is nothing in
the spec that requires this, so this would make us incompatible with some
server implementations.
The features in question were added in spec v1.1, so we can test for that
instead.
* fix unit test
2023-04-14 10:14:05 +00:00
Richard van der Hoff
70b87f8bde
Simplify isDeviceVerified
definitions ( #10594 )
...
* Simplify `isDeviceVerified` definitions
Currently, we have two similar but different definitions of `isDeviceVerified`,
and they both do a lot of wrangling that relies on js-sdk internals. We can
simplify it a lot by just calling `MatrixClientPeg.checkDeviceTrust`.
* fix tests
* more test fixes
2023-04-14 09:46:37 +00:00
alunturner
e4ebcf5731
Handle more completion types in rte autocomplete ( #10560 )
...
* handle at-room
* remove console log
* update and add tests
* tidy up
* refactor to switch statement
* fix TS error
* expand tests
* consolidate similar if/else if blocks
2023-04-14 09:09:38 +00:00
Michael Telatynski
1ae0662872
Update setting description to match reality ( #10600 )
2023-04-14 08:58:08 +00:00
Michael Telatynski
605ef084ec
Conform more of the codebase to strictNullChecks
( #10573 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-13 08:52:57 +01:00
Michael Telatynski
b4d7f6b592
Fix no identity server in help & about settings ( #10563 )
2023-04-13 07:25:51 +00:00
Suguru Hirahara
747afec27e
Use AccessibleButton
for "Accept" on AuthPage ( #10508 )
...
* Use AccessibleButton for "Accept" on AuthPage
- Use AccessibleButton
- Remove mx_InteractiveAuthEntryComponents_termsSubmit:disabled as disabled state is handled by AccessibleButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Empty commit
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-13 01:29:09 +00:00
Kerry
6280395928
Fix: Images no longer reserve their space in the timeline correctly ( #10571 )
...
* test case
* fix + lint
* refix strictNullChecks issue
* add comment about max image size
* tweak
* use safer magic number
2023-04-13 01:22:16 +00:00
Andy Balaam
c496985ff3
Show a tile for an unloaded predecessor room if it has via_servers ( #10483 )
...
* Improve typing in constructor of RoomPermalinkCreator
* Provide via servers if present when navigating to predecessor room from Advanced Room Settings
* Show an error tile when the predecessor room is not found
* Test for MatrixToPermalinkConstructor.forRoom
* Test for MatrixToPermalinkConstructor.forEvent
* Display a tile for predecessor event if it contains via servers
* Fix missing case where event id is provided as well as via servers
* Refactor RoomPredecessor tests
* Return lost filterConsole to its home
* Comments for IState in AdvancedRoomSettingsTab
* Explain why we might render a tile even without prevRoom
* Guess the old room's via servers if they are not provided
* Fix TypeScript errors
* Adjust regular expression (hopefully) to avoid potential catastrophic backtracking
* Another attempt at avoiding super-liner regex performance
* Tests for guessServerNameFromRoomId and better implementation
* Further attempt to prevent backtracking
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-12 15:26:45 +00:00
Michael Telatynski
075cb9e622
Exclude message timestamps from aria live region ( #10584 )
...
* Exclude message timestamps from aria live region
* Update snapshot
2023-04-12 14:12:45 +00:00
Michael Telatynski
e5b1b7b632
Make composer format bar an aria toolbar ( #10583 )
...
* Make composer format bar an aria toolbar
* Iterate
* Iterate
* Update snapshot
2023-04-12 13:58:38 +00:00
Michael Weimann
7cd86231b4
Fix read receipts falling from sky ( #10576 )
2023-04-12 11:50:48 +00:00
Michael Telatynski
d2066ba5f5
Improve accessibility of font slider ( #10473 )
...
* Clamp font size when disabling "Use custom size"
* Switch Slider to use a semantic input range element
* Iterate
* delint
* delint
* snapshot
* Iterate
* Iterate
* Fix step size
* Add focus outline to slider
* Derp
2023-04-12 10:57:31 +00:00
Neeraj Vageele
ce0bd00c5b
fix file size display from kB to KB ( #10561 )
...
* fix file size display from kB to KB
* add a wrapper function for filesize
---------
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
2023-04-11 14:48:41 +01:00
Hugh Nimmo-Smith
692c07ef0a
Use Capabilities type from js-sdk ( #10535 )
2023-04-11 09:46:11 +00:00
alunturner
4d5744008e
Handle /me in rte ( #10558 )
...
* add /me handling
* use typeguards to avoid fighting TS
* improve clarity and use of typeguards
* add createMessageContent tests
* remove completed TODO
* improve comments
* remove duplication and renaming of argument
2023-04-11 08:23:03 +00:00
alunturner
96c62ea03d
Fix avatar text issue in rte ( #10559 )
...
* replace - with zwsp
* improve comments
* fix broken tests
* fix typo
2023-04-11 08:13:48 +00:00
Michael Weimann
29780704f1
Add unread fallback logging ( #10509 )
2023-04-11 07:41:59 +00:00
Neeraj Vageele
c8585be2f8
fix resize to only work with left mouse click ( #10546 )
...
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-11 06:13:11 +00:00
Neeraj Vageele
99a375e354
bind html with switch for manage extension setting ( #10553 )
...
option
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
2023-04-11 05:13:52 +00:00
alunturner
3fa6f8cbf0
Handle command completions in RTE ( #10521 )
...
* pass handleCommand prop down and use it in WysiwygAutocomplete
* allow a command to generate a query from buildQuery
* port command functionality into the sendMessage util
* tidy up comments
* remove use of shouldSend and update comments
* remove console log
* make logic more explicit and amend comment
* uncomment replyToEvent block
* update util test
* remove commented out test
* use local text over import from current composer
* expand tests
* expand tests
* handle the FocusAComposer action for the wysiwyg composer
* remove TODO comment
* remove TODO
* test for action dispatch
* fix failing tests
* tidy up tests
* fix TS error and improve typing
* fix TS error
* amend return types for sendMessage, editMessage
* fix null content TS error
* fix another null content TS error
* use as to correct final TS error
* remove undefined argument
* try to fix TS errors for editMessage function usage
* tidy up
* add TODO
* improve comments
* update comment
2023-04-10 12:47:42 +00:00
Michael Weimann
818e8292cb
Fix send two join requests when joining a room from spotlight search ( #10534 )
...
* Fix send two join requests when joining a room from spotlight search
* Trigger CI
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 14:02:18 +00:00
renovate[bot]
0ea2ff85d0
Update dependency typescript to v5 ( #10532 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:17:50 +01:00
renovate[bot]
6c39aa29e2
Update typescript-eslint monorepo to v5.57.0 ( #10530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 12:07:58 +01:00
Michael Telatynski
55d3548330
Conform more of the codebase to strictNullChecks
( #10518
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Fix tests
2023-04-06 11:10:14 +01:00
Suguru Hirahara
374a23edb5
Add E2E test of audio player ( #10441 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:45:55 +00:00
alunturner
e03eac12c3
Add room and user avatars to rte ( #10497 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:43:49 +00:00
Hugh Nimmo-Smith
5c0e5eb0fb
Support for MSC3882 revision 1 ( #10443 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:06:12 +00:00
Michael Telatynski
09eefe14ea
Remove feedback buttons from onboarding, search, and spaces ( #10506 )
2023-04-05 12:17:25 +01:00
Michael Weimann
df89d2ce28
Check profiles before starting a DM ( #10472 )
2023-04-05 13:13:51 +02:00
Michael Telatynski
e5a314617a
Conform more of the codebase to strictNullChecks ( #10505
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Iterate
* Iterate
* Iterate
2023-04-05 09:02:40 +01:00
Kerry
2434749f65
Highlight event when any version triggered a highlight ( #10502 )
...
* check previous events pushactions when deciding to highlight
* test event highlight
* strict fix
* highlight edited text to red
2023-04-05 02:46:17 +00:00
Janne Mareike Koschinski
52eec283b3
Quick settings: Change the copy / labels on the options ( #10427 )
...
* Quick settings: Change the copy / labels on the options
* Update i18n
2023-04-04 21:00:57 +02:00
alunturner
7a250f41ac
Update rte autocomplete styling ( #10503 )
...
* amend className to reflect usage
* move new class into file used by Send/Edit composers
* add border styling to autocomplete
2023-04-04 14:52:57 +01:00
Michael Telatynski
b77b2df29b
Improve context types ( #10510 )
2023-04-04 14:01:04 +01:00
Michael Telatynski
bc60a9b594
Conform more of the codebase to strictNullChecks
( #10504
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-04 11:41:46 +01:00
Weblate
7322cff0d7
Merge branch 'origin/develop' into Weblate.
2023-04-04 07:46:41 +00:00
Peter Chen
2b3eb9e132
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-04-04 07:46:41 +00:00
LinAGKar
6a0ec8cebd
Translated using Weblate (Swedish)
...
Currently translated at 98.5% (3710 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2023-04-04 07:46:38 +00:00
Eric Eastwood
2ebec3a3c7
Remove orphaned GenericError class ( #10500 )
...
Originally introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/8329
All usages were removed in
https://github.com/matrix-org/matrix-react-sdk/pull/9605
This error also has problems with showing tranlsated versions in the logs.
Part of https://github.com/vector-im/element-web/issues/9597
We should be using the new `UserFriendlyError` for this kind of thing anyway.
Introduced in https://github.com/matrix-org/matrix-react-sdk/pull/10440
2023-04-04 02:46:27 -05:00
Weblate
d76cda3095
Merge branch 'origin/develop' into Weblate.
2023-04-03 09:28:25 +00:00
Michael Weimann
56423d4d53
Restore createRoom.canEncryptToAllUsers ( #10491 )
2023-04-03 11:28:17 +02:00
Weblate
b49122e8fb
Merge branch 'origin/develop' into Weblate.
2023-04-03 09:09:39 +00:00
Shivam Mahajan
f933806b63
Added auto focus to Github URL on opening of debug logs modal ( #10479 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-03 09:09:32 +00:00
Weblate
9b1ea80da6
Merge branch 'origin/develop' into Weblate.
2023-04-03 08:27:02 +00:00
Kerry
81a4498a8f
Apply strictNullChecks
to src/utils/*!exportUtils
( #10455
...
* Apply `strictNullChecks` to `src/utils/exportUtils`
* strict fix
* fix strictNullChecks issues in some utils
* fix error message
* test coverage
* lint
* more strictNullChecks
* small optimisation for getUniqueRoomsWithIndividuals
* tidy
* test coverage
2023-04-03 09:26:55 +01:00
Weblate
4fa3f52d35
Merge branch 'origin/develop' into Weblate.
2023-04-02 21:32:18 +00:00
Kerry
6f1a3af895
Properly generate mentions when editing a reply with MSC3952 ( #10486 )
...
* remove redundant feature_intentional_mentions settings check
* tests
* pass replytoevent to attachmmentions in editmessagecomposer
* lint
* strict fix
2023-04-02 21:32:12 +00:00
Weblate
a374758b6b
Merge branch 'origin/develop' into Weblate.
2023-04-02 21:20:03 +00:00
maheichyk
d3da171765
Show room create icon if "UIComponent.roomCreation" is enabled ( #10364 )
...
* Show room create button in RoomSublist if "UIComponent.roomCreation" is enabled
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
* Revert "Show room create button in RoomSublist if "UIComponent.roomCreation" is enabled"
This reverts commit a332a0b02a6c3253ea7ac606211c41a09c409de5.
* Use UIComponent.ExploreRooms to display menu item "Explore public rooms" ("Explore rooms" in case of space room) in context menu of "Rooms" section of RoomList component. The context menu will be available if one of UIComponent.ExploreRooms or UIComponent.CreateRooms is enabled.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
* "Explore rooms" of space room should not be controlled by UIComponent.ExploreRooms.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-04-03 09:19:56 +12:00
Glandos
d342b47af2
Translated using Weblate (French)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-04-02 12:33:53 +00:00
Weblate
39b3ab42b7
Merge branch 'origin/develop' into Weblate.
2023-03-31 13:15:17 +00:00
Priit Jõerüüt
4133d56c4a
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 13:15:17 +00:00
Jozef Gaal
a53f7dac3f
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-31 13:15:15 +00:00
waclaw66
0b99450168
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 13:15:13 +00:00
random
d96b93a148
Translated using Weblate (Italian)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-31 13:15:10 +00:00
Olivier D
39e789a04e
Translated using Weblate (French)
...
Currently translated at 99.8% (3762 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-31 13:15:08 +00:00
Vri
72cbb3bc4a
Translated using Weblate (German)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 13:15:06 +00:00
alunturner
6f791d28c8
Add mentions as links to rte ( #10463 )
...
* adds autocomplete behaviour for mentions in rich text editor
* allows adding mentions as links
* adds tests
2023-03-31 14:14:55 +01:00
Weblate
211c4ec108
Merge branch 'origin/develop' into Weblate.
2023-03-31 09:35:09 +00:00
Michael Telatynski
212977c4ac
Apply strictNullChecks
to src/contexts/*
( #10490 )
2023-03-31 10:35:02 +01:00
Ihor Hordiichuk
b0bb865d1c
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-31 09:16:03 +00:00
Weblate
d93469f143
Merge branch 'origin/develop' into Weblate.
2023-03-31 09:08:55 +00:00
Priit Jõerüüt
48b93f545b
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 09:08:54 +00:00
Michael Telatynski
404c412bcb
Handle IDB closed
event by showing modal with prompt to reload app ( #10395
...
* Handle IDB `closed` event by showing modal with prompt to reload app
* Iterate
* Skip the modal for guests, e.g. during registration
* Iterate
* Add tests
2023-03-31 10:08:45 +01:00
Weblate
0333b6cc77
Merge branch 'origin/develop' into Weblate.
2023-03-31 08:26:21 +00:00
Michael Telatynski
f152613f83
Apply strictNullChecks
to src/components/auth/*
( #10484
...
* Apply `strictNullChecks` to `src/components/auth/*`
* fix
* strict types
2023-03-31 09:26:15 +01:00
Weblate
15f94d7bfb
Merge branch 'origin/develop' into Weblate.
2023-03-31 08:20:27 +00:00
waclaw66
f033c0c62f
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 08:20:27 +00:00
Vri
5f7143b42f
Translated using Weblate (German)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 08:20:25 +00:00
Michael Weimann
af151700c9
Strictify src/components/structures/Space*
( #10481 )
2023-03-31 10:20:15 +02:00
Weblate
795364abbe
Merge branch 'origin/develop' into Weblate.
2023-03-31 07:43:54 +00:00
Michael Weimann
dddef858f1
Fix detection of encryption for all users in a room ( #10487 )
2023-03-31 09:43:47 +02:00
Weblate
b7326ebf21
Merge branch 'origin/develop' into Weblate.
2023-03-31 07:30:51 +00:00
Eric Eastwood
ff1468b6d3
Replace newTranslatableError
with UserFriendlyError
( #10440
...
* Introduce UserFriendlyError
* Replace newTranslatableError with UserFriendlyError
* Remove ITranslatableError
* Fix up some strict lints
* Document when we/why we can remove
* Update matrix-web-i18n
Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6
* Include room ID in error
* Translate fallback error
* Translate better
* Update i18n strings
* Better re-use
* Minor comment fixes
2023-03-31 08:30:43 +01:00
Weblate
1b6ade29ab
Merge branch 'origin/develop' into Weblate.
2023-03-30 09:26:25 +00:00
Michael Telatynski
567248d5c5
Add aria labels to message search bar to improve accessibility ( #10476 )
2023-03-30 10:26:19 +01:00
Weblate
480e31e728
Merge branch 'origin/develop' into Weblate.
2023-03-30 09:11:24 +00:00
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
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
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
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
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
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
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
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
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
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
Weblate
af64dbb9f6
Merge branch 'origin/develop' into Weblate.
2023-03-27 20:22:53 +00:00
Kerry
cd700e20fc
Display relative timestamp for threads on the same calendar day ( #10399 )
...
* add test cases for <24 different day time formatting
* use day instead of <24h ago to format relative date
2023-03-27 20:22:46 +00:00
Weblate
b653fa5009
Merge branch 'origin/develop' into Weblate.
2023-03-27 20:10:25 +00:00
maheichyk
68fa9aed9d
Show "Invite" menu option if "UIComponent.sendInvites" is enabled. ( #10363 )
...
* Show "Invite" menu option if "UIComponent.sendInvites" is enabled.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
* Update test names
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-03-28 09:10:18 +13:00
Weblate
d187a77e40
Merge branch 'origin/develop' into Weblate.
2023-03-27 16:19:49 +00:00
Michael Weimann
b0de7b3bb6
Use unique keys for voice broadcast pips ( #10457 )
2023-03-27 18:19:42 +02:00
Weblate
093e9b148c
Merge branch 'origin/develop' into Weblate.
2023-03-27 13:48:17 +00:00
Michael Telatynski
065e970325
Conform src/hooks/*
code to strictNullChecks
( #10460 )
2023-03-27 14:45:46 +01:00
Weblate
7bd4bc7871
Merge branch 'origin/develop' into Weblate.
2023-03-27 10:57:11 +00:00
Janne Mareike Koschinski
63678603e0
Revert "Mentions as links rte ( #10422 )" ( #10458 )
...
This reverts commit 1af71089dd
.
2023-03-27 12:57:05 +02:00
Weblate
0d2567c270
Merge branch 'origin/develop' into Weblate.
2023-03-27 08:56:37 +00:00
Michael Telatynski
58a4003a59
Fix "show read receipts sent by other users" not applying to threads ( #10445 )
2023-03-27 09:56:31 +01:00
Weblate
a6ec3659a3
Merge branch 'origin/develop' into Weblate.
2023-03-27 08:07:50 +00:00