impress/app/assets/javascripts
Matchu 20202b5cd9 Potentially improve loading state in new item page preview
I thiiiink I've seen the status of a movie `<outfit-layer>` sometimes
be `loading` even when it's clearly already loaded and running. I
haven't been able to track down where and how that happens exactly, so
this is me acting on a hunch: that maybe the
I-would-have-thought-very-unlikely event that the iframe finishes
loading before the `<outfit-layer>` connects with its children maybe
happens more often than one might think!

In this change, we set up the iframe to receive `requestStatus`
messages, which it responds to with the status immediately. And we send
one of these when the `<outfit-layer>` first discovers the iframe.

Fingers crossed!
2024-07-08 16:44:22 -07:00
..
closet_hangers Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
fundraising/donations Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
items Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
lib Use "morphing" for smoother item page preview changes 2024-07-03 21:52:43 -07:00
outfits Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
pets Run Prettier on some of our JS assets 2024-02-18 20:34:55 -08:00
swf_assets Potentially improve loading state in new item page preview 2024-07-08 16:44:22 -07:00
ajax_auth.js Run Prettier on some of our JS assets 2024-02-18 20:34:55 -08:00
outfit-viewer.js Potentially improve loading state in new item page preview 2024-07-08 16:44:22 -07:00