Changelog

Latest Version:
v1.2.6
  • New Feature: Added `:horizontal_custom_file` simple_form wrapper

    There's now a :horizontal_custom_file wrapper that you can use on custom file controls when using simple form.

  • Change: Scrollbar styling is now optional

    The scrollbar styling can now be optionally turned off, or completely customized via overrides:

    $style-scrollbar: true !default;
    $scrollbar-width: 0.15em !default;
    $scrollbar-foreground: $brand-primary !default;
    $scrollbar-background: mix($brand-primary, white, 50%) !default;
    
  • Bug fix: Fixed Landing Page 2 background image sizing

    The background image was not properly resizing because the min-height was not set.

  • Bug fix: Fixed Popper.js tooltip rendering bug

    Fix Popper.js config to render tooltips and dropdown menus with animations correctly.

  • Change: Improved I18n support for form helpers

    The native Rails form helper error_notification has been re-written to properly utilize the locale in use, as has the simple_form helpers. A bug was also fixed where the FontAwesome facebook icon was not displaying.

  • Change: Force `sass-rails` to load in the RRT gem

    For some unknown reason, sometimes Bundler does not load the sass-rails gem, even though it is declared as a dependency of the RRT gem itself. This change forces that to happen.

  • Bug fix: Fixes to custom-select and input group sizing

    The .custom-select wasn't theming properly, and has been fixed. The input group input sizes were tweaked to behave the same way as general form input controls.

  • Change: Update to Bootstrap 4.1.3, fixes for Bootstrap 4.1.3 input control issues, and fixes for general input group focus border issues

    We've updated to Bootstrap 4.1.3, but in that release they gave form controls a fixed height. This has caused some unintended issues with input groups (see github.com/twbs/bootstrap/pull/26820) which we've worked around for now until they figure out what they're going to do with that aspect of the change. Because of this issue with Bootstrap 4.1.3 we bumped the minor version as it could result in breaking changes in your control appearances also, which we can't control. If you experience issues, revert to the previous version of RRT you were using until further notice (and also drop us a line to let us know).

    This release also fixes an issues with additional borders appearing with input groups with appends when focused.

  • Bug fix: Fixes for Parallax.js & Turbolinks, and simple_form horizontal checkboxes

    Parallax.js gets torpedoed when using Turbolinks unless it is specifically re-initialized on each page load, so now RRT defaults to handling those Turbolinks events automatically for Parallax.js

    simple_form horizontal checkboxes had a layout bug which is now fixed, correcting the alignment.

  • Bug fix: Fixes for EmailTemplateHelper

    Bug fixes for the EmailTemplateHelper and method_missing. Included the VERSION file in the Gemspec so that vendoring the gem works as expected.

  • Change: Added `sass-rails` as an explicit dependency

    For people who were generating new Rails projects using the --skip-sprockets CLI flag, sass-rails was not being added to the project, which RRT depends on. This makes the dependency explicit.

  • Change: Minor layour updates

    Some minor internal code layout changes.

  • Bug fix: Removed rogue source map calls from Bootstrap JS files.

    Some rogue calls for the Bootstrap source maps has slipped through the last Bootstrap updates, causing 404s to register in the logs.

  • Change: Update to Bootstrap 4.1.1

    Updated to Bootstrap 4.1.1 ☄️

  • Change: Header content block changes

    Updated Header blocks 4, 5 and 8 to use .input-group-prepend.

  • Change: simple_form tweaks

    More slight tweaks for simple_form

  • Change: simple_form tweaks

    Change the order of labels and inputs for simple_form vertical forms, and default to the fancy custom checkboxes and radios

  • Change: Bootstrap input groups change

    Move over to the BS4 final input group markup and styling. Read more here

  • Change: Pricing Plan responsiveness update

    A small tweak to how the pricing plan page component collapses at smaller resolutions.

  • Bug fix: Bug fix for a bug fix

    A hasty fix for kaminari led to an exception being thrown when kaminari wasn't present. This fix fixes that fix.

  • Bug fix: Bug fix for Kaminari theming

    Kaminari theming had stopped working, this fix makes it work again.

  • Bug fix: Bug fix for simple_form setup

    A small update to the simple_form setup code where in certain circumstances a bug would appear and stop the server from launching.

  • Change: Bootstrap 4 Stable update

    The themes have now been updated to Bootstrap 4 stable. As a knock on effect, Jasny Bootstrap had to be rebuilt to exclude its CSS transition javascript as it conflicted with Bootstrap 4's builtin. Metis Menu also had to be updated. A double yield inside one of the HAML templates was removed.

  • Change: Metric mini-cards tweaked for better collapsing behaviour

    The metric mini-cards now collpase in a better manner when squeezed. You'll have to update your markup to change the mr-3 class to ml-auto on the first child element (d-flex) of the .media class.

  • Change: Refresh the Haml and Slim templates

    All Haml and Slim templates have been re-generated

  • Change: Now Rails 5.2.0.beta2 compatible

    The generators are now Rails 5.2.0.beta2 compatible.

  • Bug fix: Handle capitalized controller names passed to the generators

    In the instance when you ran a generator and passed a capitalized controller name, for example: rails g rrt:user_account_pages Profile, the generators now downcase all params. Not doing so lead to routes being created with capitalized controller names as the target, which wouldn't work.

  • New Feature: 3 new Dashboard layouts!

    Now shipping 3 additional dashboard layouts to help you get your app up and running as quickly as possible:

    Theme Tweaks

    Also, some slight tweaks were made to Lyra to improve contrast with the background:

    • $main-bg changed from #fbfbfc to #f7f7f8
    • $navbar-background changed from transparent to #fff

    And some slight tweaks to Orion:

    • $brand-light changed from $gray-400 to $fff

    Enjoy!

  • New Feature: Update generators for new Dashboards

    The new dashboards are now available as generated pages

  • Change: Dashboard generator now handles non-crud (index, edit, show etc) style action names

    Previously the dashboard generator could conly handle CRUD style action names, now it can handle any action name.

  • Change: Default `simple_form` based scaffolding to using `horizontal_form` and dashboard generator body classes

    Horizontal forms are better looking out of the box, so they are now the default when scaffolding.

  • Change: Tweak Sidenav breakpoint to remain visible when toggled closed and screen is resized

    The sidenav will automatically open up when it's been toggled closed and the screen is resized to a smaller breakpoint.

  • Bug fix: Update HAML templates to use RRT constants

    This is a tale of late night code pushing and a lost git stash. Always pop your stashes, folks!

  • Bug fix: will_paginate styles not applying

    Sad times, a small bug. will_paginate styles were not applying correctly, and are now fixed. Paginate away!

  • Change: Handle theme customization typos

    Improved the customization generator to handle when typos are made in the theme name or styles, providing a better message to the user when that happens.

  • Change: Ensure only `rails_ujs` is used for Rails 5+ apps

    Rails 5 introduced rails_ujs as a replacement for jquery_ujs used in previous versions of Rails. We now default only to rails_ujs and don't add jquery_ujsif it's missing in a previous Rails version. Having both rails_ujs and jquery_ujs can cause strange UI glitches, like multiple confirmation popups and so on, as both libraries attach event handles to elements.

  • New Feature: Enhanced scaffolding in Side Nav layouts

    Added a special header block which displays the title of the current scaffolded model, and an actions area for hosting buttons. It's part of the sidenav layout but only displays when there is content_for the symbols :actions or :description.

  • Bug fix: Small post-launch bug fix.

    Missing PageRewriter class in packaged gem.

  • Bug fix: Small post launch cleanup of some typos

    Fix a few small typos here and there.

  • New Feature: Genesis

    The inaugural unveiling of Rapid Rails Themes v1.0.0