Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

use datatype metadata #616

Merged
merged 17 commits into from
Oct 8, 2015
Merged

use datatype metadata #616

merged 17 commits into from
Oct 8, 2015

Conversation

shawnbot
Copy link
Contributor

@shawnbot shawnbot commented Oct 8, 2015

This PR is a proposal for how we can handle the problem of different data types having drastically different URLs and structures (column names, etc.). It puts all of the data types into a Jekyll site data file (_data/datatypes.yml) and uses that both to output the <select> element for choosing a data type and introduces a DataType class on the JavaScript side that determines the data URL from each data type's "spec".

Let me know what you think, @gemfarmer!

@gemfarmer
Copy link
Contributor

@shawnbot thank you thank you this is way cleaner! I say merge.

@gemfarmer
Copy link
Contributor

@shawnbot actually looking into this longer, I noticed the logic for filtering the data in the updateData method is off. Looking into it now.

@shawnbot shawnbot mentioned this pull request Oct 8, 2015
13 tasks
@shawnbot
Copy link
Contributor Author

shawnbot commented Oct 8, 2015

All you, @gemfarmer!

@gemfarmer
Copy link
Contributor

Let's get this merged! 🚢

gemfarmer added a commit that referenced this pull request Oct 8, 2015
@gemfarmer gemfarmer merged commit c201b40 into jekyll Oct 8, 2015
@shawnbot shawnbot deleted the type-metadata branch October 8, 2015 23:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants