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

Hmrc webchat availability scenario update #1630

Merged
merged 5 commits into from
Jan 23, 2020

Conversation

RobBond-GDS
Copy link
Contributor

@RobBond-GDS RobBond-GDS commented Jan 23, 2020

Updated display logic for messages in accordance with availability responses shown below.

Inside hours of operation, no agents logged in
{"inHOP":"true","status":"offline","availability":"false"} = UNAVAILABLE = Webchat is closed at the moment.

Outside hours of operation
{"inHOP":"false","status":"offline","availability":"false"} = UNAVAILABLE = Webchat is closed at the moment.

Inside hours of operation, agents logged in and chat ready immediately
{"inHOP":"true","status":"online","availability":"true"} = AVAILABLE = Advisers are available to chat.

Inside hours of operation, agents logged in and there is a space in the queue
{"inHOP":"true","status":"busy","availability":"true"} = AVAILABLE = Advisers are available to chat.

Inside hours of operation, agents logged in and there is no longer any spaces in the queue
{"inHOP":"true","status":"busy","availability":"false"} = BUSY = All webchat advisers are busy at the moment.

Added additional parameter to availability url to cater for Nuance queue Depths

Visual regression results:
https://government-frontend-pr-1630.surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-1630.herokuapp.com/component-guide

@RobBond-GDS RobBond-GDS requested a review from alex-ju January 23, 2020 10:48
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-xv5ady January 23, 2020 10:49 Inactive
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-xv5ady January 23, 2020 11:31 Inactive
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-xv5ady January 23, 2020 11:33 Inactive
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-xv5ady January 23, 2020 11:44 Inactive
Copy link
Contributor

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

I think I managed to follow the logic on this. Would you mind merging/squashing these commits before merging?

@RobBond-GDS RobBond-GDS merged commit 31be1de into master Jan 23, 2020
@RobBond-GDS RobBond-GDS deleted the HMRC-webchat-availability-scenario-update branch January 23, 2020 12:17
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.

3 participants