Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use global appState object to track article and asset loading, and provide spinner messaging accordingly #1126

Open
Jaifroid opened this issue Sep 15, 2023 · 0 comments

Comments

@Jaifroid
Copy link
Member

Following on from #1123, a "universal" messaging solution could be provided without altering the DOM in the messaging channel by leveraging the global appState object. At various points in the back end, this object can be updated to show the loading state. If using libzim (#870), then the state would be updated in the interface between app.js and the libzim worker, but messaging would be more limited as we don't have an API to report on the internal libzim decoding state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant