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 new layout template for account-like pages #2571

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

danacotoran
Copy link
Contributor

@danacotoran danacotoran commented Aug 10, 2021

This adds a new account-related template, intended to be used on pages that should have the account layout, while not being rendered by the govuk-account-manager-prototype app.

An example of such a page is the gov.uk/account/home page which was relocated from the account manager app to the frontend app, which at that time meant that some of the content and page furniture was duplicated between those applications.

More recently, the accounts team are working towards the goal of single page notifications which will enable users who have linked their email notifications address and their GOVUK Account to manage their email subscriptions through their account.

Part of this work is making the email management pages (which live in email-alert-frontend) look the same as the account manager when the user is authenticated with a linked account.

Thanks to the changes included in this commit, we should be able to achieve this by simply requesting the gem_layout_account_manager from static, instead of copying individual components to yet another app.


DO NOT MERGE: depends on alphagov/govuk_publishing_components#2255 (extends layout_for_public with account components


https://trello.com/c/F0ZDY0RC

@bevanloon bevanloon temporarily deployed to govuk-static-account-la-lhdi9b August 10, 2021 08:44 Inactive
@bevanloon bevanloon temporarily deployed to govuk-static-account-la-lhdi9b August 10, 2021 08:56 Inactive
Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

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

Looks sensible, just a few questions.

app/views/root/_gem_base.html.erb Outdated Show resolved Hide resolved
app/views/root/_gem_base.html.erb Outdated Show resolved Hide resolved
docs/slimmer_templates.md Outdated Show resolved Hide resolved
docs/slimmer_templates.md Show resolved Hide resolved
docs/slimmer_templates.md Show resolved Hide resolved
@bevanloon bevanloon temporarily deployed to govuk-static-account-la-lhdi9b August 11, 2021 09:58 Inactive
@bevanloon bevanloon temporarily deployed to govuk-static-account-la-lhdi9b August 11, 2021 10:07 Inactive
Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

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

Looks good, just need to merge the two commits.

This adds a new account-related template, intended to be used on pages
that should have the account layout, while not being rendered by the
govuk-account-manager-prototype app.

An example of such a page is the gov.uk/account/home page which was
relocated from the account manager app to the frontend app, which at
that time meant that some of the content and page furniture was
duplicated between those applications.

More recently, the accounts team are working towards the goal of single
page notifications which will enable users who have linked their email
notifications address and their GOVUK Account to manage their email
subscriptions through their account.

Part of this work is making the email management pages (which live in
email-alert-frontend) look the same as the account manager when the user
is authenticated with a linked account.

Thanks to the changes included in this commit, we should be able to
achieve this by simply requesting the gem_layout_account_manager from
static, instead of copying individual components to yet another app.
@bevanloon bevanloon temporarily deployed to govuk-static-account-la-lhdi9b August 11, 2021 10:38 Inactive
@danacotoran danacotoran changed the title [DO NOT MERGE] Add new layout template for account-like pages Add new layout template for account-like pages Aug 13, 2021
@danacotoran danacotoran merged commit f49bbbd into main Aug 13, 2021
@danacotoran danacotoran deleted the account-layout-wrapper-update branch August 13, 2021 08:57
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