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

fix(ui5-app-inq): Checks if folderPath contains existing Fiori project #2317

Merged

Conversation

martinjanus-sap
Copy link
Contributor

@martinjanus-sap martinjanus-sap commented Sep 3, 2024

#2316

Validates provided path does not contain a Fiori project, appropriate validation message displayed:

The project folder path already contains an SAP Fiori application. Please choose a different folder and try again.

Copy link

changeset-bot bot commented Sep 3, 2024

🦋 Changeset detected

Latest commit: f2f7063

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@sap-ux/ui5-application-inquirer Patch
@sap-ux/project-access Patch
@sap-ux/abap-deploy-config-writer Patch
@sap-ux/adp-tooling Patch
@sap-ux/annotation-generator Patch
@sap-ux/app-config-writer Patch
@sap-ux/cap-config-writer Patch
@sap-ux/cards-editor-middleware Patch
@sap-ux/create Patch
@sap-ux/environment-check Patch
@sap-ux/fe-fpm-writer Patch
@sap-ux/fiori-annotation-api Patch
@sap-ux/fiori-generator-shared Patch
@sap-ux/launch-config Patch
@sap-ux/odata-service-inquirer Patch
@sap-ux/preview-middleware Patch
@sap-ux/telemetry Patch
@sap-ux/ui5-library-reference-inquirer Patch
@sap-ux/ui5-library-reference-writer Patch
@sap-ux/ui5-library-writer Patch
@sap-ux/fiori-elements-writer Patch
@sap-ux/fe-fpm-cli Patch
@sap-ux/abap-deploy-config-inquirer Patch
@sap-ux/fiori-freestyle-writer Patch
@sap-ux/generator-simple-fe Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@martinjanus-sap martinjanus-sap changed the title fix(ui5-app-inq): Checks if folderPath contains existing Fiori App fix(ui5-app-inq): Checks if folderPath contains existing Fiori project Sep 3, 2024
@martinjanus-sap martinjanus-sap marked this pull request as ready for review September 3, 2024 15:15
@martinjanus-sap martinjanus-sap marked this pull request as draft September 5, 2024 12:30
@martinjanus-sap
Copy link
Contributor Author

image

Root of fiori app found, if nested within.

@martinjanus-sap martinjanus-sap marked this pull request as ready for review September 11, 2024 11:22
@martinjanus-sap martinjanus-sap requested a review from a team as a code owner September 11, 2024 11:22
@martinjanus-sap martinjanus-sap marked this pull request as draft September 11, 2024 11:24
@martinjanus-sap martinjanus-sap marked this pull request as ready for review September 11, 2024 11:52
Copy link

sonarcloud bot commented Sep 11, 2024

Copy link
Contributor

@IainSAP IainSAP left a comment

Choose a reason for hiding this comment

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

Thanks @martinjanus-sap

  • Code is clear, well doc'd and properly extended from previous implementation using options
  • New tests added to cover new functionality

Copy link
Contributor

@longieirl longieirl left a comment

Choose a reason for hiding this comment

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

Changes are good, additional comments are apprepiated.
Good test coverage.
Changeset is appropiate.

Copy link
Member

@devinea devinea left a comment

Choose a reason for hiding this comment

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

Exporting function from project access look fine.
Changeset ✅

@martinjanus-sap martinjanus-sap merged commit 09522df into main Sep 12, 2024
13 checks passed
@martinjanus-sap martinjanus-sap deleted the fix/ui5-app-inq/2316/folder-path-omit-existing-app branch September 12, 2024 09:31
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.

4 participants