Release v4.9x and v4.10x: Performance improvements and extending allowed components on nodes

May 7, 2019

Release notes v4.9x and v4.10x

Features

  • Update Drupal core to 7.67.
  • Replace Google Search Appliance with Google Custom Search Engine.
  • Theme Google Custom Search.
  • Footer menu is now visible on mobile.
  • Prepend tel: to phone number.
  • Replace postal address paragraphs with contact information paragraphs to allow for alternate phone types.
  • Add styles for contact information.
  • Add summary and body field to News topic term to display text on the topic page.
  • Theme topic page summary.
  • Added RSS feed for Announcements.
  • Add Radiology as a primary topic to News.
  • Updated allowed components on basic page, unit, labs, and clinic nodes.
  • Updated allowed panes on list pages.
  • Updated newsroom, pagination, and video to use standardized more-link, buttons, and hover styles.
  • Updated featured content with separate more-link to use standardized edge to edge top border styles.
  • Add divider rules between related services items for visual balance.
  • Add show-hide functionality to events categories; hide categories in excess of 5 if there are 3 or more; adjust show hide script to optionally add the number of hidden elements to the trigger buttons.

Performance Improvements

  • Replace gotham font weight 400 with 500 weight styles
  • Separate essential base critical css
  • Create critical css for hero image/video, carousel, site header, navigation
  • Create newsroom top stories critical css
  • Create essential front page css for promoted news
  • Remove font family styles from base critical css
  • Add normalize, bourbon and neat to essential css
  • Add default component horizontal spacing to critical css
  • Add node script that creates advagg critical css files in the required locations
  • Inline critical css only if aggregation is enabled, compress styles on compile
  • Refactor critical css to use separate source, remove obsolete splitinject script
  • Throw error when critical css file exceeds 4095 selector limit; fix critical css directory path, switch critical clean to be synchronous to avoid compile errors
  • Update critical css readme
  • Refactor styles to keep 00-base free of styles that create css; remove cruft; fix import paths for the style guide
  • Exclude templates and pages from view all in patternlab to improve performance
  • Critical CSS now uses the same group and weight as advagg to combine all critical css into the same tag
  • Update critical front style imports
  • Ensure normalize.css is loaded in patternlab
  • Make sure theme name is interpolated in the theme template file
  • Defer font loading, relies on loadCSS for typography.com, change typography.com fonts to load last in css
  • Add unique id to icon font family name to prevent wrong icons showing up due to cached versions
  • Use faster css api for fonts.com font load
  • Compile theme to update icons-settings

Bugs

  • Fix styles for:
    • broken topic page view all topics
    • newsroom only child latest news
    • promoted clinical trials promoted basic page and feature rows 
    • opening hours basic page
    • gateway basic page
    • featured content basic page
    • CTA basic page
    • events basic page
    • badges basic page
    • video basic page
    • clinical trials filtered
    • clinical trials ipe toolbar
    • promoted clinical trials ipe, remove first child top border
    • list items with p tags
    • clinical trials component h2
    • section nav link caused by base nav overrides
    • director and contact in service search listing, remove map marker from location without map
    • video to work in all basic page columns layout
    • open hours 1 list item paddings, bg auto background styles
    • service page director/location component on mobile to center align and display content stacked
  • Remove duplicate locations on CUPS location list page.
  • Use different dark blue background auto color variable for components to not overlap with the primary brand color of header and footer
  • Fix labs/units prominence primary border background color overrides
  • Hero jump link is no longer overlapped by full width CTA in the following region, focus outline ares more prominent
  • Unpublished page styles now apply to any type of node
  • Interior style 1 heroes with left aligned text no longer have a pixel gap between the image and the right edge
  • Accordion header titles no longer have extra space on internet explorer 9
  • Update video background gradients to use standardized background style settings, display video title below image on mobile to prevent text overflow
  • Fix Safari specific issue where show/hide excess text was only working properly on the second try
  • Fix news/events prominence primary view all link desktop alignment for all styles and backgrounds
  • Increase mobile vertical spacing between newsroom latest news and topics sections
  • Fix button / link vertical alignment for cta style 1 and style auto with text only
  • Fix badges prominence primary border color in all region backgrounds
  • Add margins to buttons embedded in the body content of pages
  • Change announcements promoted listing layout to position the title side by side with any images, instead of wrapping around the image, to reduce type size for announcement titles with prominence primary, fix image top edge alignments, remove margins around image
  • Refactor promoted announcement layout to use padding instead of width for image alignment, add new layout classes to component template, move layout padding to link, add clearfix to base news promoted styles to fix alignment issues for browsers without flexbox
  • Ensure that there is no padding on regions with background none on featured layout pages
  • Location numbers on 'our locations' are now neutral grey instead of link blue
  • Fix badges prominence primary image alignments on small desktop, fix ie9 badges prominence primary content overflow
  • Fix events empty listing summary to use standardized component typography styles, fix font color in region bg 3 and sidebar styles
  • Remove more-link underline for promoted testimonials in basic pages
  • Fix news prominence primary/style 2 spacing between title and content
  • Fix events prominence primary spacing between title and list content
  • Fix cta phone prominence primary padding
  • Remove bottom margin from interior heroes on mobile
  • Ensure that hero image is loaded before executing dominant color script
  • Fix news style 2 primary summary top margin when item has no source
  • Fix news events to only display empty list border styles if it's not an only child
  • Fix alert mobile message long link overflow, alert mobile text overflow in firefox
  • Fix mobile menu secondary links bottom spacing, fix mobile menu primary links line height
  • Add google custom search spelling styles, fix google search button hover styles
  • Fix larger screen newsroom header control alignments and order, adjust newsroom header control spacing, add fallback for no flexbox
  • Decrease section nav primary link sizes, fix logo desktop alignment
  • Fix news/events default icon to not use default theme color only on blue backgrounds
    • Remove outdated hero badges default theme variables
    • Remove double mobile padding for cta style 1 with no image
    • Fix gateway three side by side title font size
    • Fix cta style auto bg none padding
    • Refactor cta style auto padding fixes
    • Adjustments for service pages using locations
    • Fix newsroom in the media and events more link mobile spacing
    • Fix selector combination that can never occur in news and events lists
    • Move classy panels mixin and function to make them available to both critical and non-critical sass
    • Namespace newsroom top stories styles to prevent base news styles overrides
    • Fix hidden dot navigation on galleries
    • Fix testimonials with no more link prominence primary bottom padding
    • Remove underline from badges with links
    • Adjust min height of contact info on service pages without sidebars
    • Fix missing gateway right rail title styles