SAP / open-ux-tools

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

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

Open martinjanus-sap opened 6 months ago

martinjanus-sap commented 6 months 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 6 months ago

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

tobiasqueck commented 6 months 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 6 months ago

Yes @tobiasqueck you are correct

cfg74 commented 6 months 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?