From 447271d339a3576902a83f102cb3bc90c61e4cbb Mon Sep 17 00:00:00 2001 From: Ariel Caplan Date: Thu, 25 Jun 2026 13:13:20 +0300 Subject: [PATCH] Move preview store name into card body instead of a single-row table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Store created" card showed the store name in a one-row table, which looks awkward. Fold the name into the body copy (Your Shopify store "" is ready...) so it reads naturally and stays less emphasized — important since auto-generated names like "My Store" would look odd in the title. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../cli/services/store/create/preview/index.test.ts | 2 +- .../src/cli/services/store/create/preview/index.ts | 3 +-- .../cli/services/store/create/preview/result.test.ts | 12 +++--------- .../src/cli/services/store/create/preview/result.ts | 6 ------ 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/packages/store/src/cli/services/store/create/preview/index.test.ts b/packages/store/src/cli/services/store/create/preview/index.test.ts index f5be54ad42e..63f82107e28 100644 --- a/packages/store/src/cli/services/store/create/preview/index.test.ts +++ b/packages/store/src/cli/services/store/create/preview/index.test.ts @@ -47,7 +47,7 @@ describe('preview store create service', () => { expect(result).toEqual({ status: 'success', message: - 'Your Shopify store is ready. This store is temporary. Create a free Shopify account to save it and start selling.', + 'Your Shopify store "Lavender Candles" is ready. This store is temporary. Create a free Shopify account to save it and start selling.', store: { id: '123', name: 'Lavender Candles', diff --git a/packages/store/src/cli/services/store/create/preview/index.ts b/packages/store/src/cli/services/store/create/preview/index.ts index 1c4f8948ab2..8fe63078993 100644 --- a/packages/store/src/cli/services/store/create/preview/index.ts +++ b/packages/store/src/cli/services/store/create/preview/index.ts @@ -95,8 +95,7 @@ async function persistPreviewStoreSession( return { status: 'success', - message: - 'Your Shopify store is ready. This store is temporary. Create a free Shopify account to save it and start selling.', + message: `Your Shopify store "${response.shop.name}" is ready. This store is temporary. Create a free Shopify account to save it and start selling.`, store: { id: response.shop.id, name: response.shop.name, diff --git a/packages/store/src/cli/services/store/create/preview/result.test.ts b/packages/store/src/cli/services/store/create/preview/result.test.ts index 439a62349d8..93edf444812 100644 --- a/packages/store/src/cli/services/store/create/preview/result.test.ts +++ b/packages/store/src/cli/services/store/create/preview/result.test.ts @@ -15,7 +15,7 @@ vi.mock('@shopify/cli-kit/node/ui', async () => { const result = { status: 'success' as const, message: - 'Your Shopify store is ready. This store is temporary. Create a free Shopify account to save it and start selling.', + 'Your Shopify store "Lavender Candles" is ready. This store is temporary. Create a free Shopify account to save it and start selling.', store: { id: '123', name: 'Lavender Candles', @@ -34,7 +34,7 @@ describe('preview store create result presenter', () => { { status: 'success', message: - 'Your Shopify store is ready. This store is temporary. Create a free Shopify account to save it and start selling.', + 'Your Shopify store "Lavender Candles" is ready. This store is temporary. Create a free Shopify account to save it and start selling.', store: { id: '123', name: 'Lavender Candles', @@ -62,13 +62,7 @@ describe('preview store create result presenter', () => { headline: 'Store created', customSections: [ { - body: { - tabularData: [['Name', 'Lavender Candles']], - firstColumnSubdued: true, - }, - }, - { - body: 'Your Shopify store is ready. This store is temporary. Create a free Shopify account to save it and start selling.', + body: 'Your Shopify store "Lavender Candles" is ready. This store is temporary. Create a free Shopify account to save it and start selling.', }, { title: 'Next steps', diff --git a/packages/store/src/cli/services/store/create/preview/result.ts b/packages/store/src/cli/services/store/create/preview/result.ts index 2f35bc81914..491f3f895e4 100644 --- a/packages/store/src/cli/services/store/create/preview/result.ts +++ b/packages/store/src/cli/services/store/create/preview/result.ts @@ -62,12 +62,6 @@ function renderTextResult(result: CreatePreviewStoreResult): void { // eslint-disable-next-line @shopify/cli/banner-headline-format headline: 'Store created', customSections: [ - { - body: { - tabularData: [['Name', result.store.name]], - firstColumnSubdued: true, - }, - }, { body: result.message, },