v0.10.0.pre2
- Added hooks for resource toolbars (2688245fd831f877238c1dccab7190454c079ca1)
hook "index.toolbar.secondary" do |toolbar|
...
end
This removes one of the primary reasons for needing to customize the resource index.html.erb template (and one of the biggest sources of pain when upgrading Trestle versions).
New hooks include index.toolbar.primary, index.toolbar.secondary, new.toolbar.primary, new.toolbar.secondary, show.toolbar.primary, show.toolbar.secondary, edit.toolbar.primary, edit.toolbar.secondary. In each case, the toolbar builder is yielded to the hook block.
- Added stimulus controller
batch-actionfor batch action triggers (014dc16950c453cbe1daec44388cc146ed758ce5) - Allow resource toolbar builder to accept custom label and attributes (78899b4565c3437f7e32016181b72037269b876e)
t.save label: "Save & Publish", icon: "fas fa-share-from-square"
- Fixed compatibility with gem (introduce custom compressor to exclude bundled Trestle assets) (f10c78dff37337a931c5bd7ec37b8ddb7ef81f73)