developer-roadmap icon indicating copy to clipboard operation
developer-roadmap copied to clipboard

"Back to AI Tutor" Button Does Not Retain Previous Library Filter/Search Context

Open choudharymk opened this issue 6 months ago • 0 comments

What is the URL where the issue is happening

https://roadmap.sh/ai/courses

What browsers are you seeing the problem on?

Chrome

Describe the Bug

Description: When browsing courses in the AI Tutor's Library section, I searched for and opened a course from the results. After viewing that course, I clicked the "Back to AI Tutor" button from the top navigation header.

However, instead of returning me to the Library page with the previously applied filters/search, it navigated me to the AI Tutor home page. This breaks the natural flow for the user and requires repeating the filtering/search process again, which is frustrating and impacts the UX.

Expected Behavior: The "Back to AI Tutor" button should ideally:

Take the user back to the exact same Library view, retaining the search/filter state they had before opening the course.

Mimic the behavior of the browser back button, which already works correctly in this case.

Actual Behavior: The button redirects to the AI Tutor home page, not the previously filtered library state.

User has to manually go back to Library, reapply filters, and find the course again.

Type of Issue: 🔹 UX/Navigational Improvement 🔹 Possibly a Minor Bug (since it breaks expected "back" behavior)

Output from browser console (if any)

No response

Participation

  • [ ] I am willing to submit a pull request for this issue.

choudharymk avatar Jun 19 '25 07:06 choudharymk