Skip to content

Insert Chatbot Script For Gig Pages #4916

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

Closed
hokienick opened this issue Sep 14, 2020 · 12 comments
Closed

Insert Chatbot Script For Gig Pages #4916

hokienick opened this issue Sep 14, 2020 · 12 comments
Assignees
Labels
Gig Work QA Pass in PROD Passed verification on Production
Milestone

Comments

@hokienick
Copy link

hokienick commented Sep 14, 2020

Please add this script for a chatbot feature on Gig pages only:

<script type="text/javascript">
    window._chatlio = window._chatlio||[];
    !function(){ var t=document.getElementById("chatlio-widget-embed");if(t&&window.ChatlioReact&&_chatlio.init)return void _chatlio.init(t,ChatlioReact);for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline", "page", "open", "showOrHide"],a=0;a<i.length;a++)_chatlio[i[a]]||(_chatlio[i[a]]=e(i[a]));var n=document.createElement("script"),c=document.getElementsByTagName("script")[0];n.id="chatlio-widget-embed",n.src="https://w.chatlio.com/w.chatlio-widget.js",n.async=!0,n.setAttribute("data-embed-version","2.3");
       n.setAttribute('data-widget-id','f6584d97-111b-4fd0-635d-c8afb3fb55bd');
       c.parentNode.insertBefore(n,c);
    }();
</script>
@kkartunov kkartunov modified the milestones: By 9/24/2020, By 9/17/2020 Sep 15, 2020
@kkartunov kkartunov added the Need clarification Need clarification to proceed fixing the issue further label Sep 16, 2020
@kkartunov
Copy link
Collaborator

@hokienick chatbot window/button overlaps support window/button
Screenshot from 2020-09-16 08-23-43

@kkartunov kkartunov modified the milestones: By 9/17/2020, By 9/24/2020 Sep 16, 2020
kkartunov added a commit that referenced this issue Sep 23, 2020
@kkartunov kkartunov added Ready for QA and removed Need clarification Need clarification to proceed fixing the issue further labels Sep 23, 2020
@Oanh-and-only-Oanh Oanh-and-only-Oanh modified the milestones: By 9/24/2020, Release by 10/1/2020 Sep 23, 2020
luizrrodrigues added a commit that referenced this issue Sep 24, 2020
@SathyaJayabal
Copy link
Collaborator

@kkartunov ,

  1. When we access the gigs pages, the chatbox button is displayed. When we navigate to other pages the chatbox button is still present. It goes away only on refreshing the page.
    Expected behaviour: chatbox button must not be displayed when the suer navigates to other pages.

Screenshot 2020-09-24 at 10 32 34 AM

  1. When we send a message using the chatbox, we see the below message. On closing the chatbox and opening it again, we still see the below message and the user is not able to send another message. Refreshing the page refreshes the chatbox and the user is able to send the message again. Is this the expected bahaviour?

Screenshot 2020-09-24 at 10 33 12 AM

@SathyaJayabal SathyaJayabal added Need clarification Need clarification to proceed fixing the issue further and removed Ready for QA labels Sep 24, 2020
@ajefts
Copy link
Member

ajefts commented Sep 24, 2020

If you can get it installed in an environment again where we can test, we can try some of the chatlio settings to modify the behavior. For example, this:

image

@SathyaJayabal
Copy link
Collaborator

@ajefts @kkartunov , deployed in qa env now.
https://qa-community-app.topcoder-dev.com/gigs

@SathyaJayabal
Copy link
Collaborator

@kkartunov @ajefts , please see attached video.
Chatbox is only displayed when we go the gigs pages. But when we navigate to other pages after visiting the gigs pages, the chatbox is still displayed.
Expected behaviour : chatbox must be not be displayed when you navigate away from the gigs pages.
chatbox.mov.zip

@Oanh-and-only-Oanh
Copy link

@kkartunov, what is needed on this one to move forward?

@hokienick
Copy link
Author

@Oanh-and-only-Oanh I think we are good for this one according to Tony. They can control which pages it shows up on now.

@Oanh-and-only-Oanh
Copy link

can I close the ticket?

@luizrrodrigues
Copy link
Collaborator

@Oanh-and-only-Oanh This one not in prod yet.

@luizrrodrigues luizrrodrigues added Merged for QA and removed Need clarification Need clarification to proceed fixing the issue further labels Sep 30, 2020
@SathyaJayabal
Copy link
Collaborator

SathyaJayabal commented Oct 1, 2020

@hokienick, @Oanh-and-only-Oanh,
I am marking this as qa pass. Here are my observations:

  1. Chatbox still present when user navigates away from he gigs pages.
  2. New Message indicator does not go away even after user opens the chatbox and sees the message. The indicator is still present even after replying to the message or refreshing the page.

Screenshot 2020-10-01 at 8 58 05 AM

@SathyaJayabal SathyaJayabal modified the milestones: Release by 10/1/2020, v1.2.4 Oct 1, 2020
@SathyaJayabal
Copy link
Collaborator

verified on staging (develop)
Screenshot 2020-10-01 at 12 46 38 PM
Screenshot 2020-10-01 at 12 46 54 PM

@SathyaJayabal SathyaJayabal added QA Pass in PROD Passed verification on Production and removed QA Pass in Staging labels Oct 1, 2020
@SathyaJayabal
Copy link
Collaborator

verified on prod
Screenshot 2020-10-01 at 7 42 55 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gig Work QA Pass in PROD Passed verification on Production
Projects
None yet
Development

No branches or pull requests

6 participants