Website 75 add links to respective floor plans to location aside #329
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
We've added a floor plan field to the location information view in Drupal. This field can have any number of floor plans assigned to it. This PR pulls that field to the Location/Building/Room content type GraphQL queries and outputs the link(s) and title(s) to each floor plan, if they're present.
Anything else?
I also noticed that we were inconsistently using "floorplan" and "floor plan" throughout the site. This fix also makes them consistent by using the proper "floor plan".
Testing
This is a list of all the pages that currently include floor plans. It ensures that each content type is tested and represents a variety of floor plan quantities.
I also fixed the spelling for “floor plan” on these pages:
Book Arts Studio
Special Collections Reading Room
Event
Make sure the PR is consistent in these browsers:
Run accessibility tests: