Skip to content
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

[Shipping labels] Integrate print label action into UI layer in Woo Shipping flow #14538

Closed
rachelmcr opened this issue Nov 27, 2024 · 1 comment · Fixed by #14545
Closed
Assignees
Labels
feature: shipping labels Related to creating, ordering, or printing shipping labels. type: task An internally driven task.

Comments

@rachelmcr
Copy link
Contributor

In WooShippingPostPurchaseView, we need to print the label when the print button is tapped. This should:

  • Dispatch the action to fetch the label data from remote for the selected paper size.
  • Present the system print controller with the fetched data.

We might be able to reuse some or all of the logic in PrintShippingLabelCoordinator for this.

Note: Per the discussion in Slack (p1732618862774319-slack-C02KUCFCSFP) we are not using the default paper size set in the store; that will be implemented in a later milestone. For now we only need to handle the paper size selected in the UI.

@rachelmcr rachelmcr added feature: shipping labels Related to creating, ordering, or printing shipping labels. type: task An internally driven task. labels Nov 27, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: shipping labels Related to creating, ordering, or printing shipping labels. type: task An internally driven task.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants