Trestle v0.8.10 Release Notes
Release Date: 2018-08-23 // over 5 years ago-
- ➕ Add Latvian translations [Martins Kruze]
- ➕ Add Spanish and Mexican Spanish translations [Ismael G Marin C]
Implement new toolbars API
toolbar(:secondary) do |t| t.group do t.button "Approve", style: :success, icon: "fa fa-thumbs-up" t.button "Reject", style: :danger, icon: "fa fa-ban"end t.link "More Info", "...", style: :infoend
Deprecate old-style toolbars e.g.
content_for(:primary_toolbar) do
➕ Add additional options to
timestamp
anddatestamp
helpers➕ Add support for passing proc as column
:header
option➕ Add
:if
/:unless
options for hooks➕ Add
config.timestamp_precision
option defaulting to:minutes
➕ Add
config.root
option to set title and root breadcrumb link targets➕ Add
view.title
hook for overriding sidebar header➕ Add
resource.index.header
andresource.index.footer
hooks➕ Add general confirmation popup with
data-toggle="confirm"
👍 Allow form control input group addon wrapping to be disabled with
:append!
/:prepend!
optionsAllow options passed to
trestle_form_for
to override defaults👌 Improve rendering of input groups, button groups and scopes
👌 Improve handling of button disabling and loading indicators
🛠 Fix tab behaviour when saving modal forms
🛠 Fix persistence of sidebar expanded/collapsed state
🛠 Fix compatibility with Sprockets 4