SAP / open-ux-tools

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

TBI - (fiori-elements-writer): Remove dependency on 'sap.fe.templates' for custom page V4 #1942

Open martinjanus-sap opened 1 month ago

martinjanus-sap commented 1 month ago

Description (include screenshots)

Feedback from our V4 Fiori elements colleagues about changes to the V4 generated projects (regardless of UI5 version):

Value

Align with best practice recommendations from V4 Fiori elements.

Architecture Elaboration

Does it requires architecture elaboration?

Notes

Tasks

quiggs1001 commented 1 month ago

FYI @tobiasqueck. Might be some middleware updates required as part of this for the flpSandbox.html update.

tobiasqueck commented 1 month ago

@nlunets could you please check this one. I am aware that you are the source for this but I don't think the requirements above are correct, I think it should be more like

nlunets commented 1 month ago

Yes @tobiasqueck you are correct

cfg74 commented 1 month ago

@tobiasqueck @nlunets @ianquigley-sap a few additions:

  1. propose to keep any changes to the preview html files out-of-scope here as their generation is soon be obsolete as we can create them on the fly in the preview middleware, and changes will be done there instead
  2. this BLI has a dependency to an FPM writer enhancement to also maintain the lib section when adding pages, e.g. adding sap.fe.templates when creating a floorplan page like the list report, and adding sap.fe.core for FPM custom pages.

Would this be something you can take together with this BLI as both have to be delivered in sync or shall I create a separate BLI for it?