craftcms / gatsby-helper

Craft CMS helper plugin for Gatsby.
https://plugins.craftcms.com/gatsby-helper
MIT License
15 stars 6 forks source link

Add button to manually trigger a build within the control panel #12

Open richardfrankza opened 3 years ago

richardfrankza commented 3 years ago

Description

Since we now have a build post endpoint should we add a button to manually trigger a build?

I could do this and submit a PR but just wondering what your thoughts would be on this.

andris-sevcenko commented 3 years ago

Where would you place such a button?

richardfrankza commented 3 years ago

Give Gatsby Helper a "CP Section" - with one button - "Build"?

I'd like some Gatsby Cloud specific features but perhaps that is scope for a separate plugin.

sandren commented 3 years ago

Since we now have a build post endpoint should we add a button to manually trigger a build?

There is an existing plugin made by Matt Stein that allows you to add a "build" button to the control panel dashboard, which is really nice for clients who want an easy way to batch edits into one build.

@brandonkelly Now that Matt's a part of the Craft team, maybe you could integrate this plugin as a core feature of headless Craft? 😉