Commit Graph

39714 Commits (760d26967149d9ac833d9e5ba108836ff8434696)

Author SHA1 Message Date
Šimon Brandner d00483be3e
Hide maximise button in the sticker picker (#7488) 2022-01-10 09:02:07 +00:00
Michael Telatynski 33b34d4169
Fix space ordering to match newer spec (#7481) 2022-01-10 08:58:11 +00:00
Šimon Brandner 30aee97b78
Give secret key field an `id` (#7489) 2022-01-10 08:43:32 +00:00
Šimon Brandner 9501d3b226
Fix typing notification colors (#7490) 2022-01-10 08:42:34 +00:00
Timo cb76358230
Fix right panel soft crashes chat rooms (#7479) 2022-01-07 16:55:21 +01:00
Kerry d4250918cf
fix fallback for pluralized strings (#7480)
* fix fallback for pluralized cases

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

* add test case for no pluralizer

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 16:20:24 +01:00
Andy Balaam 309f7bb235
Display a tooltip when you hover over a location (#7472) 2022-01-07 15:11:30 +00:00
Andy Balaam 707f8cd878
Open map in a dialog when it is clicked (#7465) 2022-01-07 14:54:45 +00:00
Faye Duxovni 59ef2704f0
Give Posthog a correct total count of decryption failures (#7475) 2022-01-07 09:15:33 -05:00
Michael Telatynski 9fd933a0b6
Don't send typing notification when restoring composer draft (#7477) 2022-01-07 11:15:20 +00:00
Kerry fed53a268b
A11y - fix anchors-as-buttons (#7444)
* add link_inline accessiblebutton variant

* valid anchors in SecurityRoomSettingsTab

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

* new room intro link button

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

* replace anchor with button in rerequest encryption keys message

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

* inline button in UrlPreviewSettings

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

* ButtonResetDefault mixin

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

* inline link buttons in TextForEvent

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

* fix anchors in InviteDialog

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

* fix anchors in DevToolsDialog

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

* fix anchors in login/registration/reset pword flows

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

* fix types after fixing anchors in devtools

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

* fix anchors in MemberEventListSummary

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

* fix anchors in ReactionsRow and RoomUpgrade

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

* fix anchors in ReplyChain

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

* fix more anchors

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

* fix anchors in auth comps

* stylelint fixes

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

* remove ignore of jsx-a11y rule that is not added yet

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

* devtools style important explainer

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

* translate button alt in devtools dialog

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

* AccessibleButton is reactionsrow

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

* fix viewsourcevent button placement, use AccessibleButton

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

* use AccessibleButton in EventTile

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

* unignore jsx-a11y/anchor-is-valid

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

* fix lint issue in test jsx

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

* update coment

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:40:53 +01:00
Kerry 2b9eed5357
update yarn.lock and i18n (#7476)
* add hash to matrix-web-i18n dep, update i18n

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

* remove hash from dep

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:37:12 +01:00
Michael Telatynski 42d6ff4195
Fix room joining spinner being incorrect if you change room mid-join (#7473) 2022-01-07 09:23:54 +00:00
Faye Duxovni a4fda7e25d
Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474) 2022-01-06 16:57:49 -05:00
Dominik Henneke b3202de814
Only return the approved widget capabilities instead of accepting all requested capabilities (#7454)
* Only return the approved widget capabilities instead of accepting all requested capabilities

* Restore the original logic that only keeps accepted permissions if they were requested

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2022-01-06 12:31:30 -07:00
Kerry dc2d52c1f2
a11y - wrap notification level radios in fieldsets (#7471)
* notification settings radios table -> fieldset

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

* aria-label for inputs

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

* update tests for fielset

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

* remove unneccessary wrapping div

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

* fix stylelint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 18:52:06 +01:00
Kerry b1066a5699
Wrap inputs in fieldsets in Space visibility settings (#7350)
* use fieldset in space settings > visibility

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

* add basic tests for space setttings visibility

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

* i18n

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

* fix toggle button placement

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

* i18n

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

* update settings separator color to quinary

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 10:09:26 +00:00
Kerry 92ee02fe02
unit test Notifications.tsx (#7468)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
Timo 4ab3470184
History based navigation with new right panel store (#7398)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 17:25:41 +01:00
Michael Telatynski 6f89267a31
Fix quoting messages from the search view (#7466) 2022-01-05 15:59:19 +00:00
Germain 76839ec42e
Prevent soft crash when sending a thread message (#7467) 2022-01-05 15:16:53 +00:00
Timo 325e2ba99b
Right panel store refactor (#7313)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 16:14:44 +01:00
Michael Telatynski 8e881336ab
Fix regression in space preferences dialog (#7464) 2022-01-05 10:38:30 +00:00
Kerry 7f13a1b40a
Attribute fallback i18n strings with lang attribute (#7323)
* add lang attribute to fallback translations

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

* readability improvement

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

* split _t and _tDom

Signed-off-by: Kerry <kerry@Kerrys-MBP.fritz.box>

* use tDom in HomePage

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

* lint

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

* bump matrix-web-i18n

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-05 11:37:28 +01:00
Michael Telatynski ea7ac453bc
Fix spotlight cmd-k wrongly expanding left panel (#7463) 2022-01-05 10:07:04 +00:00
bink 6eea416e7e
Fix room_id check when adding user widgets (#7448) 2022-01-05 09:54:38 +00:00
Kerry 00feb24877
add spacing variables (#7456)
* add spacing variables

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

* eof

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-04 10:15:20 -07:00
Timo f4a94f6e7f
Add new line in settings label (#7451) 2022-01-04 10:57:29 +01:00
Michael Telatynski b6c2b5c995
Fix handling incoming redactions in EventIndex (#7443) 2022-01-04 09:39:07 +00:00
Dariusz Niemczyk 74ea2adfc2
Fix room alias address isn't checked for validity before being shown as added (#7107)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-04 09:22:51 +00:00
Michael Telatynski 44d7d74949
Call view accessibility fixes (#7439) 2022-01-04 08:57:46 +00:00
Michael Telatynski cdbe59900c
Fix offscreen canvas breaking with split-brained firefox support (#7440) 2022-01-04 08:57:35 +00:00
Ankur 8339d5fdee
Removed red shield in forwarding preview. (#7447) 2022-01-04 08:53:39 +00:00
Kerry aaf14aacd2
A11y fix role-has-required-aria-props (#7455)
* remove jsx a11y direct use in eslintrc

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

* remove debug

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

* split aria-selected out from restProps in Autocomplete

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

* update Dropdown to aria 1.1 aria-owns -> aria-controls

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

* unignore jsx-a11y/role-has-required-aria-props rule

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

* remove debug

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-04 08:46:21 +00:00
Kerry 846fbfa2a0
Add jsx-a11y eslint plugin (#7434)
* add matrix-org a11y eslint plgin

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

* add eslint a11y, enable and fix anchor-has-content rule

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

* enable and fix jsx-a11y/no-redundant-roles

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

* remove debug

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

* i18n

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

* use jsx-a11y via matrix-org-eslint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 18:51:58 +01:00
Kerry 03f5a3c3e6
Associate room alias warning with public option in settings (#7430)
* add describedby to styledradiogroup description

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

* alias warning in description

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

* lint

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

* update snapshot

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 09:55:09 +01:00
Šimon Brandner e759a85321
Wrap status message (#7325)
* Wrap status message

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Give status a max-height

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-12-28 13:54:54 -07:00
Michael Telatynski 13028d33c2
Move hideSender logic into state so it causes re-render (#7413)
* Move hideSender logic into state so it causes re-render

* change method signature
2021-12-23 16:03:25 +00:00
Michael Telatynski fb74f9a9b4
Move timestamps into message bubbles (#7417) 2021-12-23 15:48:16 +00:00
Michael Telatynski 2430bd7eb4
Fix MessageActionBar alignment in Bubble layout (#7414) 2021-12-23 15:48:00 +00:00
Šimon Brandner 38ba198fea
Fix dialpad positioning (#7446) 2021-12-23 15:02:59 +00:00
Michael Telatynski 5096455f64
Hide non-functional list options on Suggested sublist (#7410) 2021-12-23 12:01:52 +00:00
Michael Telatynski 097c40b577
Disable quick reactions button when no permissions (#7412) 2021-12-23 12:01:40 +00:00
Michael Telatynski a9d1f6e616
Fix width overflow in mini composer overflow menu (#7411) 2021-12-23 12:01:21 +00:00
Michael Telatynski f94bad7f0a
Fix being wrongly sent to Home space when creating/joining/leaving rooms (#7418) 2021-12-23 12:01:14 +00:00
Michael Telatynski a20f3560da
Fix HTML Export where the data-mx-theme is `Light` not `light` (#7415) 2021-12-23 12:01:03 +00:00
Germain fdc6082c83
Make threads events indexed by the index manager (#7442) 2021-12-23 10:12:27 +00:00
Ingrid defbe16448
Trim spurious whitespace of "Explore rooms" menu input (#7431)
* Trim spurious whitespace of "Explore rooms" menu input

Trims the whitespace around the input string in order to
show relevant room suggestions and the "Join" button.

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

Signed-off by: Ingrid Budau inigiri@posteo.jp

* Add safe navigation

Co-authored-by: Travis Ralston <travpc@gmail.com>

Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-12-22 09:16:51 -07:00
Germain cd04799cb4
Hook thread panel to homeserver API (#7352) 2021-12-22 14:08:05 +00:00
Michael Telatynski b4755f38b9
Don't disable username/password fields whilst doing wk-lookup (#7438) 2021-12-22 10:56:39 +00:00