Open monikappv opened 4 years ago
@rufuspollock as discussed earlier, here's the issue.. please let me know your thoughts
@monikappv it's an open question on exact question of whether you cache a local table schema. IMO it's worth it for the reliability.
However, the real point is right now your total focus is on getting the initial "showcase" page up and working and the MVP route to that is having a local tableschema.json so you can use it in rendering the page ...
@monikappv PS can we get these issues into the table schema catalog repo rather than here in project 😄
@rufuspollock I see what you mean, we want to get the MVP working and then iterate, but the thing is -
I've already got to the point where I can easily retrieve data from the tableschema.json in gitlab (using the GitLab API) and that's why I'm wondering if it doesn't make more sense to get the schema data that way and use it in rendering the page instead of storing a local version in the repo.
however, there's one thing that I can not fully understand - how do you imagine the previewing of the table schemas? a. like https://git.opendatafrance.net/api/v4/projects/7/repository/files/schema.json/raw?ref=master but the route should be schemas.datahub.io/@org/@schema.json b. just external link leading to something like https://git.opendatafrance.net/api/v4/projects/7/repository/files/schema.json/raw?ref=master c. photo-like table schema d. some other option...
@monikappv integrating pull from another location really comes later once the page is working ...
Can you provide me with a wireframe of the page in google docs including your proposal for preview and then i can comment. (I thought we discussed the other day but maybe not ...)
We want to make the website as lightweight as possible and we don't want to keep too many stuff on it e.g.
current flow: we are using the table schema data in the
catalog.json
file to create pages and frontmatter on the website. wanted flow: we retrieve the table schema metadata from the schemas themselves instead of taking them from thecatalog.json
. in thecatalog.json
we should leave justtitle
andurl
so thatHaving this in mind -->
Question:
How do we want to add a table schema preview option to the table schema catalog website?
tableschema.json
files to the website repo?How do we show the table schemas on the website...?
Acceptance
Tasks