Skip to content

Commit 5ade0b2

Browse files
authored
Merge pull request #2900 from codecrafters-io/CC-1782
CC-1782: Tweak copy in "base stages completed" section
2 parents b09400d + 0816a63 commit 5ade0b2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

app/components/course-page/base-stages-completed-card.hbs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
<:header>
33
<div class="flex items-center mb-6 border-b dark:border-white/5 pb-2">
44
<img src={{this.congratulationsImage}} alt="Congratulations!" class="mr-3 w-10 h-10" />
5-
<span class="font-semibold text-lg text-gray-800 dark:text-gray-50">Base Stages Complete!</span>
5+
<span class="font-semibold text-lg text-gray-800 dark:text-gray-50">Congratulations &amp; next steps!</span>
66
</div>
77
</:header>
88

99
<:content>
1010
<div class="prose dark:prose-invert" data-test-instructions-text>
1111
<p>
12-
Nice work! You&apos;ve completed all the base stages for this challenge.
12+
Nice work! You&apos;ve successfully completed all the base stages in this challenge.
1313
</p>
1414

1515
<p>
16-
From here on, you can customize the order in which you want to complete the remaining stages.
16+
There are
17+
{{this.totalExtensionStagesCount}}
18+
more stages available in this challenge, categorised as extensions.
19+
</p>
20+
<p>
21+
You can customise the order in which you want to attempt them.
1722
</p>
1823
</div>
1924

app/components/course-page/base-stages-completed-card.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export default class BaseStagesCompletedCardComponent extends Component<Signatur
2323

2424
@tracked configureExtensionsModalIsOpen = false;
2525

26+
get totalExtensionStagesCount() {
27+
return this.args.repository.course.sortedExtensionStages.length;
28+
}
29+
2630
@action
2731
handleConfigureExtensionsButtonClick() {
2832
this.configureExtensionsModalIsOpen = true;

0 commit comments

Comments
 (0)