Closed pwalsh closed 9 years ago
ref. UI Mocks
Please comment there (or here) with feature ideas, or notes about user stories that are not served by the mocks.
@rgrp @tryggvib the problem with using GitHub here is CORS.
For the current sprint, I'll use http://rawgit.com which allows us to use GitHub and get around the CORS issue.
For future, we can assess if this is good enough, or if we need to do an additional step of pushing sources to object store to serve without Cross Origin restrictions.
@pwalsh i'm not sure i understand the CORS issue here.
If we have a GitHub repo which contains the data, e.g.:
somerepo.github.io/publishers.csv
and another which hosts a dashboard app, .e.g:
spenddashboard.com
The Dashboard app can't make XHR requests for the CSV data, as GitHub CORS doesn't allow it.
Maybe I missed something? (haven't checked this, just based on what I think I know about CORS and GitHub).
The example data repo has the data model for the dashboard, and describes the storage of this data as CSV in git.
User story 2A
User story 2B