I have completed a few features today, implemented to our new front end
here is how they look like
Features implemented today
- Update a post
- Delete a post
- Hide a post
Login with Posting key is also implemented.
after updating your post, you stay on the edit page, in case you want to make more edits,
Here is how you can edit a post..
Add new information to your post
Hit update button
After you post is updated you either get an error, or success message.
I used mutation, and implemented a mutation method in graphQL server, to accomplish that,
because it is a promise, it will resolve a result boolean if the post was successfully updated, can use it to display error or success messages.