Skip to content

Commit bd06d7f

Browse files
committed
refactor: use semantic label for clickable links per review feedback
- Changed link labels from URLs to 'Create one now' - Removed duplicate text from messages to avoid repetition - Improves user experience with clearer action text Addresses reviewer feedback on PR #6043
1 parent 58a1e8c commit bd06d7f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,9 +1049,9 @@ export class AppManagementClient implements DeveloperPlatformClient {
10491049
async getCreateDevStoreLink(org: Organization): Promise<TokenItem> {
10501050
const url = `https://${await developerDashboardFqdn()}/dashboard/${org.id}/stores`
10511051
return [
1052-
`Looks like you don't have any dev stores associated with ${org.businessName}'s Dev Dashboard. Create one now`,
1052+
`Looks like you don't have any dev stores associated with ${org.businessName}'s Dev Dashboard.`,
10531053
'\n',
1054-
{link: {url, label: url}},
1054+
{link: {url, label: 'Create one now'}},
10551055
]
10561056
}
10571057

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,9 @@ export class PartnersClient implements DeveloperPlatformClient {
649649
async getCreateDevStoreLink(org: Organization): Promise<TokenItem> {
650650
const url = `https://${await partnersFqdn()}/${org.id}/stores`
651651
return [
652-
`Looks like you don't have any dev stores associated with ${org.businessName}'s Partner Dashboard. Create one now`,
652+
`Looks like you don't have any dev stores associated with ${org.businessName}'s Partner Dashboard.`,
653653
'\n',
654-
{link: {url, label: url}},
654+
{link: {url, label: 'Create one now'}},
655655
]
656656
}
657657

0 commit comments

Comments
 (0)