Skip to content

[FIX] Omnichannel managers can't join chats in progress#24553

Merged
murtaza98 merged 5 commits intodevelopfrom
omnichannel/fix-chats-cant-be-taken
Feb 21, 2022
Merged

[FIX] Omnichannel managers can't join chats in progress#24553
murtaza98 merged 5 commits intodevelopfrom
omnichannel/fix-chats-cant-be-taken

Conversation

@renatobecker
Copy link
Copy Markdown
Contributor

@renatobecker renatobecker commented Feb 21, 2022

Proposed changes (including videos or screenshots)

Issue(s)

Monitor|Manager can't join the actual chat by pressing the "Take It" button.

recordedVideo.mp4

Steps to test or reproduce

  1. Click on Omnichannel
  2. Click on Current Chats
  3. Choose one chat that already has an agent
  4. Type the message on the input field to send a message but sometimes a "Take it" button is displayed and can't send any message

Expected Behavior:

Be able to join the chat either taking it or joining it.

Actual Behavior:

A warning says "Not permitted" after clicking the button

Further comments

In order to fix the issue reactivity improvements have been added, also a new UI for chats already in progress:

Screen Shot 2022-02-21 at 2 06 58 AM

In case managers/monitors need to join a chat in progress taken by another agent, they will see a Join button. This new UX will not just add the user to the room but also check specific rules before joining, such as Max. number of simultaneous chats in progress.

@renatobecker renatobecker added this to the 4.5.0 milestone Feb 21, 2022
murtaza98 pushed a commit that referenced this pull request Feb 21, 2022
@murtaza98
Copy link
Copy Markdown
Contributor

murtaza98 commented Feb 21, 2022

Hi @renatobecker Thanks for this fix 🙌 I added some of my suggestions within this PR #24557 . It's mainly for converting the meteor method to API.

Apart from these minor suggestions, this PR looks perfect to me!!

murtaza98 and others added 2 commits February 21, 2022 09:47
* Chore: Suggestions on PR #24553

* Return standard success response from new room.joinapi
Copy link
Copy Markdown
Contributor

@murtaza98 murtaza98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@murtaza98 murtaza98 merged commit d3a595f into develop Feb 21, 2022
@murtaza98 murtaza98 deleted the omnichannel/fix-chats-cant-be-taken branch February 21, 2022 14:04
@pierre-lehnen-rc pierre-lehnen-rc mentioned this pull request Mar 1, 2022
KevLehman pushed a commit that referenced this pull request Apr 12, 2022
sampaiodiego pushed a commit that referenced this pull request Apr 12, 2022
@sampaiodiego sampaiodiego mentioned this pull request Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants