From 4ea1d0546ca21585f19473621eb88d3c0aaecf4e Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:24:13 +0800 Subject: [PATCH 1/2] feat(course): Add temporary card for course stage 2 improvements [percy] --- app/templates/course/stage/instructions.hbs | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/app/templates/course/stage/instructions.hbs b/app/templates/course/stage/instructions.hbs index 9a7e2689a..db02b8203 100644 --- a/app/templates/course/stage/instructions.hbs +++ b/app/templates/course/stage/instructions.hbs @@ -91,6 +91,33 @@ + {{! TODO: Remove this temporary card }} + {{#if (and @model.courseStage.isSecond (eq @model.courseStage.course.slug "shell"))}} +
+ avatar +
+

Hi there! I'm Andy 👋

+

+ I'm working on improving our stage 2 experience. +

+

+ If you find anything confusing here, mind letting me know on + + this forum post + ? +

+
+
+ {{/if}} +

Hints

From bdd2618948aa9c7f951003a30de81d5b6684acb3 Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Fri, 27 Dec 2024 04:52:49 +0800 Subject: [PATCH 2/2] fix: Remove unnecessary code and update layout in instructions.hbs --- app/templates/course/stage/instructions.hbs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/app/templates/course/stage/instructions.hbs b/app/templates/course/stage/instructions.hbs index db02b8203..c654faaa8 100644 --- a/app/templates/course/stage/instructions.hbs +++ b/app/templates/course/stage/instructions.hbs @@ -84,16 +84,9 @@
{{/if}} - {{! TODO: Bring this back? }} - {{!-- {{#if this.shouldShowPrerequisites}} - - {{/if}} --}} - - - {{! TODO: Remove this temporary card }} {{#if (and @model.courseStage.isSecond (eq @model.courseStage.course.slug "shell"))}} -
+
avatar - this forum post - ? + this forum post?

{{/if}} + {{! TODO: Bring this back? }} + {{!-- {{#if this.shouldShowPrerequisites}} + + {{/if}} --}} + + +

Hints