SAP / open-ux-tools

Enable community collaboration to jointly promote and facilitate best in class tooling capabilities
Apache License 2.0
83 stars 39 forks source link

FEATURE - template and command to create new page view and controller for custom UI5 apps #986

Open cfg74 opened 1 year ago

cfg74 commented 1 year ago

As a developer of custom SAPUI5 apps, I want to conveniently create new views and controller for my app, so that I can build the app faster

Description

SAPUI5 apps currently lack support for the SAP Fiori tools Page map tool to create new (custom) pages and their artifacts after the generation. When generating an app using the SAP Fiori generator with the "Basic" template an initial xml view and controller for one root page are created, but subsequent views and controller need to be created manually.

This feature shall provide a npx "create" command based on open-source templates which creates the default artifacts and routing in the manifest for a given project.

Scope

Out-of-scope

Technical Design

What modules need to be created or enhanced? How would the functionality be exposed and how can it be consumed?

Acceptance Criteria

Given I have a custom SAPUI5 app when I execute the command add SAPUI5-view then I get a new view/controller, both registered in manifest routing.

Notes

Tasks

cfg74 commented 1 year ago

@Klaus-Keller @tobiasqueck @ashleytung