Skip to content

Comments

Create mocks for the entire point-of-sale extension API#3904

Open
kumar303 wants to merge 1 commit into02-12-create_mocks_for_the_entire_checkout_extension_apifrom
02-12-create_mocks_for_the_entire_point-of-sale_extension_api
Open

Create mocks for the entire point-of-sale extension API#3904
kumar303 wants to merge 1 commit into02-12-create_mocks_for_the_entire_checkout_extension_apifrom
02-12-create_mocks_for_the_entire_point-of-sale_extension_api

Conversation

@kumar303
Copy link
Contributor

@kumar303 kumar303 commented Feb 12, 2026

Follow up to #3899 that adds a complete, type-safe mock of the point-of-sale extension API

👁️ How to review this PR

Copy link
Contributor Author

kumar303 commented Feb 12, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

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

@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from d914c44 to d388e93 Compare February 12, 2026 16:45
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from fb69053 to 42dd415 Compare February 12, 2026 16:45
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from d388e93 to 247ecdf Compare February 12, 2026 17:02
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 42dd415 to 23ed497 Compare February 12, 2026 17:02
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 247ecdf to 844aff7 Compare February 12, 2026 17:23
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 23ed497 to 3e06b36 Compare February 12, 2026 17:23
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 3e06b36 to 072992f Compare February 12, 2026 19:44
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 844aff7 to c8b1e1c Compare February 12, 2026 19:44
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from c8b1e1c to 15dff41 Compare February 13, 2026 11:46
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch 4 times, most recently from bb5b1ed to 344b671 Compare February 13, 2026 14:57
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 15dff41 to b2a237f Compare February 13, 2026 15:11
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 344b671 to af00386 Compare February 13, 2026 15:11
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from b2a237f to c9897ed Compare February 13, 2026 15:33
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from af00386 to 7049f9e Compare February 13, 2026 15:33
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from c9897ed to 433f8fd Compare February 13, 2026 15:34
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch 4 times, most recently from 4fd668d to d8892b1 Compare February 13, 2026 22:58
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 433f8fd to aa7b07b Compare February 13, 2026 23:00
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch 2 times, most recently from 927c5cb to d4e5c3d Compare February 13, 2026 23:04
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch 2 times, most recently from 040affd to 6fdecec Compare February 23, 2026 17:34
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from c86fb8f to 6588884 Compare February 23, 2026 17:34
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 6fdecec to 58f1a20 Compare February 24, 2026 10:12
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 6588884 to dc785e2 Compare February 24, 2026 10:12
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 58f1a20 to 8966550 Compare February 24, 2026 10:14
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from dc785e2 to ca3a20d Compare February 24, 2026 10:14
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 8966550 to a77c904 Compare February 24, 2026 10:49
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch 2 times, most recently from 6afbc5a to e04bdfe Compare February 24, 2026 11:14
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch 2 times, most recently from 17937cc to f2af9e8 Compare February 24, 2026 11:23
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from e04bdfe to 4c9b881 Compare February 24, 2026 11:23
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from f2af9e8 to 883ccce Compare February 24, 2026 11:29
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 4c9b881 to 1ab00cd Compare February 24, 2026 11:29
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 883ccce to 8751012 Compare February 24, 2026 11:53
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 1ab00cd to 724d295 Compare February 24, 2026 11:53
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 8751012 to fc22751 Compare February 24, 2026 14:01
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 724d295 to 2364cea Compare February 24, 2026 14:01
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from fc22751 to 5830102 Compare February 24, 2026 14:11
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 2364cea to 6ec4c50 Compare February 24, 2026 14:11
@kumar303 kumar303 marked this pull request as ready for review February 24, 2026 14:27
Copy link
Contributor

@js-goupil js-goupil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

lineItems.map((item) => (
<s-stack key={item.uuid} direction="inline">
<s-text>{item.title}</s-text>
<s-text>Qty: {item.quantity}</s-text>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be neat to include a button which onClick would call shopify.cart.addLineItem(variantId, quantity) or something. Just a nice extra example to help developers/AI understand how to test callbacks with parameters.

@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from 5830102 to d920deb Compare February 24, 2026 15:35
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 6ec4c50 to 32fb2a4 Compare February 24, 2026 15:35
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_checkout_extension_api branch from d920deb to dec5622 Compare February 24, 2026 16:41
@kumar303 kumar303 force-pushed the 02-12-create_mocks_for_the_entire_point-of-sale_extension_api branch from 32fb2a4 to a026d49 Compare February 24, 2026 16:41
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.

2 participants