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

Add single page notification button to document collections #2535

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

hannako
Copy link
Contributor

@hannako hannako commented Aug 31, 2022

What

Add the single page notification button to document collections. Pass in the skip_account flag to the component so that users sign up via the non GOV.UK account route.

Review app: https://government-frontend-pr-2535.herokuapp.com/government/collections/technology-case-studies

Before After
Screenshot 2023-02-03 at 16 32 08 Screenshot 2023-06-30 at 09 36 31

Related work:

Trello: https://trello.com/c/fXCk2Vck/1614-turn-on-email-notifications-for-document-collections-m

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

@hannako hannako force-pushed the spike_notifications branch from d3d7ee3 to 81425f2 Compare August 31, 2022 15:55
@hannako hannako force-pushed the spike_notifications branch from 81425f2 to 445a15f Compare November 9, 2022 14:37
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 9, 2022 14:37 Inactive
@hannako hannako force-pushed the spike_notifications branch from 445a15f to bcb33ca Compare November 9, 2022 14:38
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 9, 2022 14:39 Inactive
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 14, 2022 10:47 Inactive
@hannako hannako force-pushed the spike_notifications branch from a40e6a9 to 5373df5 Compare November 14, 2022 10:52
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 14, 2022 10:52 Inactive
@govuk-ci govuk-ci had a problem deploying to government-frontend-pr-2535 November 14, 2022 10:56 Failure
@hannako hannako force-pushed the spike_notifications branch from e0f8fa1 to 2388ed7 Compare November 14, 2022 11:01
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 14, 2022 11:01 Inactive
@hannako hannako force-pushed the spike_notifications branch from 2388ed7 to 6db7a0a Compare November 14, 2022 21:01
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 November 14, 2022 21:02 Inactive
@hannako hannako force-pushed the spike_notifications branch from 6db7a0a to d5b6934 Compare January 27, 2023 12:11
@hannako hannako force-pushed the spike_notifications branch 2 times, most recently from e216f90 to 9e3a2f1 Compare February 3, 2023 16:31
@hannako hannako force-pushed the spike_notifications branch from 9e3a2f1 to 6ae6fe8 Compare February 8, 2023 15:34
@hannako hannako marked this pull request as ready for review February 8, 2023 15:39
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 February 8, 2023 15:44 Inactive
@hannako hannako marked this pull request as draft February 8, 2023 15:49
@hannako hannako force-pushed the spike_notifications branch from 6ae6fe8 to d6dd9cb Compare June 23, 2023 15:42
@hannako hannako marked this pull request as ready for review June 30, 2023 08:25
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 June 30, 2023 08:27 Inactive
Copy link
Contributor

@BeckaL BeckaL left a comment

Choose a reason for hiding this comment

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

LGTM, one question and one suggestion for a commit message addition

@hannako hannako force-pushed the spike_notifications branch from d6dd9cb to ecea8c8 Compare July 3, 2023 11:41
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 July 3, 2023 11:41 Inactive
Copy link
Contributor

@BeckaL BeckaL 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 force-pushed the spike_notifications branch from ecea8c8 to 991b3a9 Compare July 24, 2023 18:33
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 July 24, 2023 18:33 Inactive
hannako added 2 commits July 25, 2023 10:40
The single page notification button component, by default, enforces
creating/signing in to a gov.uk account. It has a default form action
of "/email/subscriptions/single-page/new".
Passing in the optional paramater `skip_account` sets a form action of
"/email-signup" which does not enforce the gov.uk account

See govuk_publishing_components/presenters/single_page_notification_button_helper.rb#L63-L69
@hannako hannako force-pushed the spike_notifications branch from 991b3a9 to f766dc1 Compare July 25, 2023 09:41
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2535 July 25, 2023 09:41 Inactive
@hannako hannako merged commit e504eca into main Aug 3, 2023
@hannako hannako deleted the spike_notifications branch August 3, 2023 11:20
hannako added a commit that referenced this pull request Nov 12, 2024
hannako added a commit that referenced this pull request Nov 12, 2024
hannako added a commit that referenced this pull request Nov 12, 2024
hannako added a commit that referenced this pull request Nov 12, 2024
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.

4 participants