[Feature Request]: Official Support for Rendering both Table tags in same App
Feature Request Description
We need a way to support both Table tags at the same time within the same Webpack bundle and running at the same time. This will enable large applications with several Table-based pages to slowly adopt the new version of the Table of various pages in an SPA (single page application) - creating parallel copies of each of the Components and allowing separate FeatureToggles to enable the new version of individual pages for testing purposes.
There may be an existing way to do this with some creative/hacky solution by modifying the metadata - so far I haven't gotten it to work though.
Proposed Solution
A public function that can be imported to change the tag used by the new or old Table component(s) that will allow both to be used with no name collision.
Proposed Alternatives
Force all applications to use only 1 feature toggle that will activate the new Table behavior for all of the pages at the same time. This will block adoptions of the new Table until all teams are finished and ready to go live with the new upgraded implementation.
Another alternative - release a new "ui5-webcomponents-compat" project that renames the legacy Table tags with a -compat suffix.
Organization
SuccessFactors
Additional Context
In my opinion - I think we should also have another look at the strategy that we followed here in releasing a new version of a webcomponent that has backwards incompatibility. Is it really buying us a lot here to keep both the old and new table tags having exactly the same name? Couldn't the old one get a suffix or the new one?
Priority
Medium
Privacy Policy
- [x] I’m not disclosing any internal or sensitive information.
Please note - this issue impacts the ui5 webcomponent react documentation here:
Steps: Go to the following storybooks without refreshing the page
- https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/data-display-table--docs
- https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/legacy-components-table--docs
Actual display:
Expected display (after refresh):
Wouldn't it be nice if this page could not catastrophically fail and you could use both?
Hello @SAP/ui5-webcomponents-topic-core ,
Can you take a look at this feature request?
Thanks and Regards, Yana
This issue has been closed. To reopen, just leave a comment!
:tada: This issue has been resolved in version v2.12.0 :tada:
The release is available on v2.12.0
Your semantic-release bot :package::rocket: