Releases: garethfr/backstage
Releases · garethfr/backstage
v0.1.15
Added
c.nested :assoc, fields: [...]DSL renders existinghas_manyrecords as an inline editable table usingaccepts_nested_attributes_for- Nested rows include a destroy button (×) and a
_destroyhidden field; clicking hides the row and marks it for deletion on save - A blank add row is always rendered at the bottom of the nested table for creating new records
image_urlfields on index and dashboard tables now render as<img>tags instead of raw URLsbelongs_tofields now render correctly on dashboard tables (was missing)- Shared
backstage/shared/_cellpartial extracted for consistent field rendering across index and dashboard views
v0.1.14
Fixed
ActionsControllerno longer falls back toBackstage::ResourcesControllerwhen no custom controller exists — raisesNotImplementedErrorinstead of silently dispatching inherited CRUD actions- Custom action dispatch now uses
method_defined?(name, false)so only actions defined directly on the host subclass are callable; inherited methods (index,create,update,destroy, etc.) are blocked - Gemspec
homepagecorrected to point to the right repository
v0.1.12
Added
c.row :field1, :field2groups fields horizontally in a Pico CSS grid on the edit pagec.section "Label" [, collapsed: true]wraps fields in a native<details>/<summary>collapsible block (no JavaScript required); rows and individual fields
can be nested inside sectionsc.fieldcalled inside asectionblock moves an existing auto-discovered field into the section rather than leaving it at the top level