posit-dev / publisher

MIT License
3 stars 0 forks source link

Add Deployment selection button to open Entrypoint files #1848

Open dotNomad opened 2 weeks ago

dotNomad commented 2 weeks ago

On hold waiting for the API changes in #1847

This PR will add the publish button to the open entrypoint files.

To determine if the button should be added we can call the new /api/inspect?entrypoint=path API. If any results are in the response we know its a valid entrypoint.

When the button is clicked:


Part of the #1846 epic.

dotNomad commented 2 weeks ago

I see this button as an alternative to opening the sidebar and selecting a Deployment, not as a button to initiate a deployment. That will still be the job of the sidebar.