Skip to content

Commit 131d1d8

Browse files
authored
fix(insights): updated empty-state copy for caches / queues (#72905)
Better describe the benefits of using the cache / queue insights.
1 parent b1ef3b5 commit 131d1d8

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

static/app/views/performance/cache/cacheLandingPage.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ describe('CacheLandingPage', function () {
239239
await waitForElementToBeRemoved(() => screen.queryAllByTestId('loading-indicator'));
240240

241241
expect(
242-
screen.getByText('Start collecting Insights about your Caches!')
242+
screen.getByText('Make sure your application’s caching is behaving properly')
243243
).toBeInTheDocument();
244244
});
245245
});

static/app/views/performance/cache/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const MODULE_DESCRIPTION = t(
2323
export const MODULE_DOC_LINK = 'https://docs.sentry.io/product/insights/caches/';
2424

2525
export const ONBOARDING_CONTENT = {
26-
title: t('Start collecting Insights about your Caches!'),
27-
description: t('Our robot is waiting to collect your first cache hit.'),
26+
title: t('Make sure your application’s caching is behaving properly'),
27+
description: t('We tell you if your application is hitting cache as often as expected and whether it’s delivering the anticipated performance improvements.'),
2828
link: MODULE_DOC_LINK,
2929
};

static/app/views/performance/onboarding/modulesOnboarding.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ function ModulesOnboardingPanel({children}: {children: React.ReactNode}) {
5454
}
5555

5656
const PerfImage = styled('img')`
57-
-webkit-transform: scaleX(-1);
58-
transform: scaleX(-1);
59-
width: 600px;
57+
width: 260px;
6058
user-select: none;
6159
position: absolute;
6260
bottom: 0;
6361
right: 0;
62+
padding-right: ${space(1)};
6463
`;
6564

6665
const Container = styled('div')`
@@ -72,5 +71,6 @@ const Container = styled('div')`
7271

7372
const ContentContainer = styled('div')`
7473
position: relative;
74+
width: 70%;
7575
z-index: 1;
7676
`;

static/app/views/performance/queues/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export const MODULE_DOC_LINK =
4747
'https://docs.sentry.io/product/insights/queue-monitoring/';
4848

4949
export const ONBOARDING_CONTENT = {
50-
title: t('Start collecting Insights about your Queues!'),
51-
description: t('Our robot is waiting for your first background job to complete.'),
50+
title: t('Make sure your jobs complete without errors'),
51+
description: t('Track the behavior of background jobs at each step in their processing, allowing you to see whether jobs are completing on time and making it easy to debug when they are failing.'),
5252
link: MODULE_DOC_LINK,
5353
};
5454

Lines changed: 2 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)