Cloudkibo / KiboPush

0 stars 1 forks source link

Click on a message notification is not redirecting to the specific chat session on web. #9843

Closed Faizan20 closed 4 years ago

Faizan20 commented 4 years ago

Describe the bug For each new messages sent to connected pages. We recieves the notification of it but when we click that notification it does not open that specific chat session of that message. Its just redirecting me to livechat.

To Reproduce Steps to reproduce the behavior:

  1. Go to Livechat
  2. send message from messenger to the connected page
  3. see notification will appear
  4. Now click on the notification i will redirect to livechat but will not open the specific chat session

Expected behavior it should open the specific chat session of the message Front End or Backend End issue? FrontEnd

How was the issue found the automated test or manual test? Manual testing

When was this issues last working? New issue

Screenshots Screenshot from 2020-09-15 14-40-16

Screenshot from 2020-09-15 15-15-17

Paper Trail logs None Browser logs None Sentry Links and Screenshots None

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Faizan20 commented 4 years ago

I have added this use case in the test plan https://docs.google.com/spreadsheets/d/1lJ-dZOSxjuLS7MJJBFrWcZkkjVvpIGWV3MwWss0UT5E/edit#gid=1508891791

Row 1575

saniasiddiqui commented 4 years ago

The task is in progress.

bjafri5 commented 4 years ago

Tested on staging. This is working fine on all pages except for live chat

@saniasiddiqui

saniasiddiqui commented 4 years ago

What is the root cause? This was happening because word to redirect to specific chat session was not done.

Was this ever working? It was like this from beginning

What broke this code?

Is this part covered in the test plan? yes (updated in test plan)

What was the fix ? Every notification has the session id in payload. When someone clicks on they are redirected to relevant livechat(whatsapp/sms/messenger) and specific session is opened using the chat session id in payload.

@arveenkumar55 please test on staging

bjafri5 commented 4 years ago

Tested on staging

bjafri5 commented 4 years ago

Tested on production