Project-Reclass / toynet-react

The frontend service for ToyNet emulator and learning platform.
https://toynet.projectreclass.org
GNU General Public License v3.0
8 stars 20 forks source link

Open next module on redirect back to dashboard when completing module #265

Closed scottjr632 closed 2 years ago

scottjr632 commented 2 years ago

Overview

Problem statement

When you finish a module and it takes you back to the dashboard (e.g. /dashboard/1) the next module that the user should work on is not shown. This can be confusing to the user as to which module they should work on next.

Proposed solutions

Update the src/common/api/curriculum/dashboard/hooks.ts/useCurriculumNavigator to update the link that goes to the dashboard when the module is done to include ?module={next module index}. This will allow the next module to be shown.

Acceptance criteria

Notice We recycle issues that have been stale for some time. Please refer to the Contributing Documentation for more details as well as development best practices!

De1ain commented 2 years ago

Hi @scottjr632, please assign this issue to me.

scottjr632 commented 2 years ago

You got it!