Commit graph

7 commits

Author SHA1 Message Date
Claudio Costa e2cc1cee4b
[MM-51514] Allow Calls widget to open user settings (#3109)
* Allow Calls widget to open user settings

* Bump api-types version

* Bump
2024-07-24 17:56:45 +02:00
Claudio Costa c0e2b2a0e7
[MM-57964] Implement openThread and openStopRecordingModal (#3073)
* Implement API to open thread from Calls widget

* Stop recording modal

* Rename
2024-06-20 18:42:21 +02:00
Devin Binnie 1eda09ae25
[MM-57348] Change result to status as a better descriptor of the notification status (#3005) 2024-04-12 09:06:33 -04:00
Devin Binnie e1c957e774
Various QoL fixes for Desktop App (#2999)
* Some ESLint fixes

* Add login/logout signal to API, clear mentions on logout and flush cookies on login/logout

* Fix issue where local and HTTP-only servers would not validate correctly

* Reduce noise of renderer logging, adjust a few local renderer logs to be louder when needed

* Fallback to beginning of hostname for servers that don't change the site name

* Fix Save Image crash

* Update the name for insecure servers too

* Fix test

* Fix lint

* Reduce repetition
2024-04-08 09:12:35 -04:00
Devin Binnie e7cf7a81e9
[MM-57348] Support notification metrics from the Desktop App client (#2998)
* [MM-57348] Support notification metrics from the Desktop App client

* Add timeout in case promise never resolves
2024-04-05 10:35:12 -04:00
Claudio Costa 1613eb17bc
[MM-55503] Update Calls Desktop API (#2937)
* Update Calls Desktop API

* Update tests

* Handle Calls links internally

---------

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2024-01-24 10:54:19 -05:00
Devin Binnie 0cab09b7f5
[MM-55152] Add new Desktop API endpoints, improve preload script, some clean-up (#2900)
* Add constants for app info, add to API

* Migrate history button

* Converted calls API over to context bridge, removed some unnecessary logging

* Convert to TS, add types for web app to consume

* Fix tests, prune

* Fix lint

* More changes to support the legacy API

* Force legacy code off, add support for unreads/mentions/expired through the API

* Fix issues with cross-tab login, removed need for log in/log out signalling

* Fixed test, typos

* Change package name for types

* Add some other stuff to the types

* PR feedback

* More feedback

* Use npm package

* Change types and API to provide off listeners

* Version number

* Lock

* Fix typo

* Add sessionID for calls
2023-12-13 09:39:46 -05:00