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

Allow a standalone JS viewer (without requiring Web2py) #3

Closed
hyanwong opened this issue Sep 27, 2017 · 1 comment
Closed

Allow a standalone JS viewer (without requiring Web2py) #3

hyanwong opened this issue Sep 27, 2017 · 1 comment

Comments

@hyanwong
Copy link
Member

For people who want to develop the JS code, we should really not require them to run an entire web2py server. There should be a way to call the JS code from a static web page, and get nearly everything else, API calls, etc, (although perhaps not the completetree etc. files?) from our server. This should mostly be easy, as we can specify which URLs to use for the API etc in the treeLayout page.

In fact, I think the main issue here is internationalisation, because we load up the UI from a served-up web page (viewer_UI.load) which is translated into different languages. However, we could simply ask the downloader to pick a particular language, and save a copy of viewer_UI.load in that language.

@hyanwong
Copy link
Member Author

Now mostly done, will require some bug fixes, e.g. for popular species

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

No branches or pull requests

1 participant