Skip to content

Web target presentation#378

Open
westeezy wants to merge 2 commits into
mainfrom
web-target-presentation
Open

Web target presentation#378
westeezy wants to merge 2 commits into
mainfrom
web-target-presentation

Conversation

@westeezy

Copy link
Copy Markdown
Contributor

What changes are you making?

Adds web checkout presentation modes and the embedded checkout auth protocol plumbing as separate commits.

  • Adds presentation support for auto and popup, while keeping target="popup" as a legacy compatibility path.
  • Updates docs and the sample app to expose only supported public presentation options.
  • Adds checkout auth plumbing for UCP embedded checkout:
    • passes the component auth value as ec_auth
    • strips any ec_auth already present in src
    • dispatches/responds to ec.ready auth requests
    • handles ec.auth credential refresh requests

Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

westeezy added 2 commits June 29, 2026 19:47
Add a presentation attribute/property so checkout can be opened as auto, popup, or iframe while keeping target as the browser context selector for auto mode.

Preserve target="popup" as a legacy popup alias for compatibility and update the sample/docs around the new presentation API.
Add a reflected auth attribute/property and send it to checkout as ec_auth while continuing to strip ec_auth values from incoming checkout URLs.

Dispatch respondable ec.ready and ec.auth events so hosts can provide credentials during the ECP handshake and refresh flow, with focused docs and tests.
@westeezy westeezy requested a review from a team as a code owner June 30, 2026 00:53
@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Jun 30, 2026
@github-actions

Copy link
Copy Markdown

Web — Coverage Report

Lines Statements Branches Functions
Coverage: 87%
86.41% (337/390) 79.36% (200/252) 96.34% (79/82)

@github-actions

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
Web npm tarball 55.9 KiB 65.3 KiB +9.3 KiB

Measured from the PR base SHA and PR head SHA. This comment reports package artifact sizes only; it is not a final app binary-size report.

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

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant