SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
444 stars 100 forks source link

Support SAPUI5 Flexibility for the VariantManagement control #3168

Closed gregorwolf closed 2 years ago

gregorwolf commented 2 years ago

When using SAP Fiori Elements there is support for SAPUI5 Flexibility out-of-the box. This allows the user to save search variants, hide or add search filters and configure the table layout of an app based on the List Report Object Page (LROP) floorplan. As described in Bootstrapping SAPUI5 Flexibility the SAPUI5 Flexibility support also Locale Storage which can be used during local development. When deployed to SAP BTP the SAPUI5 Flexibility service can be used for persistence.

I would expect that the UI5 Webcomponents for React would add the functionality that SAP Fiori Elements has also in the VariantManagement control. The complexity of storing the personalization information should be abstacted away like it's already done in SAPUI5.

Lukas742 commented 2 years ago

Hi @gregorwolf

unlike SAPUI5, OpenUI5 or Fiori Elements, UI5 Web Components for React is a pure component library. Therefore, we unfortunately cannot provide any interface for data processing or data binding.

github-actions[bot] commented 2 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Inactive issues will be closed after 7 days. Thanks.

github-actions[bot] commented 2 years ago

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one.

gregorwolf commented 2 years ago

During UI5con 2022 @bendkt and @martinhaeuser presented the Workshop P13nify Everything - Personalization for Any Control which is also available as a recording on YouTube: UI5con HYBRID 2022: P13nify Everything - Personalization for Any Control (Workshop). I would like to know if it is possible to use the sap.m.p13n.modification.FlexModificationHandler in the UI5 Webcomponent for React VariantManagement?

Lukas742 commented 2 years ago

Hi @gregorwolf

we think that such issues can’t be solved in a library which is only targeting the React ecosystem - otherwise we would need to rebuild the same functionality for Vue, Angular, Svelte and all the other frameworks which might get relevant in the future. In our opinion the best way to solve this issue would be that a central team maintains some kind of an official JS Client, e.g. bound to the BTP Flexibility Service. Then we could discuss if offering an “react-optimized” adapter for this client is something we can offer. (only our personal opinion, not part of any roadmap!)