Skip to content

v12.7.0

Latest

Choose a tag to compare

@Gnito Gnito released this 10 Nov 13:33
· 2 commits to main since this release
391462b

This release refactors CheckoutPage and checkout flow heavily and moves some payment method related code patterns close to transaction process as transaction process is the source of truth what payment methods it supports.

Read the related PR carefully before taking update from the upstream:
#904

In addition, there are improvements to accessibility, updates to translations, webpack and webpack-dev-server.

Translation changes

Deleted translations

-   "SavedCardDetails.cancel": "Cancel",
-   "SavedCardDetails.deletePaymentMethod": "Remove payment card",
-   "SavedCardDetails.expiredCardText": "This payment card has expired.",
-   "SavedCardDetails.removeCard": "Remove card",
-   "SavedCardDetails.removeCardModalContent": "The payment card •••• •••• •••• {last4Digits} will be removed from your account.",
-   "SavedCardDetails.removeCardModalTitle": "Are you sure you want to remove this payment card?",
-   "SavedCardDetails.replaceCardText": "Credit or debit card",
-   "SavedCardDetails.replaceCardTitle": "Use another payment card",
-   "SavedCardDetails.savedPaymentMethodPlaceholderDesktop": "•••• •••• •••• {last4Digits}",
-   "SavedCardDetails.savedPaymentMethodPlaceholderMobile": "…{last4Digits}",

New translations

  "ListingImageGallery.screenreader.nextImage": "Next image",
  "ListingImageGallery.screenreader.previousImage": "Previous image",
  "ListingPage.screenreader.showMap": "Show interactive map",
  "PaymentMethodPicker.cancel": "Cancel",
  "PaymentMethodPicker.deletePaymentMethod": "Remove payment card",
  "PaymentMethodPicker.expiredCardText": "This payment card has expired.",
  "PaymentMethodPicker.removeCard": "Remove card",
  "PaymentMethodPicker.removeCardModalContent": "The payment card •••• •••• •••• {last4Digits} will be removed from your account.",
  "PaymentMethodPicker.removeCardModalTitle": "Are you sure you want to remove this payment card?",
  "PaymentMethodPicker.otherPaymentMethodsTitle": "Use another payment card",
  "PaymentMethodPicker.cardPaymentMethod": "Credit or debit card",
  "PaymentMethodPicker.savedPaymentMethodPlaceholderDesktop": "•••• •••• •••• {last4Digits}",
  "PaymentMethodPicker.savedPaymentMethodPlaceholderMobile": "…{last4Digits}",

Changes v12.7.0

  • [change] Refactor checkout flow.

    • Move payment-related transaction info closer to transaction process. (transactionProcess*.js
      files must export supportedPayments info.)
    • Move transitions needed on the checkout page to the process files
    • hasPaymentExpired function was moved to the process files
    • Rename: SavedCardDetails => PaymentMethodPicker
    • Make it easier to add support for additional payment methods, but this does not enable any push
      methods. This drafts a partial flow to make it easier to add support.

    #904

  • [change] Update README #977

  • [add] Add currently available translations.
    #975

  • [add] Add a CircleCI job to check that translations are sorted alphabetically.
    #974

  • [change] en.json: sort translation keys alphabetically.
    #973

  • [add] ListingPage: Add accessible name for the static-to-interactive button.
    #958

  • [add] ListingPage: Add accessible names for next and previous buttons in the carousel.
    #957

  • [fix] OrderPanel: silence the error added on 971 on tests.
    #972

  • [fix] OrderPanel: display a more helpful error message when the provider commission is bigger than
    the listing price. #971

  • [change] Update concurrently to v10.0.6.
    #970

  • [change] Update webpack and webpack-dev-server.
    #969