More customisable email notifications

Two years ago, we announced Themes v2, an incredibly flexible way to completely customise the markup and styling of many parts of the TalkJS user interface. Today, we're bringing that same power to *email notifications*.

Just like UI themes, you can create and edit email themes within the theme editor of the TalkJS dashboard, using the same template language to define the markup and styling. For more information, check out our documentation


Live Preview in the theme editor

You can now see a preview of changes to your theme, right as you're editing it!

You can even use a specific conversation or user to use when loading the preview.

React Native SDK 

  • You can now register your own notification handlers, so you can run your own logic when the user presses a notification, and send the new push registration token to your backend when it is refreshed.
  • The Chatbox and ConversationList components now accept a loadingComponent prop, for a component to be rendered while content is loading.
  • (BREAKING CHANGE): Added @react-native-async-storage/async-storage as a peer dependency. If you don't already depend on the package be sure install it by running: npm install @react-native-async-storage/async-storage or yarn add @react-native-async-storage/async-storage depending on your package manager

Fixes

  • Fix bug in sendMessage where a message would get sent multiple times in certain scenarios.
  • Fix bug with captureKeyboardEvents prop in Chatbox not working.
  • Fix slow scrolling performance on the UI for Android devices.
  • Fix bug when handling active notifications.

Flutter SDK 

In our Flutter SDK, we've fixed several issues related to recording voice messages and uploading files. Upgrading to this version does require some small updates to your Podfile for IOS apps, and your Androidmanifest.xml for Android apps. Check out our Flutter SDK Changelog for more info.

Other improvements and fixes

As we announced in our previous changelog entry, you can now edit conversation details directly from the activity view of your TalkJS dashboard. We've been hard at work making this even easier to use.

  • You can now delete a conversation right from its page in the activity section of the dashboard as well.
  • We've added support for several new filters to the TalkJS template language:
    • at_least and at_most let you make sure that a number is at least or at most a certain value.
    • remove_last and replace_last let you remove or replace the last occurrence of a some text.
    • where lets you filter an array of objects based on a single property.
  • Fixed an issue where the reply bar's text and icon colour didn't match the theme.
  • Fixed an issue where email addresses containing numbers would not be turned into links.
  • When the message field layout is set to "tall" in a theme, the send button now shows the send icon instead of the word "send".
  • Fixed an issue in our JSSDK, where calling setPresence({visible: false}) before a widget is mounted wouldn't work.
  • Fixed an issue where an inbox with a feed filter applied would sometimes load no initial conversation being selected.
  • Fixed an issue where a user's welcome message would sometimes fade out as if it were being deleted, and then reappear higher up, when another message was sent in a conversation.
  • Fixed an issue where sharing a location after recording an audio message, would in some cases crash the UI.
  • Fixed an issue where the JSSDK could throw an error on sides that use a polyfil for Promises.