Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/store-info-data-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@shopify/store': patch
---

Render `store info` details as a two-column data table and surface store URLs as clickable next-step actions (e.g. "View the storefront.").
Render `store info` details as a two-column data table and surface store URLs as clickable next-step actions (e.g. "View your store").
4 changes: 2 additions & 2 deletions packages/store/src/cli/services/store/info/result.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ describe('renderStoreInfoResult', () => {
const actions = storeActions()
expect(actions).toEqual([
{link: {label: 'Manage this store in the Shopify admin', url: 'https://admin.shopify.com/store/acme-widgets'}},
{link: {label: 'View the storefront', url: 'https://app.shopify.com/auth/preview-store?token=access-token'}},
{link: {label: 'View your store', url: 'https://app.shopify.com/auth/preview-store?token=access-token'}},
{
link: {
label: 'Save your progress on this store',
label: 'Save your store',
url: 'https://admin.shopify.com/store-transfer/accept/claim-token',
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/store/src/cli/services/store/info/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function storeDetailRows(result: StoreInfoResult): InlineToken[][] {
function storeActions(result: StoreInfoResult): LinkToken[] {
const actions: LinkToken[] = []
pushAction(actions, result.adminUrl, 'Manage this store in the Shopify admin')
pushAction(actions, result.accessUrl, 'View the storefront')
pushAction(actions, result.saveUrl, 'Save your progress on this store')
pushAction(actions, result.accessUrl, 'View your store')
pushAction(actions, result.saveUrl, 'Save your store')
Comment on lines +38 to +39
return actions
}

Expand Down
Loading