Skip to content

Add additional entry-points for deployWorkspaceProject#482

Merged
MicroFish91 merged 12 commits intomainfrom
mwf/new-click2run-entrypoints
Oct 12, 2023
Merged

Add additional entry-points for deployWorkspaceProject#482
MicroFish91 merged 12 commits intomainfrom
mwf/new-click2run-entrypoints

Conversation

@MicroFish91
Copy link
Copy Markdown
Contributor

@MicroFish91 MicroFish91 commented Oct 11, 2023

deployWorkspaceProject currently only exists as a workspace and command-palette command.

image

This PR adds additional entry-points to the following tree items:

  • ContainerAppItem

Updated:
image

  • ManagedEnvironmentItem

image

It also checks to ensure no conflicts exist between existing workspace settings vs. the tree item selected (else it throws an error).

I also separated out some of the code that originally existed in getDefaultContainerAppResources into separate files.

@MicroFish91 MicroFish91 marked this pull request as ready for review October 11, 2023 20:26
@MicroFish91 MicroFish91 requested a review from a team as a code owner October 11, 2023 20:26
@MicroFish91 MicroFish91 changed the title Add additional entry-point support for deployWorkspaceProject Add additional entry-points for deployWorkspaceProject Oct 11, 2023
Comment thread package.json Outdated
Comment thread package.json
Comment thread package.nls.json Outdated
@MicroFish91
Copy link
Copy Markdown
Contributor Author

MicroFish91 commented Oct 12, 2023

New pop-up confirmation:

image

Copy link
Copy Markdown
Member

@nturinski nturinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving ahead of time because i'm going to be out of office and don't want to block

Comment thread package.nls.json Outdated
@nturinski
Copy link
Copy Markdown
Member

New pop-up confirmation:

image

I think it'd be good to have a button to override old settings.

@MicroFish91
Copy link
Copy Markdown
Contributor Author

MicroFish91 commented Oct 12, 2023

I think it'd be good to have a button to override old settings.

Already got it covered with ShouldSaveDeploySettingsPromptStep :)

Let me know if you see any issues later and I can put in additional changes

@MicroFish91 MicroFish91 merged commit b8875f4 into main Oct 12, 2023
@MicroFish91 MicroFish91 deleted the mwf/new-click2run-entrypoints branch October 12, 2023 02:53
@microsoft microsoft locked and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants