Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vscode): Logic App and Workflows As Menu Items #6310

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

lambrianmsft
Copy link
Contributor

@lambrianmsft lambrianmsft commented Dec 27, 2024

Moved creation of new logic app and new workflows as right click menu items. Removed ability to create logic app outside of a workspace. Refactored to utilize common methods and reduce duplication

Requirement Checklist

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes or features)
  • Docs have been added or updated (for bug fixes or features)

Type of Change

  • Bug fix
  • Feature
  • Other

Current Behavior

Currently customers can create logic app projects without a workspace as well as add new logic app projects and workflows by going to the Azure icon and clicking on the Logic Apps icon as shown. Custom code and rules engine projects have the logic app created as LogicApp and the functions under Function folder as default.
image

New Behavior

Customers will now be unable to create logic apps outside of a workspace. Customers will now be required to create a logic app workspace that holds their logic app project. Customers will now be able to add new logic app projects and workflows to their workspace by using the right click menu and selecting the appropriate option.

Custom code and rules engine projects now have a logic app name prompt instead of defaulting to LogicApp and the Functions folder is now removed and renamed to the name of the function the user created.
image
image

Impact of Change

  • This is a breaking change.

See the new behavior section.

Screenshots or Videos (if applicable)

… items. Removed ability to create logic app outside of a workspace. Refactored to utilize common methods and reduce duplication
@ccastrotrejo ccastrotrejo requested a review from Copilot December 30, 2024 20:55

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 21 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/createCodeProjectSteps/createLogicApp/ScriptProjectCreateStep.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/ProjectCodeCreateStepBase.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewProject/createProjectSteps/ExistingWorkspaceStep.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewProject/createNewProject.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/createNewCodeProject.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/SetWorkspaceName.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/SetWorkspaceSettings.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/WorkflowCodeProjectCreateStep.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/createCodeProjectSteps/createFunction/InvokeFunctionProjectSetup.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/OpenFolderStepCodeProject.ts: Evaluated as low risk
  • apps/vs-code-designer/src/main.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewProject/createProjectSteps/ProjectCreateStepBase.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/NewCodeProjectTypeStep.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewProject/createProjectSteps/ScriptProjectCreateStep.ts: Evaluated as low risk
  • apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/SetLogicAppNameStep.ts: Evaluated as low risk
lambrianmsft and others added 7 commits December 30, 2024 15:30
…nction method names inside a workspace, moved convert to workspace
…ions.json file, corrected path to create .vscode folder, and updated OpenFolder to not add the .code-workspace file to the workspace folders.
…schema type in isLogicAppProject. Improved prompt to only display the folders that contain a logic app project, not all folders in the workspace.
… logic apps with possibly the same workflow names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants