Skip to content

Updates to Location 2021 template#345

Merged
matt-bernhardt merged 1 commit intomainfrom
uxws-1205-location-tweaks
Aug 20, 2021
Merged

Updates to Location 2021 template#345
matt-bernhardt merged 1 commit intomainfrom
uxws-1205-location-tweaks

Conversation

@matt-bernhardt
Copy link
Copy Markdown
Member

@matt-bernhardt matt-bernhardt commented Aug 18, 2021

Status

Use labels (review needed, in progress, or paused) to declare status

What does this PR do?

This makes a few updates to the new location template that was introduced in release 1.12.0. Specifically:

  • It removes the no-longer-needed tab-1-right field from being rendered.
  • It adds a max-width rule to the right column, capping it at 540 pixels.
  • It adds support for a new class, featured-location, to control how those content blocks behave on a few page widths.

How can a reviewer manually see the effects of these changes?

This branch has been deployed to the staging site.

What are the relevant tickets?

Todo:

  • Documentation
  • Stakeholder approval

Requires new or updated plugins, themes, or libraries?

NO

Requires change to deploy process?

NO

@matt-bernhardt matt-bernhardt force-pushed the uxws-1205-location-tweaks branch from 3ad6226 to 7374f22 Compare August 20, 2021 15:24
** Why are these changes being introduced:

* There are a few further changes needed to the "Location 2021" template
  which is launching on Monday.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/uxws-1205

** How does this address that need:

* Removes the old "Tab 1 Content Right" field (which gets loaded in the
  template as $content1) - which is unneeded on the new template.
* Adds support for a newly-needed "featured-location" class, to group
  some rules which previously had been added using other classes.
* Adds a maximum width to the right column for better readability.

** Document any side effects to this change:

* The markup in the Hayden page will need to change to match these
  styles, but I am coordinating that.
@matt-bernhardt matt-bernhardt force-pushed the uxws-1205-location-tweaks branch from 7374f22 to 7d13b88 Compare August 20, 2021 15:29
@matt-bernhardt matt-bernhardt requested a review from jazairi August 20, 2021 15:32
@jazairi jazairi self-assigned this Aug 20, 2021
@matt-bernhardt matt-bernhardt merged commit 4d472be into main Aug 20, 2021
@matt-bernhardt matt-bernhardt deleted the uxws-1205-location-tweaks branch August 20, 2021 15:58
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.

2 participants