I'm working on #django application wherein the user makes some selections in a form to generate a document.
Given that the document generation leverages some ML models, it'll be 5-30 seconds before the document is ready.
The requirements are that the user is updated with progress of the generation which takes 6 steps.
I started to think about if I wanted to use websockets or polling an #API endpoint or what, and then I remembered something I made earlier this year: https://w4t.pw/eg
You can use #html Declarative Shadow Dom to do async out-of-order progress updates on the page with zero #javascript