Skip to content

Conversation

WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Sep 12, 2024

This MR fixes pyscript/pyscript#2160 by implementing tons of progress event, namely py:progress and mpy:progress so that the bootstrap dance can easily provide some visual feedback around what's going on by simply adding an event listener on the page that listens to py:progress (or mpy:progress) custom events.

All events, except those coming from miropip, have a Loading ... start and a Loaded ... end where Loading Pyodide wraps around all operations until Loaded Pyodide detail is provided.

Events are triggered from both main thread and workers.

@WebReflection WebReflection merged commit 91a2770 into main Sep 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant