Michael Telatynski
792a39a39b
ARIA Accessibility improvements ( #10675 )
...
* Fix confusing tab indexes in EventTilePreview
* Stop using headings inside buttons
* Prefer labelledby and describedby over duplicated aria-labels
* Improve semantics of tables used in settings
* Fix types
* Update tests
* Fix timestamps
2023-04-21 09:48:48 +00:00
Kerry
3fafa4b58d
Port location unit tests from enzyme to react-testing-library ( #10181 )
...
* SmartMarker test to rtl
* LocationPicker to rtl
* LocationViewDialog to rtl
* LocationShareMenu to rtl
* use toBeDisabled assertion
2023-02-20 18:35:39 +00:00
Šimon Brandner
26a74a193f
Add Element Call room settings ( #9347 )
...
Co-authored-by: Robin <robin@robin.town>
2022-10-07 18:10:17 +00:00
Kerry
14cf6275d0
Fix: AccessibleButton does not set disabled attribute (PSF-1055) ( #8682 )
...
* remove old styles for pin drop buttons
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fully disable share location button until location is shared
Signed-off-by: Kerry Archibald <kerrya@element.io>
* set disabled on button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test AccessibleButton disabled
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove disbaled check in LocationPicker
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 07:13:50 +00:00
Travis Ralston
e87bda9f37
Add an option to ignore (block) a user when reporting their events ( #8471 )
...
* Add an option to ignore (block) a user when reporting their events
This is primarily useful if the content being reported really doesn't belong on your screen, and the room moderators are slow to react.
Ideally we'd use the word "block" instead of "ignore", but we call it "ignore user" everywhere else. See https://github.com/vector-im/element-web/issues/19590 for further context on the word choice.
This change includes a minor refactor to the styles of labelled toggles (for reusability).
* Appease the linter
* Use a checkbox instead of toggle in the dialog
* Update classnames handling for toggle switch
* Appease the linter
2022-05-18 16:20:55 +00:00
Kerry
699a9aeaaf
LLS: expose way to enable live sharing labs flag from location dialog ( #8416 )
...
* add state for waiting for labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add enable live share component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test enabling live share labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-28 13:37:20 +02:00
Kerry
b480bffab0
Location share type UI ( #7924 )
...
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io>
* functional picker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* most style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* nice style for options
Signed-off-by: Kerry Archibald <kerrya@element.io>
* get ShareType test passing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint and test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add section to themes for location sharing cols
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add svg mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use same mock string as imageMock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add live location icon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename useEnabledShareTypes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use solid color for live border
* use ternary
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-02 13:00:40 +00:00
Kerry
ac36234068
update snap ( #7932 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 17:26:30 +00:00
Kerry
3f1951b5b8
Prep for pin drop location sharing ( #7919 )
...
* add labs flag feature_location_share_pin_drop
Signed-off-by: Kerry Archibald <kerrya@element.io>
* split LocationButton into two components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rethemendex
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* one more (c)
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use same matrix client import
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 18:00:07 +01:00