-
Notifications
You must be signed in to change notification settings - Fork 13
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
Homepage: Add blueprint section #3014
Conversation
6f9f9f7
to
18d4a3f
Compare
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 24.2%, saving 75.43 KB.
1642 images did not require optimisation. |
f82776e
to
ec8f24d
Compare
ec8f24d
to
ece04b6
Compare
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 24.2%, saving 75.43 KB.
1642 images did not require optimisation. |
@@ -4,7 +4,7 @@ subtitle: Detailed instructions on how to create a Node-RED dashboard that shows | |||
description: Discover how to build a Historical Data Dashboard with InfluxDB and Node-RED. Capture, store, and visualize data for insightful analysis. | |||
date: 2023-07-18 | |||
authors: ["andrew-lynch"] | |||
image: blog/2023/07/images/historical-data-dashboard.png | |||
image: blog/2023/07/images/historical-data_dashboard.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the image in the blueprint repo has the same name, so this one was overwriting the blueprint one.
@@ -0,0 +1,15 @@ | |||
- title: "CRUD MongoDB API" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would assume that this data file only need 3 keys, which are pointers to blueprints in the repo we already import. Why have you chosen to duplicate these values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially duplicated the values and even the images to avoid potential build errors in the Netlify preview environment, which doesn't have access to the imported repository during preview builds. I've resolved this issue by using an if
statement to check for the existence of the blueprints. If the blueprints are not found, they are simply not displayed, and no error is thrown. Here's the new PR with the updated approach.
Description
This is part of the changes we'll be introducing to the homepage as described here.
Related Issue(s)
#2796
Checklist