Changelog
Changes to the widget SDK at cdn.irisdesk.app/v1. Version 1 gets only changes that keep your code working.
1.3.1
Patch changes
-
Iris.init,Iris.updateandIris.setPageContextcheck their options with the same schemas that the docs show. A bad option is still dropped with one warning, and the other options still apply. Aprimarycolour longer than 100 characters is now dropped too.Every console warning now says what happened and how to fix it, and links to its entry on https://docs.irisdesk.app/troubleshooting. Failed requests log a warning with a link too, in place of a raw error.
1.3.0
Minor changes
-
The widget is bigger and sits like the Intercom Messenger: on screens 480px and wider the panel is 400px wide and fills the screen height up to 704px, the launcher is 48px and 20px from the corner, and the launcher stays on top of the open panel.
Iris.inittakeshorizontalPaddingandverticalPadding(integers 20–200, px) to move the launcher and the panel away from the side and the bottom of the page; they win over the widget settings and phones ignore them.Iris.update({ launcher })shows or hides the launcher at runtime.
1.2.0
Minor changes
Iris.identifynow takes{ token }: an identity token that your server signs with the identity secret. The{ id, hash }form is gone.
1.1.0
Minor changes
- A contact can attach one file to a message and download files from the team. The attach button sits inside the message box, and pasting a file attaches it too. Images and videos show a preview in the message. The button shows only when the workspace allows files.
1.0.0
Major changes
- First release on
cdn.irisdesk.app: the method API (Iris.init,identify,logout,on,open,close,setPageContext), the workspace logo in the header, and no email capture card.