Skip to content

Commit e424b84

Browse files
Rivernickwesselman
andcommitted
Update dev store link text for clarity
Change the 'Create one now' link label to 'Create a store in Dev Dashboard' (or 'Create a store in Partner Dashboard' for the partners client) to make the call-to-action clearer about what the link does and where it goes. Co-authored-by: Nick Wesselman <nick.wesselman@shopify.com>
1 parent 7a735be commit e424b84

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/app/src/cli/models/app/app.test-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ export function testDeveloperPlatformClient(stubs: Partial<DeveloperPlatformClie
14381438
devSessionDelete: (_input: DevSessionDeleteOptions) => Promise.resolve({devSessionDelete: {userErrors: []}}),
14391439
getCreateDevStoreLink: (org: Organization) =>
14401440
Promise.resolve(
1441-
`Looks like you don't have any dev stores associated with ${org.businessName}'s Partner Dashboard. Create one now https://partners.shopify.com/1234/stores`,
1441+
`Looks like you don't have any dev stores associated with ${org.businessName}'s Partner Dashboard. Create a store in Partner Dashboard https://partners.shopify.com/1234/stores`,
14421442
),
14431443
...stubs,
14441444
}

packages/app/src/cli/services/dev/select-store.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ describe('selectStore', async () => {
214214
clientName: ClientName.AppManagement,
215215
getCreateDevStoreLink: (org: Organization) =>
216216
Promise.resolve(
217-
`Looks like you don't have any dev stores associated with ${org.businessName}'s Dev Dashboard. Create one now https://dev.shopify.com/dashboard/1234/stores`,
217+
`Looks like you don't have any dev stores associated with ${org.businessName}'s Dev Dashboard. Create a store in Dev Dashboard https://dev.shopify.com/dashboard/1234/stores`,
218218
),
219219
})
220220

packages/app/src/cli/utilities/developer-platform-client/app-management-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ export class AppManagementClient implements DeveloperPlatformClient {
10641064
const url = `https://${await developerDashboardFqdn()}/dashboard/${org.id}/stores`
10651065
return [
10661066
`Looks like you don't have any dev stores associated with ${org.businessName}'s Dev Dashboard.`,
1067-
{link: {url, label: 'Create one now'}},
1067+
{link: {url, label: 'Create a store in Dev Dashboard'}},
10681068
]
10691069
}
10701070

packages/app/src/cli/utilities/developer-platform-client/partners-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ export class PartnersClient implements DeveloperPlatformClient {
674674
const url = `https://${await partnersFqdn()}/${org.id}/stores`
675675
return [
676676
`Looks like you don't have any dev stores associated with ${org.businessName}'s Partner Dashboard.`,
677-
{link: {url, label: 'Create one now'}},
677+
{link: {url, label: 'Create a store in Partner Dashboard'}},
678678
]
679679
}
680680

0 commit comments

Comments
 (0)