Richard van der Hoff
f25fbdebc7
Modal: remove support for onFinished callback ( #29852 )
...
* Fix up type for `finished` result of Modal
The `finished` promise can be called with an empty array, for example if the
dialog is closed by a background click. This was not correctly represented in
the typing. Fix that, and add some documentation while we're at it.
* Type fixes to onFinished callbacks from Modal
These can all be called with zero arguments, despite what the type annotations
may say, so mark them accordingly.
* Remove uses of Modal `onFinished` property
... because it is confusing.
Instead, use the `finished` promise returned by `createDialog`.
* Modal: remove support for now-unused `onFinished` prop
* StopGapWidgetDriver: use `await` instead of promise chaining
* Fix up unit tests
2025-04-30 16:56:21 +01:00
..
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-03-04 10:41:16 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-03-27 10:43:58 +00:00
2025-02-05 13:25:06 +00:00
2025-03-04 15:01:20 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-03-21 11:34:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-10 09:58:07 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-04-30 16:56:21 +01:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-14 16:44:34 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-04-08 12:40:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-04-11 13:32:41 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-04-30 16:56:21 +01:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-03-24 14:38:34 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-03-27 10:43:58 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-04 13:41:34 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-04-09 19:03:09 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-03-24 16:43:53 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-04-30 16:56:21 +01:00
2025-01-14 12:01:19 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00