Skip to content

Commit 73d7fe4

Browse files
mcvincicursoragent
andauthored
[2025-04] Make API headings consistent in POS UI and Admin UI (#3835)
* Make API headings consistent for Admin UI Co-authored-by: Cursor <cursoragent@cursor.com> * Make API headings consistent for POS UI Co-authored-by: Cursor <cursoragent@cursor.com> Minor fixes Remove files Update remaining POS API headings to Methods Co-authored-by: Cursor <cursoragent@cursor.com> * Remove reference to non-existent loading prop on Button Co-authored-by: Cursor <cursoragent@cursor.com> * Rename 'Methods' to 'Properties' in API headings and descriptions Co-authored-by: Cursor <cursoragent@cursor.com> * Remove 'methods' from API description text, use 'properties' instead Co-authored-by: Cursor <cursoragent@cursor.com> * Revert title for applyMetafieldChange back to original name Co-authored-by: Cursor <cursoragent@cursor.com> * Revert title for picker back to original name Co-authored-by: Cursor <cursoragent@cursor.com> * Revert specific function/method titles back to original names Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4385206 commit 73d7fe4

26 files changed

Lines changed: 49 additions & 50 deletions

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/action-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
1313
type: 'APIs',
1414
definitions: [
1515
{
16-
title: 'ActionApi',
16+
title: 'Properties',
1717
description:
18-
'The `ActionApi` object provides methods for presenting modal interfaces. Access these methods through `api.action` to launch full-screen modal experiences.',
18+
'The `ActionApi` object provides properties for presenting modal interfaces. Access these properties through `api.action` to launch full-screen modal experiences.',
1919
type: 'ActionApiContent',
2020
},
2121
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/cart-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
1313
type: 'APIs',
1414
definitions: [
1515
{
16-
title: 'CartApi',
16+
title: 'Properties',
1717
description:
18-
'The `CartApi` object provides access to cart management methods and subscribable cart state. Access these methods through `api.cart` to build cart-aware extensions that respond to real-time cart updates.',
18+
'The `CartApi` object provides access to cart management and subscribable cart state. Access these properties through `api.cart` to build cart-aware extensions that respond to real-time cart updates.',
1919
type: 'CartApiContent',
2020
},
2121
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/connectivity-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const data: ReferenceEntityTemplateSchema = {
1212
type: 'APIs',
1313
definitions: [
1414
{
15-
title: 'ConnectivityApi',
15+
title: 'Properties',
1616
description:
17-
'The `ConnectivityApi` object provides methods for monitoring network connectivity. Access these methods through `api.connectivity` to check connection status and subscribe to connectivity changes.',
17+
'The `ConnectivityApi` object provides properties for monitoring network connectivity. Access these properties through `api.connectivity` to check connection status and subscribe to connectivity changes.',
1818
type: 'ConnectivityApiContent',
1919
},
2020
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/customer-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
1313
type: 'APIs',
1414
definitions: [
1515
{
16-
title: 'CustomerApi',
16+
title: 'Properties',
1717
description:
18-
'The `CustomerApi` object provides access to customer data. Access this property through `api.customer` to interact with the current customer context.',
18+
'The `CustomerApi` object provides access to customer data. Access these properties through `api.customer` to interact with the current customer context.',
1919
type: 'CustomerApiContent',
2020
},
2121
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/device-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const data: ReferenceEntityTemplateSchema = {
1212
type: 'APIs',
1313
definitions: [
1414
{
15-
title: 'DeviceApi',
15+
title: 'Properties',
1616
description:
17-
'The `DeviceApi` object provides access to device information and capabilities. Access these properties and methods through `api.device` to retrieve device details and check device characteristics.',
17+
'The `DeviceApi` object provides access to device information and capabilities. Access these properties through `api.device` to retrieve device details and check device characteristics.',
1818
type: 'DeviceApiContent',
1919
},
2020
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/draft-order-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const data: ReferenceEntityTemplateSchema = {
1010
type: 'APIs',
1111
definitions: [
1212
{
13-
title: 'DraftOrderApi',
13+
title: 'Properties',
1414
description:
15-
'The `DraftOrderApi` object provides access to draft order data. Access this property through `api.draftOrder` to interact with the current draft order context.',
15+
'The `DraftOrderApi` object provides access to draft order data. Access these properties through `api.draftOrder` to interact with the current draft order context.',
1616
type: 'DraftOrderApiContent',
1717
},
1818
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/locale-api.doc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const data: ReferenceEntityTemplateSchema = {
1212
type: 'APIs',
1313
definitions: [
1414
{
15-
title: 'LocaleApi',
15+
title: 'Properties',
1616
description:
1717
'The `LocaleApi` object provides access to current locale information and change notifications. Access these properties through `api.locale` to retrieve and monitor locale data.',
1818
type: 'LocaleApiContent',

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/navigation-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
1313
type: 'APIs',
1414
definitions: [
1515
{
16-
title: 'NavigationApi',
16+
title: 'Properties',
1717
description:
18-
'The global `navigation` object provides web-standard navigation functionality. Access these properties and methods directly through the global `navigation` object to manage navigation within modal interfaces.',
18+
'The global `navigation` object provides web-standard navigation functionality. Access these properties directly through the global `navigation` object to manage navigation within modal interfaces.',
1919
type: 'NavigationApiContent',
2020
},
2121
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/order-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
1313
type: 'APIs',
1414
definitions: [
1515
{
16-
title: 'OrderApi',
16+
title: 'Properties',
1717
description:
18-
'The `OrderApi` object provides access to order data. Access this property through `api.order` to interact with the current order context.',
18+
'The `OrderApi` object provides access to order data. Access these properties through `api.order` to interact with the current order context.',
1919
type: 'OrderApiContent',
2020
},
2121
],

packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/print-api.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const data: ReferenceEntityTemplateSchema = {
2020
type: 'APIs',
2121
definitions: [
2222
{
23-
title: 'PrintApi',
23+
title: 'Properties',
2424
description:
25-
'The `PrintApi` object provides methods for triggering document printing. Access these methods through `api.print` to initiate print operations with various document types.',
25+
'The `PrintApi` object provides properties for triggering document printing. Access these properties through `api.print` to initiate print operations with various document types.',
2626
type: 'PrintApiContent',
2727
},
2828
],

0 commit comments

Comments
 (0)