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

Make data source selectable and loaded at runtime #3

Open
colinsheppard opened this issue May 6, 2017 · 2 comments
Open

Make data source selectable and loaded at runtime #3

colinsheppard opened this issue May 6, 2017 · 2 comments

Comments

@colinsheppard
Copy link
Contributor

colinsheppard commented May 6, 2017

In general, the solution to literally build the trips data into the application is unworkable. Instead the app should be able to load these data from anywhere by URL.

As a first step, let's move the trips data into a different directory (but one that will get served by node) and then create a user selectable dropdown in the sidebar that allows the user to select from the different trips files in that directory.

On selection, the data are requested / served / and loaded into the app.

Make whatever is in "trips.json" be the default data that is automatically loaded during startup.

@sfwatergit
Copy link
Collaborator

Do you mean uploading data as well?

@colinsheppard
Copy link
Contributor Author

eventually, but would require careful validation

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

2 participants