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:
Emi Matchu 2024-07-01 13:48:20 -07:00
parent a8b4f9be65
commit 5e6c2c3c3f

View file

@ -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