Skip to content
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

Separate card data from view #81

Open
yoshiask opened this issue Mar 2, 2020 · 0 comments
Open

Separate card data from view #81

yoshiask opened this issue Mar 2, 2020 · 0 comments

Comments

@yoshiask
Copy link
Member

yoshiask commented Mar 2, 2020

Everything about cards on the website (such as the Launch 2020 and Discord blocks on the Home page) is hard-coded in their respective TSX file. It would be much more convenient for the content of those cards to be stored separately from the view itself in a JSON file.

This makes it easier for other services and apps to consume that data. The UWP Community client would make use of this, rather than attempting to parse the TSX from GitHub or scrape the webpage. This could also allow specific cards to be embedded into other websites (like a Windows Central article, for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant