Description
I am working on customizing the omnichannel chat to have some additional flare and minor automations for the user that writes in it.
That involves adding 2 js files and 1 css file to the omnichannel chat page (domain/livechat
)
For that, it appears like I have to make a custom theme: Custom Themes | Rocket.Chat Developer
To make a custom theme, I need to make a meteor package.
To add a javascript file, I need to set it up using the elements in the code block of Package.onUse(function(api) {
The page also tells how to add stylesheets.
However, I’m stuck about what to do to add a js file for that specific chat page of omnichannel.
And finally, I think I’m missing the part on how to add the theme I have just done (I don’t mind adding a bind mount to outside the container to add the directory or file).
Thank you in advance
Server Setup Information
- Version of Rocket.Chat Server: 6.6.8
- Operating System: linux
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: N/A
- NodeJS Version: I don’t know
- MongoDB Version: N/A
- Proxy: N/A
- Firewalls involved: No