-
Notifications
You must be signed in to change notification settings - Fork 19
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
Async loading of remote assets #847
Comments
Few questions on that proposal:
Given the complexity of points two and three, and the lack of the React features to implement this in NC, I think we should postpone this feature. |
I hadn't considered types actually, given the nature of urls not neccessarily having extensions, we may be best to do some detection when we validate the URL, something like:
|
I would prefer to make it explicit. Detection might be hard, because it wouldn't work for server generated resources that depend on live interview data. |
As a final stage of remote asset implementation, we should support asynchronous loading of remote assets (primarily external data).
In Architect the user would be able to add a new asset or type "remote" (or similar). They would be able to construct a URL that would include templating for interview variable values (probably also a URL constructor worker that passes in the whole session/network model) like this:
https://myuniversity.edu./myproject/?interviewID={egoID}
In Network Canvas we want to try to use new React features (suspense - mid 2019, and possibly concurrent mode - q2 2019) to implement this nicely. That means showing a spinner for loading data, and continuing to render everything else, and handling error states gracefully.
The text was updated successfully, but these errors were encountered: