Put the new item preview in a Turbo frame
Nice, gotta say, this is a pretty neat way of making things feel more app-y! There's some missing pieces here about like, loading state etc, but the vibes are pretty good, and the implementation was dead-easy!
This commit is contained in:
parent
cf1d28dd62
commit
9838301712
1 changed files with 19 additions and 18 deletions
|
@ -13,6 +13,7 @@
|
|||
how we handle zones. Until then, these items will be <em>very</em> buggy,
|
||||
sorry!
|
||||
|
||||
= turbo_frame_tag "item-preview" do
|
||||
%outfit-viewer
|
||||
%outfit-pet-appearance
|
||||
= outfit_viewer_layers @pet_layers
|
||||
|
|
Loading…
Reference in a new issue