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 update to JSON availability reqest #1642

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

RobBond-GDS
Copy link
Contributor

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

Updated the default availability request to be in JSON as opposed to JSONP.

Need to check on integration as this environment has been "whitelisted" to allow requests to the Nuance server.

Note: Local Dev environments using port numbers have not been included


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

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

@RobBond-GDS RobBond-GDS requested a review from DilwoarH January 30, 2020 13:00
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 13:20 Inactive
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 13:26 Inactive
@@ -40,7 +40,7 @@
<% if @content_item.try(:back_link) %>
<%= render 'govuk_publishing_components/components/back_link', href: @content_item.back_link %>
<% else %>
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_item.content_item.parsed_content %>
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_item.content_item.parsed_content%>
Copy link
Contributor

Choose a reason for hiding this comment

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

could we remove this change from the commit history

@DilwoarH
Copy link
Contributor

Looks okay but we need to squash the commit history

@RobBond-GDS RobBond-GDS force-pushed the HMRC-webchat-JSONP-investigation branch from 25d7792 to 68a6da3 Compare January 30, 2020 13:39
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 13:39 Inactive
@RobBond-GDS RobBond-GDS force-pushed the HMRC-webchat-JSONP-investigation branch from 68a6da3 to 16d0c73 Compare January 30, 2020 13:41
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 13:41 Inactive
@RobBond-GDS RobBond-GDS force-pushed the HMRC-webchat-JSONP-investigation branch from 16d0c73 to 78e6fd8 Compare January 30, 2020 13:47
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 13:47 Inactive
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 30, 2020 14:06 Inactive
@DilwoarH
Copy link
Contributor

If you squash the commits, we can get this merged in

@RobBond-GDS
Copy link
Contributor Author

in

did we not squash commits yesterday?

@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 January 31, 2020 12:46 Inactive
@DilwoarH
Copy link
Contributor

DilwoarH commented Feb 4, 2020

in

did we not squash commits yesterday?

There were new changes were introduced in the first commit then removed from in the second. So no need to have two commits. One is enough

@RobBond-GDS
Copy link
Contributor Author

RobBond-GDS commented Feb 4, 2020 via email

…d payload attribute to default to json

remove payload as request defeaults to json

remove payload as request defeaults to json
@RobBond-GDS RobBond-GDS force-pushed the HMRC-webchat-JSONP-investigation branch from a2862a6 to da21d68 Compare February 4, 2020 15:18
@bevanloon bevanloon temporarily deployed to government-f-hmrc-webch-joeuo3 February 4, 2020 15:18 Inactive
@RobBond-GDS RobBond-GDS merged commit c278166 into master Feb 5, 2020
@RobBond-GDS RobBond-GDS deleted the HMRC-webchat-JSONP-investigation branch February 5, 2020 10:52
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