You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Call the new /api/deployments?entrypoint=path endpoint
Guide the user to create a new Deployment / Configuration with that file as the entrypoint if one doesn’t exist
Select the Deployment / Configuration in the sidebar with that entrypoint if length === 1
Prompt the user to select from the multiple Deployments with the given entrypoint
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.
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:
/api/deployments?entrypoint=path
endpointlength === 1
Part of the #1846 epic.
The text was updated successfully, but these errors were encountered: