Skip to content

Conversation

@itsmeichigo
Copy link
Contributor

@itsmeichigo itsmeichigo commented Dec 15, 2022

Part of #8390
⚠️ This PR depends on #8402 so please make sure to merge that first ⚠️

Description

This PR updates CouponListMapper and CouponMapper to parse coupons regardless of whether the data envelope is present in the response.

Testing instructions

  • Navigate to Menu > Coupons. If the option is unavailable, navigate to Settings > Experimental Features > Enable coupon management.
  • Notice that the coupon list is loaded properly.
  • Try searching, creating, editing, deleting coupons. Everything should work as before.

Screenshots

N/A


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@itsmeichigo itsmeichigo added type: task An internally driven task. feature: coupons Related to basic fulfillment such as order tracking. labels Dec 15, 2022
@itsmeichigo itsmeichigo marked this pull request as ready for review December 15, 2022 08:59
@peril-woocommerce
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8416-9e02521 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@selanthiraiyan selanthiraiyan self-assigned this Dec 16, 2022
Copy link
Contributor

@selanthiraiyan selanthiraiyan left a comment

Choose a reason for hiding this comment

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

LGTM 🚢

@itsmeichigo itsmeichigo changed the base branch from feat/8389-network-update-for-rest-api to trunk December 16, 2022 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: coupons Related to basic fulfillment such as order tracking. type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants