Open temitopeog opened 4 years ago
This was in code review but never finished, it's been a while so let's finish this in 3.x
PR: (#9952 ). I used a different approach and didn't reuse a lot of the code found in branch feature/GH-8086
. I've closed the PR associated with it.
Is your feature request related to a problem? Please describe. The ability to cut down a very long description on all product tabs so a user wouldnt have to go through a long description of texts before they reach the next tab.
Describe the solution you'd like The user can choose to "...see more" of the product description or just scroll down to the next tab
Describe alternatives you've considered None
Additional context Related to https://github.com/SAP/spartacus/issues/7629
Expected
Display a preview of the product description to the user. Prompt the
show more
button to allow them to fully expand the description.Short descriptions (400 characters or less), won't render the
show more
button.QA Steps
Visit product details for the following item: http://localhost:4200/electronics-spa/en/USD/Open-Catalogue/Cameras/DigitalCameras/Digital-Compacts/NV10/p/553637
Click
show more
to view full content.Test items with short descriptions http://localhost:4200/electronics-spa/en/USD/product/300938/Photosmart%20E317%20Digital%20Camera