Skip to content

Populate proposal data from tc39/dataset #290

Closed
@jasonwilliams

Description

@jasonwilliams

Populate the website with data from https://github.com/tc39/dataset

Eleventy Fetch seems useful (and for local development):
https://www.11ty.dev/docs/quicktips/cache-api-requests/

Task:
A new JS file would need to be added to https://github.com/tc39/tc39.github.io/tree/master/_data which has a similar format to the link above. It fetches proposal data and returns a format we're expecting. At build time this API would be fetched and the data can be iterated through in the template.

Triggering Action from dataset
Either https://github.community/t/triggering-by-other-repository/16163/2 or a cron action to rebuild the website at a set interval

Issues:

  • Translations? I'm not sure we would have a solution for this if pulling from the API. I'm open to any ideas

Related:

Metadata

Metadata

Assignees

Labels

contentRelated to creating / editing contentjavascriptPull requests that update Javascript codeneeds decisionNeeds a decision

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions