Commit graph

9 commits

Author SHA1 Message Date
Devin Binnie 24a665171f
Bump api-types and publish (#3075) 2024-06-20 12:46:53 -04: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
Devin Binnie 9b36c25e4e
[MM-52696] Upgrade and clean up Desktop App dev dependencies (#2970)
* Upgrade to ESLint v8

* Upgrade TypeScript, api-types, react-intl

* Remove unnecessary dependencies

* Update to React 17.0.2

* npm audit fixes, remove storybook

* Lock some packages

* Remove nan patch

* Remove some deprecated dependencies

* Fix lint/type/tests

* Merge'd

* Fix bad use of spawn

* Fix notarize

* Fix afterpack, switch to tsc es2020

* Fix api types

* Use @mattermost/eslint-plugin
2024-03-07 15:55:33 -05:00
Devin Binnie 00bbe9e136
Update @mattermost/desktop to v5.7.0-3 (#2949) 2024-01-24 11:00:13 -05: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