Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Luigi's Box] recommended products #3099

Merged
merged 15 commits into from Apr 26, 2024
Merged

Conversation

TomasLudvik
Copy link
Member

@TomasLudvik TomasLudvik commented Apr 11, 2024

Q A
Description, the reason for the PR Luigi's Box comes with the ability to personalize recommended products for users. This PR added recommended products from Luigi's Box to the frontend API.
New feature Yes
BC breaks No
Fixes issues ...
Have you read and signed our License Agreement for contributions? Yes

🌐 Live Preview:

@TomasLudvik TomasLudvik added the Enhancement New feature or request for change from user point of view label Apr 11, 2024
@TomasLudvik TomasLudvik force-pushed the tl-luigis-box-recommendations branch 2 times, most recently from 6aec684 to bf6f848 Compare April 11, 2024 07:48
@TomasLudvik TomasLudvik force-pushed the tl-luigis-box-recommendations branch from bf6f848 to b0f049a Compare April 12, 2024 09:34
@TomasLudvik TomasLudvik force-pushed the tl-luigis-box-recommendations branch 3 times, most recently from b1a6bd2 to 37d4a13 Compare April 15, 2024 06:46
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch from aa961f7 to 0119337 Compare April 16, 2024 07:19
@TomasLudvik TomasLudvik force-pushed the tl-luigis-box-recommendations branch from ed310c8 to 3ffff35 Compare April 18, 2024 09:53
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch from 3ffff35 to f6c7b60 Compare April 18, 2024 11:41
@TomasLudvik TomasLudvik force-pushed the tl-luigis-box-recommendations branch 2 times, most recently from 902bb82 to 8b5a743 Compare April 18, 2024 15:15
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch 2 times, most recently from 8731770 to b82c12d Compare April 23, 2024 19:57
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch 2 times, most recently from 02af6c6 to 9f1df55 Compare April 24, 2024 17:08
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch 2 times, most recently from 163cd1c to 0ae8818 Compare April 24, 2024 17:09
…secutive renders

- this was necessary in order to have cookie-store-saved values
available on the server immediately, and to have it synced with the client
- this is controlled by 2 new env variables (IS_LUIGIS_BOX_ACTIVE_DOMAIN_1,
IS_LUIGIS_BOX_ACTIVE_DOMAIN_2)
- LB recommended products are used instead of promoted products on HP
if LB is active
-  ProductsSlider now accepts isMiniSlider prop, which decreases the number of
slides and removes certain parts from the product card
…e quantity changes

- this might happen if a product is added from cart page
- popup and overlay now stop propagation of mouse events, which
was necessary, because some scroll and drag events were propagated
to the content behind the popup, which worsened the UX
- portal component now removes any previous content before
mounting new one, which is helpful if a popup is opened while
another one is already open and visible
- when overlay is active, we set overflow on the body element to
hidden so that it is not possible to scroll the website while an
overlay is active
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch from 0061baf to 58825b5 Compare April 25, 2024 12:46
- now the approach we use it to modify the global state which
stores the current portal content
- because of this, we do not need to have local state with
popup data, but instead synchronously call functions
which update portal content and thus trigger rendering
- useErrorPopupVisibility was renamed to useErrorPopup
which now does not return anything but handles popup displaying
by itself
…the server and only behaves as a dynamic state on the client
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch from 58825b5 to 492d8b9 Compare April 25, 2024 12:46
@sebaholesz sebaholesz force-pushed the tl-luigis-box-recommendations branch from 492d8b9 to 3aa0a08 Compare April 26, 2024 05:58
@sebaholesz sebaholesz merged commit c2491ca into 14.0 Apr 26, 2024
17 checks passed
@sebaholesz sebaholesz deleted the tl-luigis-box-recommendations branch April 26, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request for change from user point of view
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants