Skip to content

Commit

Permalink
[ENHANCEMENT] Adjust explorations intro for student onboarding [MER-2…
Browse files Browse the repository at this point in the history
…404] (#4042)

* update onboarding

* add image

* fix the test
  • Loading branch information
darrensiegel authored Jul 27, 2023
1 parent be2051c commit 8cbb1a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file added assets/static/images/exploration.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion lib/oli_web/live/delivery/student_onboarding/explorations.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ defmodule OliWeb.Delivery.StudentOnboarding.Explorations do
<div class="h-full text-center">
<h2>Exploration Activities</h2>
<span class="text-gray-500 text-sm">Explorations dig into how the course subject matter affects you</span>
<p class="mt-14">You’ll have access to both simulations and digital versions of tools used in the real world to help you explore the topics brought up in the course from a real-world perspective.</p>
<img class="aspect-video w-full" src="/images/exploration.gif" />
<p class="mt-14">You will have access to both simulations and digital versions of tools used in the real world to help you explore the topics brought up in the course from a real-world perspective.</p>
</div>
"""
end
Expand Down
2 changes: 1 addition & 1 deletion lib/oli_web/live/delivery/student_onboarding/intro.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule OliWeb.Delivery.StudentOnboarding.Intro do
<li>A 5 minute survey to help shape learning your experience and let your instructor get to know you</li>
<% end %>
<%= if has_explorations(@section) do %>
<li>Learning about the new 'Exploration' activities that provide real-world examples</li>
<li>Explorations will bring the course to life, showing its relevance in the real world</li>
<% end %>
<li>A personalized <%= @section.title %> experience based on your skillsets</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ defmodule OliWeb.Deliver.StudentOnboarding.WizardTest do
refute has_element?(
view,
"li",
"Learning about the new 'Exploration' activities that provide real-world examples"
"Explorations will bring the course to life, showing its relevance in the real world"
)

assert has_element?(view, "button", "Go to course")
Expand All @@ -101,7 +101,7 @@ defmodule OliWeb.Deliver.StudentOnboarding.WizardTest do
assert has_element?(
view,
"li",
"Learning about the new 'Exploration' activities that provide real-world examples"
"Explorations will bring the course to life, showing its relevance in the real world"
)

assert has_element?(view, "button", "Go to explorations")
Expand Down

0 comments on commit 8cbb1a1

Please sign in to comment.