Commit Graph

16224 Commits

Author SHA1 Message Date
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
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
Timo f4a94f6e7f Add new line in settings label (#7451) 2022-01-04 10:57:29 +01: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
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
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
Š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
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
Michael Telatynski f3776f8944 Prevent keyboard propagation out of context menus (#7437) 2021-12-22 10:53:17 +00:00
Andy Balaam b412067b24 Fix nulls leaking into geo urls (#7433) 2021-12-21 16:56:28 +00:00
Timo d4bafdcddd Fix zIndex of peristent apps in miniMode (#7429)
Fixes a bug, where the persistent (PiP mode app) is hidden behind another widget in the right panel or a maximised widget.
2021-12-21 17:42:42 +01:00
Andy Balaam a239c456e3 Allow opening a map view in OpenStreetMap (#7428) 2021-12-21 15:48:20 +00:00
Michael Telatynski 38634f86d1 Space panel should watch spaces for space name changes (#7432) 2021-12-21 15:35:54 +00:00
Andy Balaam 70dc03552c Display the user's avatar when they shared their location (#7424) 2021-12-21 15:19:27 +00:00
Michael Telatynski d25d325387 Don't show Testing small changes without UIFeature.Feedback (#7427) 2021-12-21 14:59:59 +00:00
Andy Balaam de881d2321 Remove the Forward and Share buttons for location messages only (#7423) 2021-12-21 12:57:56 +00:00
Michael Telatynski d6af7294e4 Fix legacy breadcrumbs wrongly showing up (#7425) 2021-12-21 12:27:44 +00:00
Andy Balaam 8b2a478a25 Update location text fallback and test it (#7408) 2021-12-21 09:37:06 +00:00
Kerry 61e3c38b19 Add configuration to disable relative date markers in timeline (#7405)
* add disabler elative dates setting

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

* test existing DateSeparator

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

* use full date format when TimelineDisableRelativeDates is truthy

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

* add comment

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

* flip timelineDisableRelativeDates -> timelineEnableRelativeDates to fit convention

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

* mock date constructor in test

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-21 10:08:22 +01:00
Germain f87b5ee996 Make entire thread panel tile clickable (#7371) 2021-12-20 13:43:45 -07:00
Eric Eastwood 9289c0c90f Refactor ContextMenu to use RovingTabIndex (more consistent keyboard navigation accessibility) (#7353)
Split off from https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-17 11:08:56 -06:00
Michael Telatynski 6761ef9540 Space Panel use SettingsStore instead of SpaceStore as source of truth (#7404) 2021-12-17 16:41:39 +00:00
Andy Balaam 670d7824ec Tidy location code (#7402) 2021-12-17 12:26:02 +00:00
Michael Telatynski fb494a5098 Fix notification badge for All Rooms space (#7401) 2021-12-17 11:02:06 +00:00
Andy Balaam bd226cd062 Tests for getGeoUri (#7400)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-17 10:58:24 +00:00
Michael Telatynski f389324571 Show error if could not load space hierarchy (#7399) 2021-12-17 10:36:52 +00:00
Andy Balaam 144e4c61fc Avoid NaNs in parseGeoUri return (#7396) 2021-12-17 09:50:27 +00:00
Michael Telatynski 818465a4d6 Increase gap between ELS and the subsequent event to prevent overlap (#7391) 2021-12-17 09:28:10 +00:00
Michael Telatynski 39c4b78371 Space preferences for whether or not you see DMs in a Space (#7250) 2021-12-17 09:26:32 +00:00
Michael Telatynski 5ee356daaa Fix list of members in space preview (#7356) 2021-12-17 08:53:26 +00:00
Michael Telatynski 314475985c Fix bubble radius wrong when followed by a state event from same user (#7393) 2021-12-16 18:35:28 +00:00
Andy Balaam 9a8265429c Unit tests for parseGeoUri (#7395) 2021-12-16 14:20:55 +00:00
Michael Telatynski a968b4ce53 Improve typing around LoggedInView (#7384)
* Update SyncState imports

* Improve typing around LoggedInView

* Fix typing
2021-12-16 09:57:10 +00:00
Will Hunt b952fef195 Don't include the accuracy parameter in location events if accuracy could not be determined. (#7375)
* Don't include accuracy on geouri if not defined

* Use !== undefined

* Add a )
2021-12-15 21:06:40 +00:00
Michael Telatynski 11aa6c7435 Don't show a message bubble around polls (#7374)
* Don't show a message bubble around polls

* Update res/css/views/rooms/_EventBubbleTile.scss
2021-12-15 19:47:57 +00:00
Timo d31aa12156 Fix MaxListenersExceededWarning (#7389) 2021-12-15 18:06:37 +01:00
Andy Balaam 1c6a7646fa Use UnstableValue for all location constants (#7388) 2021-12-15 16:54:11 +00:00
Andy Balaam fc58ce7ed2 Use the moved makePollContent function from js-sdk (#7387) 2021-12-15 16:54:01 +00:00
Michael Telatynski 71b561d471 Make compact layout only apply to Modern layout (#7382) 2021-12-15 16:27:02 +00:00