Demo which demonstrates the new web customization options of the Glue42 groups
- Glue42 Desktop 3.15+
- Node.js 14+
The demo consists of two react application which communicate with each other through Shared contexts the State app sets a flag whether an overlay or a banner should be shown for an application which is running and the group-app reacts to those context changes.
- Run
npm installin both thebanner-state-appand thegroup-app - Run
npm startin thegroup-app- this will start a development server on localhost:3000 - Run
npm startin thebanner-state-app- this will start a development server on localhost:3001 - To configure Glue42 Desktop to use the
group-appyou can go to the webGroup.json file which is located in%Glue42 installation folder%\GlueDesktop\config\apps - In there you should add a
urlproperty in the details object with the value"http://localhost:3000"and ensure that the app is not disabled (doesn't have a flagdisable:true) - Then in the
appsfolder you should copy and paste thestate-app.jsonconfig file from thebanner-state-app - Start Glue42 Desktop
- The
State appshould appear in the application toolbar - Then you can start for example
Client Listand click on the banner button in theState appa banner in theClient Listshould appear