1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00
Commit Graph

39621 Commits

Author SHA1 Message Date
fdd0a2ada3 Add permission dropdown for sending reactions (#7492) 2022-01-10 11:35:41 +00:00
f7d19a5746 null-guard dataset mxTheme to prevent html exports from exploding (#7493) 2022-01-10 11:34:56 +00:00
31ab91359a Fix avatar container overlapping give feedback cta (#7491) 2022-01-10 11:34:42 +00:00
474cbf4c09 Fix jump to bottom button working when on a permalink (#7494) 2022-01-10 11:34:27 +00:00
9562deb28c Remove the Description from the location picker (#7485) 2022-01-10 10:07:51 +00:00
fe16f224ea Fix look of the untrusted device dialog (#7487) 2022-01-10 10:02:03 +00:00
9cb8ce7c20 Add zoom buttons to the location view (#7482) 2022-01-10 09:30:24 +00:00
d00483be3e Hide maximise button in the sticker picker (#7488) 2022-01-10 09:02:07 +00:00
33b34d4169 Fix space ordering to match newer spec (#7481) 2022-01-10 08:58:11 +00:00
30aee97b78 Give secret key field an id (#7489) 2022-01-10 08:43:32 +00:00
9501d3b226 Fix typing notification colors (#7490) 2022-01-10 08:42:34 +00:00
cb76358230 Fix right panel soft crashes chat rooms (#7479) 2022-01-07 16:55:21 +01:00
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
309f7bb235 Display a tooltip when you hover over a location (#7472) 2022-01-07 15:11:30 +00:00
707f8cd878 Open map in a dialog when it is clicked (#7465) 2022-01-07 14:54:45 +00:00
59ef2704f0 Give Posthog a correct total count of decryption failures (#7475) 2022-01-07 09:15:33 -05:00
9fd933a0b6 Don't send typing notification when restoring composer draft (#7477) 2022-01-07 11:15:20 +00:00
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
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
42d6ff4195 Fix room joining spinner being incorrect if you change room mid-join (#7473) 2022-01-07 09:23:54 +00:00
a4fda7e25d Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474) 2022-01-06 16:57:49 -05:00
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
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
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
92ee02fe02 unit test Notifications.tsx (#7468)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
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
6f89267a31 Fix quoting messages from the search view (#7466) 2022-01-05 15:59:19 +00:00
76839ec42e Prevent soft crash when sending a thread message (#7467) 2022-01-05 15:16:53 +00:00
325e2ba99b Right panel store refactor (#7313)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 16:14:44 +01:00
8e881336ab Fix regression in space preferences dialog (#7464) 2022-01-05 10:38:30 +00:00
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
ea7ac453bc Fix spotlight cmd-k wrongly expanding left panel (#7463) 2022-01-05 10:07:04 +00:00
6eea416e7e Fix room_id check when adding user widgets (#7448) 2022-01-05 09:54:38 +00:00
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
f4a94f6e7f Add new line in settings label (#7451) 2022-01-04 10:57:29 +01:00
b6c2b5c995 Fix handling incoming redactions in EventIndex (#7443) 2022-01-04 09:39:07 +00:00
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
44d7d74949 Call view accessibility fixes (#7439) 2022-01-04 08:57:46 +00:00
cdbe59900c Fix offscreen canvas breaking with split-brained firefox support (#7440) 2022-01-04 08:57:35 +00:00
8339d5fdee Removed red shield in forwarding preview. (#7447) 2022-01-04 08:53:39 +00:00
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
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
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
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
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
fb74f9a9b4 Move timestamps into message bubbles (#7417) 2021-12-23 15:48:16 +00:00
2430bd7eb4 Fix MessageActionBar alignment in Bubble layout (#7414) 2021-12-23 15:48:00 +00:00
38ba198fea Fix dialpad positioning (#7446) 2021-12-23 15:02:59 +00:00
5096455f64 Hide non-functional list options on Suggested sublist (#7410) 2021-12-23 12:01:52 +00:00
097c40b577 Disable quick reactions button when no permissions (#7412) 2021-12-23 12:01:40 +00:00