Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson Checkpoint Feature: Display Last Read Point on Homepage #221

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

yxshv
Copy link
Contributor

@yxshv yxshv commented Aug 17, 2023

I've implemented a new feature in a file called pickup.js that saves the last point in the lessons that a user has read. This feature is designed to enhance the user experience by allowing them to easily pick up where they left off in their learning journey.

It saves the pathname and the scrolled value of the last visited lesson and continues at that point

Changes Made

  • Added a function in pickup.js to store the last read lesson point in local storage.
  • Modified the homepage to display a message that guides users to continue their lessons from the last read point.

Motivation

I found it difficult to remember where I left off in a series of lessons. So I thought I should contribute


Here is a gif demonstrating how it works

@yxshv yxshv requested a review from a team as a code owner August 17, 2023 17:08
@yxshv
Copy link
Contributor Author

yxshv commented Aug 24, 2023

I really need this feature 😭

@doomspork
Copy link
Member

@yxshv this is awesome! I will make time to review this weekend and merge 🎉

@yxshv
Copy link
Contributor Author

yxshv commented Sep 5, 2023

two weekends gone :( still waiting

@doomspork doomspork added this pull request to the merge queue Sep 7, 2023
Merged via the queue into elixirschool:main with commit e4095ed Sep 7, 2023
5 checks passed
@yxshv
Copy link
Contributor Author

yxshv commented Sep 8, 2023

There is a problem in phone that was unnoticed by me
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants