- Default styling behaviour determined by GOVUK_ENVIRONMENT env var
- Drop support for Ruby 3.0
- Remove Priority list from govspeak help example
- Fix providing gem internal Rake tasks to applications embedding this gem as an engine.
- Fix broken Rails 6 compatibility: use
Date#to_formatted_s
instead ofDate#to_fs
- Rails 7 compatibility: use
Time#to_fs
instead of deprecated use ofTime#to_s
- Bump minimum supported Rails version to 6
- Fix broken 'Crown Copyright' link in the layout template page footer
- Ensure labels have sufficient colour contrast
- Replace the development dependency govuk-lint with rubocop-govuk
- Fix colour contrast issues flagged by WAVE Web Accessibility Evaluation Tool
- Ensure govspeak guidance can be navigated to via keyboard tabbing
- Update bootstrap-sass dependency to 3.4.1 (from 3.3.5.1)
- Use the external URL for Signon
- Explicitly declare a dependency on
plek
- Remove IE7 support
- Allow track-click to be customised with a selector
- Add
ie9
class to root<html>
tag when user is using Internet Explorer 9
- Add
assets:clobber
placeholder rake task - Allow setting a class on the root
<html>
tag - Replace references to design principles style-guide with the new location.
- Add ids to styleguide headings so we can link to them.
- Add
GOVUKAdmin.setDimension
to allow setting custom dimensions for GA - Add
before_pageview_js
content block that is injected into the layout template GA code before we track the page view. This allows for running more GA code (like setting custom dimensions) before the page view is tracked. - Add
enable_google_analytics_in_tests
config setting to allow including the GA code block in the layout in Rails test environments. This allows upstream apps to test any GA code they might include.
- Update the jquery-rails dependency to 4.3.1 for compatibility with the latest version of nokogiri
- Compile test favicon to remove Rails 5.1 asset pipeline fallback deprecation message
- Changes method call from
GOVUKAdmin.trackEvent(action, label, value)
toGOVUKAdmin.trackEvent(category, action, options)
. Categories are now mandatory. Calls toGOVUKAdmin.trackEvent
should be changed to use the latest method signature.
- Compile correct favicon for production.
- Remove
exclude_analytics
content block from template. References toexclude_analytics
should be removed and replaced with the following config flag. - Add
disable_google_analytics
to config
- Modularize the table-filter markup
- Remove default label of
Password
for input fields.
- Include optional
simple_form
configuration and locale files
- Add Rails 5 compatibility #127
- Redact emails from Google Analytics event labels and actions
- Add assets initializer to support sprockets-rails >= 3
- Allow a custom URL to be sent to Google Analytics using:
content_for :custom_pageview_fullpath, "/custom-path"
- Fix: Move navbar logic into variable. Fixes a bug where the collapsed nav icon wouldn’t shown when there are no navbar items but there is a sign out link.
- Fix environment-label styles for integration #114
- Allow environment style and labels to be set to integration. When using integration as the environment style the custom favicon in the application must also be present. eg
favicon-preview.png
must be duplicated asfavicon-integration.png
. #102
- Add a govspeak help template
- Improve default indicator styles
- Add support for flash messages
- Add optional signout element to navigation bar
- Fix module starting when the module is defined on the container passed into
GOVUKAdmin.start
#98
- Prevent GA shim output in test / CI
- Add track-click module for Analytics tracking of button clicks
- Enable sendBeacon for all admin analytics events
- Add checkbox and radio form toggles: #90
- Use GOVUK_APP_DOMAIN environment variable to set Google Analytics domain
- Add functions for setting, reading and deleting cookies
- Fix inline form rendering in IE7
- Allow apps to disable Google Analytics
- Fix table filtering for queries containing special characters
- Add a table filter partial for re-use in apps
- Improve Bootstrap 3 in IE7
- Fix table filtering on tables that contain multiple forms
- Make SASS compatible with libsass
- Bump version of jquery-rails due to CSRF vulnerability
- Allow apps to specify a custom navbar
- Add a confirm javascript module for confirming a user action: #64
- Strip off the last octet of IP addresses before sending them to GA
- Manage Google Analytics tracking
- Update event and pageview tracking API, deprecate classic GA event tracking
- Rename SASS files to exclude
.css
and fix deprecation warnings
- Upgrade to Bootstrap 3.3.2
- Allow customisation of app's home page
- Track events using universal analytics as well as classic analytics
- Prevent wrapping of environment label
- Upgrade to Bootstrap 3.3
- Add 'callout' component
- Remove selectable table javascript module
- Fix display of
lead
styles when usingtext-muted
class - Add display inline class helpers
- Really fix the crown this time (
image-url
requires a gem-relative path)
- Move gem management-related rake tasks to ./tasks to avoid breaking consuming apps that auto-load tasks from lib/tasks
- Fix missing assets in production Rails 4 apps, both our own (header-crown.png) and Bootstrap's glyphicon font-using bits
- Fix GillSans font stack for IE and Chrome on Windows
- Tweak Bootstrap’s default
lead
styles to be stronger
- Add full width page option
- Rename SASS partials to begin with underscores
- When filtering tables, allow users to easily go to the first item
- Upgrade to JQuery 1.11.1
- Upgrade to Bootstrap 3.2
- Tweak to size of inputs when using input helper classes
- Fix precompile error with IE7 css
- Improve Bootstrap 3 rendering in IE7
- Add helper classes for input widths
- Fix rendering of an empty navbar
- Fix rendering of media queries in <= IE8
- Add short date and time formats
- Create padding and margin mixins, remove silent classes
- Add Bootstrap 2 nav list component
- Correct spacing when using
page-header
class
- Fix active visited link styles on bootstrap components
- Fix visited link styles on nested bootstrap components
- Environment indicators
- Apps upgrading will need to change how they use favicons
- Fix visited link styles on bootstrap components
- Allow content in footer and bottom of page
- Namespace CSS and Javascript files
- Add
:govuk_date
date format - Fix broken footer HTML
- Fix gem.files to include all needed files (routes)
- Put style guide through parent application controller for accurate rendering
- Make style guide available as a mounted route
- Add lightweight Javascript framework and modules, ported from Transition
- Original gem release including template, styles, jQuery and Bootstrap