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

Showcase how to handle articles is missing values on preview #1

Conversation

Simply007
Copy link

Motivation

According to the pull request kontent-ai#19 I am providing a showcase, how to protect articles for missing values in the preview.

  1. On home page for latest articles:
    image
  2. On Articles section
    image
  3. On Article detail
    image

See more details in the pull request:
kontent-ai#19

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docu has been updated (if applicable)
  • Temporary settings (e.g. project ID used during development and testing) have been reverted to defaults - Please remove the preview API key and the project ID

How to test

run npm install and then npm run serve to run locally and take a look to the homepage, artiles section and article detail.

  • code is hardcoded to use my modified sample project to the behavior when the values for article are not set.

@fluffynuts fluffynuts merged commit 7a3ddeb into fluffynuts:hacktoberfest-protect-against-missing-data-errors Nov 18, 2018
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

Successfully merging this pull request may close these issues.

2 participants