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

Show 'loading, please wait' animation while database is downloading and loading #8

Open
abeconnelly opened this issue Sep 3, 2015 · 3 comments

Comments

@abeconnelly
Copy link
Owner

It takes some time for the database to be loaded and unpacked. There should be a 'loading, please wait' animation that lets people know the data is loading and will be available soon. This animation should go away when the data is loaded.

@abeconnelly
Copy link
Owner Author

There might be a way to hook into the process that downloads data and have a JavaScript download progress bar.

@nro-bot
Copy link

nro-bot commented Sep 3, 2015

locally, some strange effects of not having loading bar or static text about this: the query button says "g_db is undefined" and works on the second try (because it has had time to load), similarly the canned viz's show as blank on first try.

@abeconnelly
Copy link
Owner Author

g_db is the global variable used for the database context and so when trying to run a query when the database isn't loaded it gives this error. The canned visualization of course need the data loaded so there won't be anything to display.

There should be some checks to make sure the database is loaded and ready. All pages that use underlying database should have a 'loading' to make sure the user doesn't expect anything to happen until the load has completed.

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

2 participants