riot-web/test/test-utils
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.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
beacon.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
call.ts Element Call: fix widget shown while its still loading (`waitForIframeLoad=false`) (#12292) 2024-03-12 16:55:01 +00:00
client.ts Disable profile controls if the HS doesn't allow them to be set (#12652) 2024-07-02 10:04:07 +00:00
composer.ts Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
console.ts
date.ts Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
events.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
index.ts
location.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
oidc.ts MSC4108 support OIDC QR code login (#12370) 2024-06-06 09:57:28 +01:00
platform.ts Improve client metadata used for OIDC dynamic registration (#12257) 2024-02-16 14:43:58 +00:00
poll.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
pushRules.ts Stabilize support for MSC3952: intentional mentions (#10967) 2023-07-11 22:29:54 +00:00
relations.ts Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
room.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
test-utils.ts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
threads.ts Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk (#11903) 2023-11-29 13:36:52 +00:00
utilities.ts Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
wrappers.tsx Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00