Glue42 Enterprise is now io.Connect Desktop! The new documentation site for all interop.io products is located at docs.interop.io.

Changelog

Glue42 Desktop

Release date: 26.07.2022

Components Version
Electron 19.0.7
Chromium 102.0.5005.134
Node.js 16.14.2

New Features

Workspaces

Shortcuts

Added Workspace shortcuts that can be registered programmatically using the registerShortcut() method of the Workspaces Frame object. There are also some default shortcuts available to the user. Workspace shortcuts allow the users to control the Workspaces only through the keyboard.

The following shows the user going through all open Workspace tabs in a sequential order using the CTRL + TAB shortcut:

Workspace Shortcut

Multiple Workspaces Apps

It's now possible to use multiple Workspaces Apps when you need different design or functional solutions for your business use-cases. Created and saved Workspaces will be restored by the Workspaces App with which they are associated. This is also valid when saving and restoring a Global Layout which contains one or more Workspaces. Using configuration, you can specify which of the available Workspaces Apps will be the default one. The default Workspaces App will handle Workspaces that aren't associated with any Workspaces App, and also the case when the specified Workspaces App isn't available.

You can target a Workspaces App programmatically when creating or restoring a Workspace and when opening an empty Frame.

Frameless Windows

Frameless windows now support showing flydown and popup windows and can also be used as flydown or popup windows.

JavaScript Cookies API

Added a new JavaScript API for manipulating cookies. The Cookies API enables your app to retrieve, filter, set and remove cookies at runtime.

Setting a cookie:

const cookie = {
    url: "https://example.com",
    name: "MyCookie",
    value: "42"
};

await glue.cookies.set(cookie);

JavaScript APIs

Window Events

Added an onNavigating() method to the GDWindow instance that allows handling the event when the web app is about to navigate to a new address.

const navigationHandler = (info) => {
    console.log(`Navigating to: ${info.newUrl}`);
};

myWindow.onNavigating(navigationHandler);

Window Operations

Added a getChannel() method to the GDWindow instance that allows retrieving the name of the current Channel.

const channelName = await myWindow.getChannel();

if (channelName) {
    // Use the Channels API to manipulate the Channel context.
};

Notifications

Added a configure() method that can be used to enable or disable notification toasts or completely turn off notifications.

const config = { enable: false };

await glue.notifications.configure(config);

SSO Windows

It's now possible to define your SSO app in a standard Glue42 configuration file, gaining more control over the login screen.

Improvements and Bug Fixes

  • Upgraded to Electron 19 (Chromium 102).

  • Minor improvements and bugfixes.