TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.56k stars 2.06k forks source link

Suggestion: Change links to 'unvisited' once a lesson has been unmarked as complete #4493

Closed Looch8 closed 3 months ago

Looch8 commented 3 months ago

Checks

Description of the Feature Request

Problem: Currently, when a user revisits a lesson that was previously completed, the visited links within the lesson remain marked as visited. This can lead to confusion for users who wish to revisit all links within the lesson.

Proposed Solution: Implement a feature that resets the visited status of links within a lesson when the lesson is marked as 'incomplete' again.

Screenshot 2024-04-10 at 12 44 29 pm Screenshot 2024-04-10 at 12 44 38 pm

Acceptance criteria

Reset Visited Status: Upon changing the status of a lesson from 'complete' to 'incomplete', trigger a process that resets the visited status of all links within that lesson to 'unvisited'.

Additional Comments

No response

Asartea commented 3 months ago

I'm 99% sure this is not technically feasible, as I do not believe there is a mechanism to manipulate the visited status of links

fabulousgk commented 3 months ago

I am with @Asartea . The visited status of links is a browser function. In fact it is not even a website by website property. If you go to another website that has the same link on it, it will also show as visited.

KevinMulhern commented 3 months ago

Yep, visited vs unvisited works through your browser history unfortunately. Thanks for taking the time to make this suggestion @Looch8, I agree it would be really nice feature to have. But I don't think theres any way of doing this.