Commit Graph

39581 Commits (91743c9a1aec795d01a905fc27c2dd5449723bbb)

Author SHA1 Message Date
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
Michael Telatynski f3776f8944
Prevent keyboard propagation out of context menus (#7437) 2021-12-22 10:53:17 +00:00
Michael Telatynski 7dacaf7d06
Fix spotlight search bad padding (#7436) 2021-12-22 10:05:14 +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
Michael Telatynski 54ca06ad53
Fix invisible toggle space panel button (#7426) 2021-12-21 14:24:06 +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
Renan Cleyson 9ac85bcaa3
Fix list formatting alternating on edit (#7422)
Co-authored-by: Andy Balaam <andyb@element.io>
2021-12-21 10:07: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
Travis Ralston b90a0c443d
Fix end-to-end tests (synapse setup) (#7420)
* Update install.sh

* Update install.sh

* Update develop.yml

* Update install.sh

* Update develop.yml

* Update install.sh

* Update install.sh

* Work around suspected frozendict bug

* Faff around with install-webserver.sh

* Actually I don't think these clash anyway

* Minor cleanup

* Add comments

Co-authored-by: Olivier <olivier@librepush.net>
2021-12-21 02:12:07 +00:00
Germain f87b5ee996
Make entire thread panel tile clickable (#7371) 2021-12-20 13:43:45 -07:00
RiotRobot 2330292c24 Reset back to develop branch 2021-12-20 14:29:05 +00:00
RiotRobot 689ddb2ba7 Resetting package fields for development 2021-12-20 14:22:48 +00:00
RiotRobot d870c16cd1 Merge branch 'master' into develop 2021-12-20 14:22:07 +00:00
RiotRobot 96e16940bb v3.37.0 2021-12-20 14:05:26 +00:00
RiotRobot ef06bcbd3d Prepare changelog for v3.37.0 2021-12-20 14:05:25 +00:00
RiotRobot fa63c939ba Upgrade matrix-js-sdk to 15.3.0 2021-12-20 14:03:15 +00:00
Michael Telatynski 8923da7bf7
[Release] Fix useUserStatusMessage exploding on unknown user (#7419)
https://github.com/matrix-org/matrix-react-sdk/pull/7365 to release
2021-12-20 13:51:48 +00:00
Michael Telatynski d10ac7cfdb
Fix exporting from nightly where the data-mx-theme is `Light` not `light` (#7416) 2021-12-20 11:36:47 +00: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
Michael Telatynski 3dde039831
[Release] Fix inline code block nowrap issue (#7407) 2021-12-17 16:41:23 +00:00
Michael Telatynski 63e69d9fa8
Fix inline code block nowrap issue (#7406) 2021-12-17 16:41:01 +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