-
Notifications
You must be signed in to change notification settings - Fork 121
Display "POS" label in Most recent orders section #16006
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
Display "POS" label in Most recent orders section #16006
Conversation
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a "POS" label to identify Point of Sale orders in the Most recent orders section of the My Store dashboard. The change enhances order visibility by displaying a distinctive badge next to the order status when an order was created through POS channels.
- Adds conditional "POS" badge display next to order status in dashboard rows
- Implements feature flag gating for the POS orders feature
- Updates UI layout to accommodate the new badge with proper spacing and styling
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| LastOrderDashboardRow.swift | Adds POS badge UI components and view model logic to display sales channel information |
| RELEASE-NOTES.txt | Documents the new POS label feature for user-facing release notes |
WooCommerce/Classes/ViewRelated/Dashboard/Orders/LastOrderDashboardRow.swift
Show resolved
Hide resolved
WooCommerce/Classes/ViewRelated/Dashboard/Orders/LastOrderDashboardRow.swift
Show resolved
Hide resolved
staskus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks and works well.
We could consider matching the corner radius for a status badge between most recent orders and orders list.

Display "POS" label in Most recent orders section
WOOMOB-949Description
This PR displays POS badge next to Order status in My Store -> Most recent orders section
Steps to reproduce
—
Testing information
Screenshots
RELEASE-NOTES.txtif necessary.