Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master im livechat show no operator msg pka #41457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pka-odoo
Copy link
Contributor

@pka-odoo pka-odoo commented Dec 6, 2019

purpose of this commit is to show a message that 'no operator is available' if a
live chat operator disconnects while a visitor accesses the website.

Before this commit:
it shows an alert message only when a visitor opens the chat window the first
time.
But when operator disconnects while a visitor accesses the website then a
visitor don't get any message.

After this commit:
when live chat operator disconnects (internet access issue or offline), then
a visitor will be notified by the message 'No operators are available' in the
chat window.

Task:
https://www.odoo.com/web#id=1935830&action=327&model=project.task&view_type=form&menu_id=4720

Pad:
https://pad.odoo.com/p/r.fb41be5ff313449ec89f357841b60368

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses seen 🙂 labels Dec 6, 2019
@pka-odoo pka-odoo force-pushed the master-im_livechat-show-no-operator-msg-pka branch from f76adb0 to 1f65bcf Compare December 6, 2019 09:49
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Dec 6, 2019
@C3POdoo C3POdoo added the RD research & development, internal work label Dec 6, 2019
purpose of this commit is to show a message that 'no operator is available' if a
live chat operator disconnects while a visitor accesses the website.

-So, update im_status in live chat and send it while visitor typing anything and
if this status is different than the current status of the operator,
then and only visitor will be notified with the latest status.

Before this commit:
it shows an alert message only when a visitor opens the chat window first
time.
But when an operator gets offline while a visitor accesses the website then a
visitor don't get any message.

After this commit:
when live chat operator disconnects (internet access issue or offline), then
a visitor will be notified by the message 'No operators are available' in the
chat window and once the operator comes back, the notification message will be
removed.

task-1935830
@pka-odoo pka-odoo force-pushed the master-im_livechat-show-no-operator-msg-pka branch from 1f65bcf to 0d0dda6 Compare December 6, 2019 10:02
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants