-
Notifications
You must be signed in to change notification settings - Fork 17
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 save page box to templates #2126
Conversation
e8fec56
to
b6e0eb7
Compare
b6e0eb7
to
2688876
Compare
d08d71f
to
da416ae
Compare
da416ae
to
3408b5c
Compare
3408b5c
to
d83f32c
Compare
d83f32c
to
cbb7fb1
Compare
cbb7fb1
to
e8eefe4
Compare
13c8ff3
to
b6fd683
Compare
b6fd683
to
56a64dc
Compare
56a64dc
to
5bcfe85
Compare
5bcfe85
to
0e91126
Compare
25e5537
to
a355b0a
Compare
a355b0a
to
fc78ba4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have given the FE bits a quick look. Mostly indentation points and a few questions, otherwise looks good.
} do %> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<div class="content-bottom-margin"> | ||
<div class="responsive-bottom-margin"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a lot of margin being applied around these elements. Something to consider for future tidying perhaps is to have the margin on the components themselves. This might require more work, so non-blocking - the existing margin framework might need to be added to the components being used here, but it would make the markup cleaner and the code more readable.
fc78ba4
to
b8ee7d4
Compare
3a12c70
to
95f18d0
Compare
95f18d0
to
521ae01
Compare
e9fbbf1
to
602f0d4
Compare
Squashes: - Adding The Save a Page box with a partial - Using GOV.UK personalisation gem to pull in shared account helpers - Conditional rendering of the box based on feature flag, logged in status and existance of a saved page Co-authored-by: Dana Cotoran <[email protected]> Co-authored-by: Huw Diprose <[email protected]>
602f0d4
to
80acb2e
Compare
Saved pages now renders a confirmation banner based on a personalisation parameter sent back in the response from frontned Co-authored-by: Dana Cotoran <[email protected]> Co-authored-by: Huw Diprose <[email protected]>
4b30ef9
to
adabd17
Compare
This adds the save this page component to various templates in
government-frontend
.We've introduced a feature flag to enable this feature, which will be enabled in staging and disabled in production.
Also adds a
success_alert
to the top of the application template which will provide a confirmation that the page has been saved (or unsaved, respectively) to the user's saved pages.https://trello.com/c/mjlS9oaX/811-put-the-button-on-government-frontend-pages
https://trello.com/c/611hsn9y/812-add-the-green-save-a-page-confirmation-box-to-government-frontend