With this fix, the adaptive page's back button redirects the student to the page from which they accessed the adaptive page.
Before the fix the student was always redirected to the explorations page, not considering that an adaptive page may not necessarily be an exploration.
Note: It may lead to confusion that when accessing the page we read at the center of the screen a title that says "Climate Exploration" and we were supposed to be accessing an adaptive page that was not an exploration. The reason is that I built an adaptive page (not an exploration) by grabbing the "Climate Exploration" page and changing its purpose from :application to :foundation.
You may validate this by looking at the card icon on the home page, that has a flag icon (graded page icon) instead of a world icon (exploration icon)
Link to the ticket
With this fix, the adaptive page's back button redirects the student to the page from which they accessed the adaptive page. Before the fix the student was always redirected to the explorations page, not considering that an adaptive page may not necessarily be an exploration.
Adaptive page (not an exploration)
https://github.com/Simon-Initiative/oli-torus/assets/74839302/77ca1491-3089-49a8-a454-89cf31b19c36
Note: It may lead to confusion that when accessing the page we read at the center of the screen a title that says "Climate Exploration" and we were supposed to be accessing an adaptive page that was not an exploration. The reason is that I built an adaptive page (not an exploration) by grabbing the "Climate Exploration" page and changing its purpose from
:application
to:foundation
. You may validate this by looking at the card icon on the home page, that has a flag icon (graded page icon) instead of a world icon (exploration icon)Adaptive page (an exploration)
https://github.com/Simon-Initiative/oli-torus/assets/74839302/2ec14c7b-ed63-4326-ad3f-128197826665