-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add to basket experiment mp-346 #5380
Conversation
Do we need to account for Anonymous loans in this work? I can't remember if Anonymous loans return "Anonymous" in the name field. I know they are few and far between, I can't even find one at the moment. @emuvente |
Loans can only become anonymous after the fundraising period, so it shouldn't be a problem for this work. When loans are anonymous then the name does only come through from the API as "Anonymous". |
So it looks like we're just enabling this on the category pages? Or do we also want it enabled on |
While testing on the category page, I also noticed that sometimes the animated bubbles go behind the other loan cards on the page. Make sure the z indexing is correct to make the bubbles always be on the top. I mostly noticed when I clicked a button on the left side of a row. |
I noticed that the header doesn't become sticky until you add a loan to the basket. This means that there is a weird jump in the page layout when you are scrolled down a bit and add a loan to the basket. The jump can be seen more in mobile view. Would we rather want to have the header be sticky always for the experiment (whether there are loans in the basket or not)? |
Thanks for checking, this should be fixed with kiva/kv-ui-elements#428 |
Yeah.. your solution seems like the most straightforward. I tried to make it sticky after the viewport but it looks weird because the cart modal appears with margin top value of the header's height on desktop. @emuvente what do you think? |
I don't think we want to test making the header sticky always as part of this experiment. Could we try using a transition to slide the header in from the top instead of a sudden jump? |
Yeah, I added transition in my last commit just to soft page jump |
🎉 This PR is included in version 2.748.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.748.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Bubble up an small borrower image to the new basket and show cart modal
add-to-basket-exp.mov