Macros now displayed by relevance

Happy new year everyone!

The macros are now displayed by relevance instead of usage, the most relevant ones are featured at the top of the list!

It takes into account multiple things, such as the message of the customer, the subject, the channel used or the language of the conversation.

macros_chat.png

For reference, the previous order based on usage frequency:
Screenshot from 2020-01-06 10-54-43.png