This is a larger PR that adds an API for happs to call, specifically at the moment in order to send notifications (OS, systray and to the admin UI).
Relevant changes:
adds an npm package to be used by happs to make calls to the launcher
adds an api-scripts package containing js code that injects the API into the happ window's window object (thus providing a decoupling layer between the tauri API and the launcher API)
makes sure that happ windows are (and remain) opened in the backround on startup of the launcher such that UIs are able to send notifications
Adds affordances to add the option to have different notification settings per happ
displays notifications as OS notifications, as dots in the systray icon and in the Launcher view, depending on the urgency level of the notification
This is a larger PR that adds an API for happs to call, specifically at the moment in order to send notifications (OS, systray and to the admin UI).
Relevant changes: