-
Notifications
You must be signed in to change notification settings - Fork 20
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
Prepare for layout component #2802
Conversation
8af6fb3
to
09851f1
Compare
09851f1
to
0d5a25f
Compare
0d5a25f
to
cd291fe
Compare
@@ -6,7 +6,7 @@ class CalendarController < ApplicationController | |||
|
|||
rescue_from Calendar::CalendarNotFound, with: :simple_404 | |||
|
|||
slimmer_template "core_layout" | |||
slimmer_template "gem_layout" |
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.
This can be safely removed as it'll inherit from ApplicationController
cd291fe
to
f040b13
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.
A quick rebase, and this is good to go 🎉 🚀
f040b13
to
abe1dd8
Compare
@injms - updated re the comments, rebased + updated the diff table so it captures the these changes (to ensure it's accurate / most recent) |
7753dfa
to
ad322cf
Compare
Hey @injms I don't have auth - do the honours? |
Update to remove redundant classes and tags, slight margin adjustment
Changing some templates to use the full-width layout. Change layout & dependancies - Remove redundant feedback element (appeared twice on page) - Example Page: /find-local-council Update to resolve visual differences for frontend swap, changes resolve a border that is around the lookup element Remove borders / padding from swap on: "/foreign-travel-advice" to maintain existing visuals.
to include Design System class
+ add margin to replace spacing between lookup and feedback. eg: /find-local-council
Adjust grid to match Design System + slight margin adjustments to mimic current design
- Update "/settle-in-the-uk" flow to use Design System grid, - Remove redundant CSS - Adjust Design to maintain or align.
Redundant as gem_layout_full_width replaces this.
Updating pages "/when-do-the-clocks-change" "/bank-holidays" To align to the Design System structure of page layout
Updating frontend to use the gem_layout Remove unused CSS
Remove CSS not in use, adjust margins for images to mimic live
ad322cf
to
b73b0fc
Compare
Restore Cookie Settings
236d2ac
to
8f43aa8
Compare
What?
Update
frontend
app to usegem_layout
template fromstatic
.Why?
As part of on-going a11y work to align architecture & use Components. To ensure consistency and future proof to allow a11y improvements to cascade across the site.
Selection of visuals differences
Slight changes, some manual spacing adjustments have been made to mimic current design.
Anything else?
Related PRs
Original PR (merged premature)
Enhancement PR:
Remove duplicate
<headers>
Resolve e2e PR
alphagov/govuk_publishing_components#2101
Adding additional URLs to README for ref.
#2793
Related PR on
collections
There was an issue highlighted on the
calendars
(after initial merge) that's also been updated.#2800
Converting the layout to the gem version resulted in the lookup pattern not inheriting the relevant styling correctly. Upon inspection, this is due to elements from the gem like
fieldset
not being utilised withinfrontend
and therefore not using the shared classes - this has been manually adjusted.Example page:
http://www.gov.uk/find-electoral-things
Solution
This ties into the issue raised here:
alphagov/govuk_publishing_components#2096
Should the lookup pattern be it's own Component or use a common combination of Components (
fieldset, input, button
etc) these discrepancies would reduce.