Skip to content

Conversation

@chadcromwell
Copy link
Member

@chadcromwell chadcromwell commented Nov 20, 2025

Background

Our compliance partners need tipAmount available in the data payload they receive for reporting. This PR updates the BaseTransactionComplete type to include tipAmount as optional.

https://github.com/shop/issues-retail/issues/20523
https://github.com/shop/issues-retail/issues/20463

Solution

Add tipAmount to BaseTransactionComplete type

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

lrsterrett and others added 30 commits September 30, 2025 12:27
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…iew-docs

Remove preview observe targets from developer docs
…_listeners

Revert pos navigation event listeners
* version examples

* some changes
…2025-10 (#3439)

* Update broken component links

* Remove rc from migration guide page
Extended admin examples feature and templates to enable multiple exam…
This pull request updates the documentation and example scripts for UI extensions to require a newer version of Shopify CLI and removes the `POLARIS_UNIFIED` environment variable from CLI commands. These changes help ensure users follow the latest recommended setup process.

**Shopify CLI version updates:**

* Updated the required Shopify CLI version in documentation to `v3.85.3` in both admin and POS surfaces (`admin-extensions.ext.doc.ts`, `getting-started.doc.ts`). [[1]](diffhunk://#diff-728d010e900b001a7156b63c8f58fa877be9909266451551a4aec0bb2d12e271L72-R72) [[2]](diffhunk://#diff-e32f6bc63d737b6a87f0baeaaffcf517ca816a3631b1eb950d323bd0531fe94aL35-R35)

**Command usage updates:**

* Removed the `POLARIS_UNIFIED` environment variable from CLI commands in example scripts for both admin and POS surfaces (`getting-started.sh`, `generate-extension.bash`). [[1]](diffhunk://#diff-6fe85bcef2fa895721994b3be707480e3bdaef856e3db0f91e916a520829e64aL2-R8) [[2]](diffhunk://#diff-a3e845df92a5ba5b0e88cf08e7cf149e6d8b896d0bdc6fcde21d77d750cf2669L2-R2)
Added examples to media components
…ents

Added examples to admin title and text components
### Background

This PR improves the PIN Pad API documentation and example implementation for the Point of Sale UI extensions.

### Solution

- Added TypeScript type annotations to the PIN Pad example
- Improved the PIN Pad API documentation with clearer descriptions of callbacks and behavior
- Added default values to PIN Pad options documentation
- Enhanced the example implementation with better error handling by adding an error message when PIN validation fails
- Updated the example UI from a scroll box to a proper page component with heading
- Simplified the example by removing unnecessary pinPadAction

### 🎩

- Run the PIN Pad example in the Point of Sale surface
- Test PIN validation with both valid and invalid PINs to verify error message display

### Checklist

- [x] I have 🎩'd these changes
- [x] I have updated relevant documentation
shopify-github-actions-access bot and others added 28 commits October 29, 2025 14:32
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…e-items-2025-10

Adds components to POS cart line item interface
Submitting a minor release results in an incorrect version bump for the
package release PR, so we're going to try to release updates to POS cart
api as a patch instead.
Document window.close() for pos ui extensions
Add breadcrumbs and secondary actions examples to Page component
…_types

Expose il8n for POS ui extensions
Resolves shop/issues-retail#18596

# Add subscription example for Point of Sale UI extensions

## Background

This PR adds example code for a Point of Sale UI extension that demonstrates how to implement subscription functionality.

Related PR to view the code refs being used: [https://app.graphite.com/github/pr/Shopify/shopify-dev/64603/[POS-UI-Extension]-Build-subscription-UI-extension](https://app.graphite.com/github/pr/Shopify/shopify-dev/64603/%5BPOS-UI-Extension%5D-Build-subscription-UI-extension) 

## Solution

Added example files that demonstrate a complete subscription implementation for Point of Sale UI extensions:

- `Action.jsx` - Implements an action component that fetches and displays selling plans for a cart line item
- `FetchSellingPlans.js` - Contains the GraphQL query to fetch selling plans for a product variant
- `MenuItem.jsx` - Creates a menu item button that is enabled/disabled based on selling plan availability
- `Modal.jsx` - Implements a modal that displays available subscription options and handles selection
- `Tile.jsx` - Creates a tile component that subscribes to cart updates and enables/disables based on subscription eligibility
- `shopify.extension.toml` - Configuration file defining the extension targets including home tile, modal, and line item actions

The example demonstrates how to fetch selling plans via GraphQL, manage subscription state, and implement the UI components needed for a complete subscription flow in Point of Sale.

## 🎩

https://app.graphite.com/github/pr/Shopify/shopify-dev/64603

## Checklist

- [x] I have 🎩'd these changes
- [x] I have updated relevant documentation
…t-export

Adds point of sale LineItemComponent type export
Add icon preview to Admin UI Extensions documentation
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.