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

Remove button html from API response #572

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Remove button html from API response #572

merged 1 commit into from
Jan 12, 2023

Conversation

hannako
Copy link
Contributor

@hannako hannako commented Jan 6, 2023

What

Remove button html from API response

Why

So that it's possible to update the text of the single page notification button component without making changes to this API.

This API endpoint is only used by the single page notification button component in the gem, see here. The gem has been updated to expect a different response, see here.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

https://trello.com/c/gpch42Uc/1456-support-custom-button-text-on-the-single-page-notification-button-l

This API endpoint is only used by the single page notification button component
in the gem [1]. The gem has been updated to expect a different response [2].

1 https://github.com/search?q=org%3Aalphagov+check-email-subscription&type=code
2 alphagov/govuk_publishing_components#3071
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

@hannako hannako merged commit e73bb21 into main Jan 12, 2023
@hannako hannako deleted the remove_button_html branch January 12, 2023 11:00
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