RocketChat / RocketChat/Rocket.Chat
can't set livechat offlineSuccessMessage
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
I can't set a string for offlineSuccessMessage neither by admin backend nor RocketChat(function()
Steps to reproduce:
I'm setting a language (german) for the Livechat Widget API
and set the offlineSuccessMessage with:
RocketChat(function() {
this.setLanguage('de');
this.setTheme({
offlineSuccessMessage: 'Ihre Nachricht wurde versendet',
});
Expected behavior:
The language changes fine, but he offlineSuccessMessage is still default, english.
Actual behavior:
In the admin backend is a field, where you are able to set another text for the offlineSuccessMessage
that doesn't work.
That's why I also tried to insert
this.setTheme({
offlineSuccessMessage: 'Ihre Nachricht wurde versendet',
});
Server Setup Information:
- Version of Rocket.Chat Server: 3.12.0
- Operating System: Ubuntu
- Deployment Method: self ssh
- Number of Running Instances: 1
- NodeJS Version: v12.20.0
- MongoDB Version: 4.0.19 / mmapv1 (oplog Aktiviert)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Livechat Widget API language and theme entry points, then reproduce the issue using the RocketChat(function) calls shown in the report and the admin backend setting. Done means offlineSuccessMessage uses the configured German text instead of the default English message in both configuration paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100