-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add cash tracking session event targets for POS Compliance #2567
Conversation
This comment has been minimized.
This comment has been minimized.
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Show resolved
Hide resolved
c2e0fcd
to
793e51a
Compare
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Outdated
Show resolved
Hide resolved
793e51a
to
bf42c5b
Compare
bf42c5b
to
31b4b2c
Compare
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.
LGTM, the naming this aligns with the POS targets sheet. We can add more properties as you expand the scope
packages/ui-extensions/docs/surfaces/point-of-sale/reference/types/ExtensionTargetType.ts
Outdated
Show resolved
Hide resolved
4155b9b
to
d1e91ea
Compare
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.
Sorry for RC, PR looks good, just wanted to raise the alarm on a decision we're also making for the PurchaseCompleteInput as well
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Outdated
Show resolved
Hide resolved
d1e91ea
to
f89d0e1
Compare
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Outdated
Show resolved
Hide resolved
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.
Small comments but I think we should make the input names more descriptive, makes the code more obvious and readable
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Outdated
Show resolved
Hide resolved
packages/ui-extensions/src/surfaces/point-of-sale/event/input/CashTrackingSessionInput.ts
Outdated
Show resolved
Hide resolved
f89d0e1
to
b50a76a
Compare
Background
Part of, https://github.com/Shopify/pos-next-react-native/issues/51030
Solution
pos.cash-tracking-session-start.event.observe
pos.cash-tracking-session-cancel.event.observe
pos.cash-tracking-session-complete.event.observe
🎩
Checklist