v3.1.2 release notes

What's New

Changes That Break Things

  • GC Web Usability theme home page: The example markup and CSS has changed. The example was only intended to demonstrate the priorities section and the other sections (headlines, video, keep connected and minister) were only meant as filler content (not meant to be implemented). To minimize confusion, all the home page specific markup and CSS has been removed except for the markup and CSS related to the priorities section. In addition, the layout has been switched over to straight grids. If the old CSS is still needed, then it can be found in demos/theme-gcwu-fegc/css/old-homepage.css. The following ids and classes have been affected:
    • gcwu-content (replaced with span-6)
    • gcwu-aside (replaced with span-2)
    • gcwu-headlines (removed along with the associated section)
    • gcwu-video (removed along with the associated section)
    • gcwu-connected (removed along with the associated section)
    • gcwu-minister (removed along with the associated section)
  • Tabbed interface: The tabbed interface now gives priority to the URL hash when determining which tab panel to display on plugin load. Prior to this change, the last tab panel opened during a user's browsing session would be displayed. The order of precedence used to determine which tab panel to display is as follows:
    1. URL hash that matches a tab panel ID.
    2. Previously opened tab panel from a user's browsing session.
    3. Tab with the .default CSS class.
    4. First tab panel of the tabbed interface.

Other changes

  • In version 3.1.2, Geomap plugin markup has been modified to manage multiple Geomap plugins on the same page:
    • It needs a new tag to wrap the map, legend and data.
    • getMapfunction needs an id parameter.
    • The old way still works (for a single Geomap instance) but is deprecated in version 3.1.2.
    • For more information, read Geomap documentation.
  • Updated WET and Base theme hidden h2 text for full-width header and footer
    • Changed "Languages" (WET theme) and "Full-width header area" (Base theme) to "Header bar"
    • Changed "Full-width footer area" (Base theme) to "Footer bar".
    • Same changes made in other languages.
  • Changed order of site footer sections (switched News and Contact Us)
  • Corrected Government of Canada navigation bar and footer links
  • Aligned GC Web Usability theme with other themes by merging the application examples with the other examples and stopping the use of target='_blank' (still a valid approach but there are other equally valid approaches as well. The previous code can still be used.
  • Added splash and server message pages to the WET and Base themes
  • Added the Open Government Platform (OGPL) theme

Details

Number of commits: 291

List of commits