chore: update display for offer on top of limited partner offer#16908
chore: update display for offer on top of limited partner offer#16908
Conversation
| List price: {artworkData.price} | ||
| </Text> | ||
| {isOfferOnTopOfPartnerOffer && | ||
| orderData.lineItems?.[0]?.listPrice?.__typename === "Money" && |
There was a problem hiding this comment.
Non-blocking: can we extract these conditions to a separate variable
| timer.hasValidRemainingTime && ( | ||
| <Text variant="sm" color="blue100" textAlign="left"> | ||
| Gallery offer: {orderData.lineItems[0].listPrice.display}{" "} | ||
| <span style={{ whiteSpace: "nowrap" }}> |
There was a problem hiding this comment.
Curious what this looks like on mobile when the text overflows. Do you have a screenshot?
| const isOfferOnTopOfPartnerOffer = | ||
| isOffer && orderData.source === "PARTNER_OFFER" | ||
|
|
||
| // Calculate timer for partner offer |
There was a problem hiding this comment.
Non-blocking: this might be nice to have in a util file if we feel it's going to be reused
There was a problem hiding this comment.
This whole timer at some point should probably be consolidated. I created a separate ticket for that on CMS side (https://artsyproduct.atlassian.net/browse/EMI-3024) We probably want to do it here as well. I'll add one.
There was a problem hiding this comment.
Ok. Added one for Force as well: https://artsyproduct.atlassian.net/browse/EMI-3115
#7110 Bundle Size — 8.65MiB (-0.08%).855961c(current) vs 6e64382 main#7107(baseline) Warning Bundle contains 31 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
Bundle analysis report Branch oxaudo/partner_offer Project dashboard Generated by RelativeCI Documentation Report issue |

Address final variation for https://artsyproduct.atlassian.net/browse/EMI-3108
Current look:
