Trestle v0.8.12 Release Notes

Release Date: 2019-03-28 // about 5 years ago
    • โž• Add Korean translations [Cheon Park]
    • ๐Ÿ‘ Allow toolbars to be cleared when defining toolbar blocks

      toolbar(:primary).clear!# ortoolbar(:primary, clear: true) do |t| t.button ...end

    • โž• Add support for dropdowns within toolbar buttons

      toolbar(:primary) do |t| # Buttons and links render a split button dropdown (primary button plus toggle) t.button "Button" do |d| d.header "Dropdown Header" d.link "Dropdown Link", "#" d.divider end t.link "Button link", "#" do |d| d.link "Dropdown Link", "#"end# Dropdowns render an integrated button dropdown (primary button triggers the dropdown) t.dropdown "Dropdown" do |d| d.link "Dropdown Link", "#"endend

    • โž• Add support for dynamically defined scopes

      scopes doTag.all do |tag| scope tag.name, -> { Post.tagged(tag) } endend

    • ๐Ÿ‘ Allow navigation menu blocks to access controller methods

    • โž• Add config.favicon to set favicon within admin

    • ๐Ÿ’ป Disable browser autocompletion on password fields

    • ๐Ÿ’… Updated styles for dropups, dropdown groups and select group headers

    • ๐Ÿ‘ Allow id and data attributes to be passed to panel helper

    • ๐Ÿ›  Fix i18n of confirmation popovers

    • ๐Ÿ›  Fix error when :en locale is unavailable

    • ๐Ÿ›  Fix inline JS when Content Security Policy is enabled

    • ๐Ÿ›  Fix select form helper when choices passed as a string