Skip to content

feat: Add the Extension Project functionality #3146

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

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

Conversation

nikmace
Copy link
Contributor

@nikmace nikmace commented Apr 17, 2025

Feat for #3015.

  • Adds two new prompts for extension project support. The first prompt shows a label message with a help link. The second one is a confirmation question whether the user wants to continue with creating an extension project instead.
  • For internal users: Adds two prompts - FioriId and Application Component Hierarchy (ACH) prompts and writes the answers as descriptor changes to manifest.appdescr_variant file for support purposes.
  • Adds i18n description based on layer and writes it in the i18n.properties file.

@nikmace nikmace added adp-tooling generator-adp @sap-ux/generator-adp labels Apr 17, 2025
@nikmace nikmace self-assigned this Apr 17, 2025
Copy link

changeset-bot bot commented Apr 17, 2025

🦋 Changeset detected

Latest commit: 14dea02

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

This PR includes changesets to release 18 packages
Name Type
@sap-ux/generator-adp Patch
@sap-ux/adp-tooling Patch
@sap-ux/project-input-validator Patch
@sap-ux/adp-flp-config-sub-generator Patch
@sap-ux/create Patch
@sap-ux/flp-config-inquirer Patch
@sap-ux/preview-middleware Patch
@sap-ux/deploy-tooling Patch
@sap-ux/odata-service-inquirer Patch
@sap-ux/repo-app-import-sub-generator Patch
@sap-ux/ui5-application-inquirer Patch
@sap-ux/ui5-library-inquirer Patch
@sap-ux/flp-config-sub-generator Patch
@sap-ux/deploy-config-sub-generator Patch
@sap-ux/fiori-app-sub-generator Patch
@sap-ux/ui-service-inquirer Patch
@sap-ux/ui5-library-sub-generator Patch
@sap-ux/ui-service-sub-generator 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

@nikmace nikmace linked an issue Apr 22, 2025 that may be closed by this pull request
2 tasks
@nikmace nikmace marked this pull request as ready for review April 22, 2025 13:17
@nikmace nikmace requested review from a team as code owners April 22, 2025 13:17
Copy link
Contributor

@lfindlaysap lfindlaysap left a comment

Choose a reason for hiding this comment

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

@nikmace, could you provide a screenshot of what these new prompts look like on the UI? Thanks.

@nikmace
Copy link
Contributor Author

nikmace commented Apr 23, 2025

@lfindlaysap Here are the two cases in which the extension project prompts are shown when the application is not supported:
Screenshot 2025-04-23 at 9 32 50
Screenshot 2025-04-23 at 9 32 23

Copy link
Contributor

@lfindlaysap lfindlaysap left a comment

Choose a reason for hiding this comment

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

@nikmace, thanks so much for the screenshots. Here are my suggestions.

@nikmace nikmace requested a review from lfindlaysap April 25, 2025 06:37
"appDoesNotSupportAdaptation": "The application that you have selected does not support flexibility. Adaptation projects are only supported with those applications. Please choose an application which supports flexibility.",
"appDoesNotSupportManifest": "The selected application is not supported by the adaptation project. Please select a different application. For more information, see SAPUI5 Adaptation Project documentation.",
"extensibilityGenNotFound": "Extensibility Project generator plugin was not found in your dev space, and is required for this action. To proceed, please install the <SAPUI5 Layout Editor & Extensibility> extension.",
"creatingExtensionProjectError": "Creating Extension Project failed. To see the error, view the logs."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"creatingExtensionProjectError": "Creating Extension Project failed. To see the error, view the logs."
"creatingExtensionProjectError": "Creating the extension project failed. To see the error, view the logs."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adp-tooling generator-adp @sap-ux/generator-adp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE - Add Adaptation Project generator
2 participants