Skip to content

Add POS background extension template#417

Open
vctrchu wants to merge 2 commits into
mainfrom
pos-background-template
Open

Add POS background extension template#417
vctrchu wants to merge 2 commits into
mainfrom
pos-background-template

Conversation

@vctrchu

@vctrchu vctrchu commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Background

Adds a scaffold for POS background extensions targeting pos.app.ready.data, the persistent background target shipping in the 2026-07 API. Resolves shop/issues-retail#29623.

Supersedes the earlier closed attempt (#408), which built the scaffold by overwriting the web-pixel-extension template. This lands it as its own template instead, leaving web-pixel-extension untouched.

Solution

  • New pos-background/ template dir, mirroring the existing pos-action / pos-block / pos-smart-grid structure.
  • Registered pos_background in templates.json (ui_extension, TypeScript + JavaScript flavors).
  • Scaffold targets pos.app.ready.data with api_version = "2026-07" and example shopify.addEventListener handlers for transactioncomplete, cashtrackingsessionstart, and cashtrackingsessioncomplete.
  • Dependency pinned to the published @shopify/ui-extensions 2026.7.x, matching sibling templates.

Checklist

  • I have 🎩'd these changes
  • I have squashed my commits into chunks of work with meaningful commit messages

Monorail CI check running in Buildkite added 2 commits June 30, 2026 18:12
Assisted-By: devx/ad8a9826-c8c5-4579-8ce6-44cd1b431ab4
Assisted-By: devx/ad8a9826-c8c5-4579-8ce6-44cd1b431ab4
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.

1 participant