element-web/test/components/views
David Baker dcf7643d4a
Fix closing all modals (#12728)
* Fix closing all modals

We used `Modal.closeCurrentModal()` in a bunch of places, in all cases
(as far as I can see: it wasn't commented) we meant to close all open
modals. This swaps that function for one that closes all open modals.

Also types the close reason which claimed to be something in a comment,
of course, was wrong because a load of places passed their own random
string which was never used.

* Force close modals

* Try with minimal changes

* Already had a method for this

* Add test

* More tests

* Unused importsd
2024-07-05 13:39:13 +00:00
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Tooltip: migrate remaining tooltips from AccessibleTooltipButton to AccessibleButton (#12522) 2024-05-17 14:11:07 +00:00
avatars Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beacon Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
dialogs Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
elements Tooltip: close field tooltip when ESC is pressed (#12553) 2024-05-28 12:55:47 +00:00
emojipicker Fix roving tab index crash compareDocumentPosition (#12594) 2024-06-11 09:11:52 +00:00
location Minor tweaks to UserSettings dialog (#12651) 2024-06-20 09:29:38 +00:00
messages Add more test for ReactionsRowButton.tsx 2024-05-22 16:24:09 +02:00
polls/pollHistory Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
right_panel Update @vector-im/compound-web (#12675) 2024-06-24 12:51:10 +00:00
room_settings Change avatarsetting componment to use a menu (#12585) 2024-06-07 13:25:21 +00:00
rooms Extract SearchScope and SearchInfo into Searching (#12698) 2024-06-26 10:59:04 +00:00
settings New layout selector ui in user settings (#12676) 2024-07-05 07:30:31 +00:00
spaces New theme ui in user settings (#12576) 2024-06-26 15:47:01 +00:00
toasts Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Tooltip: improve accessibility for call and voice messages (#12489) 2024-05-07 10:20:52 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00