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
a8b4f9be65
commit
5e6c2c3c3f
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,
|
how we handle zones. Until then, these items will be <em>very</em> buggy,
|
||||||
sorry!
|
sorry!
|
||||||
|
|
||||||
|
= turbo_frame_tag "item-preview" do
|
||||||
%outfit-viewer
|
%outfit-viewer
|
||||||
%outfit-pet-appearance
|
%outfit-pet-appearance
|
||||||
= outfit_viewer_layers @pet_layers
|
= outfit_viewer_layers @pet_layers
|
||||||
|
|
Loading…
Reference in a new issue