Skip to content

Commit a18236d

Browse files
authored
feat(compass-indexes): Updating Skills Banner Copy CLOUDP-35451 (#7508)
1 parent 23270b2 commit a18236d

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

packages/compass-indexes/src/components/indexes/indexes.spec.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ describe('Indexes Component', function () {
521521

522522
expect(
523523
screen.getByText(
524-
'Design and apply indexes that make queries run faster.'
524+
'Learn how to design efficient indexes to speed up queries.'
525525
)
526526
).to.be.visible;
527527

@@ -537,7 +537,7 @@ describe('Indexes Component', function () {
537537

538538
expect(
539539
screen.queryByText(
540-
'Design and apply indexes that make queries run faster.'
540+
'Learn how to design efficient indexes to speed up queries.'
541541
)
542542
).to.not.exist;
543543
expect(screen.queryByRole('link', { name: /go to skills/i })).to.not
@@ -552,7 +552,7 @@ describe('Indexes Component', function () {
552552

553553
expect(
554554
screen.queryByText(
555-
'Design and apply indexes that make queries run faster.'
555+
'Learn how to design efficient indexes to speed up queries.'
556556
)
557557
).to.not.exist;
558558
expect(screen.queryByRole('link', { name: /go to skills/i })).to.not
@@ -574,7 +574,7 @@ describe('Indexes Component', function () {
574574

575575
expect(
576576
screen.queryByText(
577-
'Design and apply indexes that make queries run faster.'
577+
'Learn how to design efficient indexes to speed up queries.'
578578
)
579579
).to.not.exist;
580580
});

packages/compass-indexes/src/components/indexes/indexes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export function Indexes({
303303
{getBanner()}
304304

305305
<AtlasSkillsBanner
306-
ctaText="Design and apply indexes that make queries run faster."
306+
ctaText="Learn how to design efficient indexes to speed up queries."
307307
skillsUrl="https://learn.mongodb.com/courses/indexing-design-fundamentals?team=growth"
308308
onCloseSkillsBanner={() => {
309309
setSkillDismissed(true);

packages/compass-schema/src/components/compass-schema.spec.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ describe('CompassSchema Component', function () {
162162

163163
expect(
164164
screen.getByText(
165-
'Learn how to add schema validation in this skill badge'
165+
'Learn how to effectively design and optimize your schema.'
166166
)
167167
).to.be.visible;
168168

169169
expect(screen.getByRole('link', { name: /go to skills/i })).to.be.visible;
170170
expect(
171171
screen.getByText(
172-
'Learn how to add schema validation in this skill badge'
172+
'Learn how to effectively design and optimize your schema.'
173173
)
174174
).to.be.visible;
175175

@@ -191,7 +191,7 @@ describe('CompassSchema Component', function () {
191191

192192
expect(
193193
screen.queryByText(
194-
'Learn how to add schema validation in this skill badge'
194+
'Learn how to effectively design and optimize your schema.'
195195
)
196196
).to.not.exist;
197197
expect(screen.queryByRole('link', { name: /go to skills/i })).to.not
@@ -206,7 +206,7 @@ describe('CompassSchema Component', function () {
206206

207207
expect(
208208
screen.queryByText(
209-
'Learn how to add schema validation in this skill badge'
209+
'Learn how to effectively design and optimize your schema.'
210210
)
211211
).to.not.exist;
212212
expect(screen.queryByRole('link', { name: /go to skills/i })).to.not
@@ -221,7 +221,7 @@ describe('CompassSchema Component', function () {
221221

222222
expect(
223223
screen.queryByText(
224-
'Learn how to add schema validation in this skill badge'
224+
'Learn how to effectively design and optimize your schema.'
225225
)
226226
).to.not.exist;
227227
expect(screen.queryByRole('link', { name: /go to skills/i })).to.not
@@ -236,7 +236,7 @@ describe('CompassSchema Component', function () {
236236

237237
expect(
238238
screen.getByText(
239-
'Learn how to add schema validation in this skill badge'
239+
'Learn how to effectively design and optimize your schema.'
240240
)
241241
).to.be.visible;
242242

@@ -248,7 +248,7 @@ describe('CompassSchema Component', function () {
248248
await waitFor(() => {
249249
expect(
250250
screen.queryByText(
251-
'Learn how to add schema validation in this skill badge'
251+
'Learn how to effectively design and optimize your schema.'
252252
)
253253
).to.not.exist;
254254
});

packages/compass-schema/src/components/compass-schema.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ const Schema: React.FunctionComponent<{
444444
<div className={contentStyles}>
445445
{enablePerformanceAdvisorBanner && <PerformanceAdvisorBanner />}
446446
<AtlasSkillsBanner
447-
ctaText="Learn how to add schema validation in this skill badge"
447+
ctaText="Learn how to effectively design and optimize your schema."
448448
skillsUrl="https://learn.mongodb.com/skills?team=growth&openTab=data+modeling"
449449
onCloseSkillsBanner={() => {
450450
setDismissed(true);

0 commit comments

Comments
 (0)