This PR links the Assets feature with the hero image in the Dashboard post page. I still need to add this functionality to the content blocks. I believe for this to work properly the user will need to drop the posts and assets tables from their mongo database. upon npm start a new hello world post and asset will be added to the DB.
Images in posts are now treated as references to Assets, this will allow the user to change the Asset in the Asset section and have that change cascade to any Posts using the changed Asset. I'm assuming this will break a few bits where we're calling post.image this will need to updated to post.image.path.
This PR links the Assets feature with the hero image in the Dashboard post page. I still need to add this functionality to the content blocks. I believe for this to work properly the user will need to drop the posts and assets tables from their mongo database. upon
npm start
a new hello world post and asset will be added to the DB.Images in posts are now treated as references to Assets, this will allow the user to change the Asset in the Asset section and have that change cascade to any Posts using the changed Asset. I'm assuming this will break a few bits where we're calling
post.image
this will need to updated topost.image.path
.