Skip to content

fix(order2): QA minor design fixes#16594

Merged
rquartararo merged 8 commits intomainfrom
rquartararo/order2-minor-design-fixes
Jan 14, 2026
Merged

fix(order2): QA minor design fixes#16594
rquartararo merged 8 commits intomainfrom
rquartararo/order2-minor-design-fixes

Conversation

@rquartararo
Copy link
Member

@rquartararo rquartararo commented Jan 13, 2026

The type of this PR is: Fix

This PR solves EMI-3027

Description

This PR fixes:

  • First step and offer summary are top-aligned
  • Payment element white input and black active text
  • Whole collapsible summary item is clickable to open, not just the open icon.
  • Fix payment step overflow
  • Reduce saved payment method left spacing when open
  • payment preview display brand

New saved payment options desgin

Screenshot 2026-01-12 at 10 01 31 PM

Payment element inputs

Screenshot 2026-01-13 at 8 48 09 AM

@rquartararo rquartararo requested review from ansor4 and oxaudo January 13, 2026 13:40
@rquartararo rquartararo self-assigned this Jan 13, 2026
>
Save bank account for later use.
</Checkbox>
<Flex p={2} position="relative">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prevents the tooltip from causing whitespace at the end of the page

<Order2ExpressCheckout order={orderData} />
)}
{isOffer && (
<>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gap={1} was adding space to these empty fragments, causing the layout spacing issues, so changed them to box

Copy link
Member

@oxaudo oxaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me.

One question on saved payments. The spacing in a screenshot looks a bit awkward to me - was not sure what that is. Comparing to the design realizing the whole content of the dropdown seem to have left margin in the design:

Image

Is that not something we can configure on Stripe?

@rquartararo
Copy link
Member Author

@oxaudo if we keep the left margin like the screenshot it would have to align with "Saved payments" but "Saved payments" needs to be the same margin as the Stripe elements to match, but it's not able to be changed on Stripe's side.

@relativeci
Copy link

relativeci bot commented Jan 13, 2026

#5939 Bundle Size — 9.53MiB (~-0.01%).

7e7881e(current) vs d66bf53 main#5937(baseline)

Warning

Bundle contains 34 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
#5939
     Baseline
#5937
Improvement  Initial JS 3.71MiB(~-0.01%) 3.71MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 43.31% 37.5%
No change  Chunks 99 99
No change  Assets 102 102
No change  Modules 5974 5974
No change  Duplicate Modules 613 613
No change  Duplicate Code 4.05% 4.05%
No change  Packages 297 297
No change  Duplicate Packages 33 33
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
#5939
     Baseline
#5937
Improvement  JS 9.39MiB (~-0.01%) 9.39MiB
No change  Other 143.59KiB 143.59KiB

Bundle analysis reportBranch rquartararo/order2-minor-design-...Project dashboard


Generated by RelativeCIDocumentationReport issue

switch (paymentMethod) {
case "CREDIT_CARD": {
if (paymentPreview && paymentPreview.__typename === "Card") {
const cardBrand = paymentPreview.displayBrand
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the payment preview (payment details in the context) card brand display as the string does not match what is needed for BrandCreditCardIcon component. We can remove this once we remove payment details from the context.

@rquartararo rquartararo merged commit 2e6927d into main Jan 14, 2026
14 checks passed
@rquartararo rquartararo deleted the rquartararo/order2-minor-design-fixes branch January 14, 2026 12:54
@artsy-peril artsy-peril bot mentioned this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants