element-web/src/toasts
Šimon Brandner cbb34d8ac7
Make CallHandler more EventEmittery (#6704)
* sharedInstance() -> instance

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use CallState event instead of dispatching

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie some code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method to start a call instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method instead of place_conference_call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make terminateCallApp() and hangupCallApp() public

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupAllCalls() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use answerCall() instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupOrReject() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update docs

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add missing import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
..
AnalyticsToast.tsx Update styling of the Analytics toast to try and decrease number of users blindly pressing No 2020-11-09 14:21:45 +00:00
BulkUnverifiedSessionsToast.ts Improve device list in Security & Privacy settings (#7004) 2021-10-29 18:11:39 -04:00
DesktopNotificationsToast.ts Update copy on some toasts 2020-11-02 17:25:56 +00:00
IncomingCallToast.tsx Make CallHandler more EventEmittery (#6704) 2021-11-30 18:09:13 +00:00
MobileGuideToast.ts Tweak mobile guide toast copy 2021-01-29 15:30:13 +00:00
ServerLimitToast.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
SetupEncryptionToast.ts Fourth batch of burning 2021-07-02 18:15:05 +02:00
UnverifiedSessionToast.ts More specific type definition and adhering to code style better 2021-06-18 12:44:15 +01:00
UpdateToast.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00