Skip to content

Adds banner targets to close session view and post-purchase screen #3131

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

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

Profilist
Copy link

@Profilist Profilist commented Aug 6, 2025

Background

This PR adds two new banner extention targets for POS UI Extensions as part of the Extensible Cash Management on POS project:

  • pos.purchase.post.banner.render - Allows rendering a banner at the top of the post-purchase screen
  • pos.cash-tracking-session-float.banner.render - Allows rendering a banner during the end cash tracking session flow on the Set Desired Float screen

Solution

Added the following:

  1. New target type definitions in ExtensionTargetType.ts and TargetLink.ts
  2. Documentation files for both new targets
  3. Example implementations in both TypeScript and React
  4. Updated the ExtensionTargets interface to include the new banner targets with appropriate API types


🎩

  • Verified the documentation renders correctly
  • Tested the example implementations with both TypeScript and React approaches
  • Confirmed the new targets are properly typed in the extension API

Checklist

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

Copy link
Author

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

@Profilist Profilist marked this pull request as ready for review August 6, 2025 20:55
Copy link
Contributor

github-actions bot commented Aug 6, 2025

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset directory. If the changes are user-facing and should cause a version bump, run yarn changeset to track your changes and include them in the next release CHANGELOG. If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.

Copy link
Contributor

github-actions bot commented Aug 6, 2025

📝 POS Version Documentation Reminder

We detected changes in packages/*/src/surfaces/point-of-sale, but there are no updates to the POS versions documentation.

If these changes are user-facing and should be documented in the version changelog, please update:
packages/ui-extensions/docs/surfaces/point-of-sale/staticPages/pages/versions.doc.ts

If you are making internal changes that don't affect the public API, you can ignore this reminder.

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