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

Certificate btn on last #146

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

AQIB-NAWAB
Copy link
Contributor

What kind of change does this PR introduce?
feature

Issue Number:

Screenshots/videos:
Screencast from 2025-03-14 21-09-26.webm

Summary
Add a button of get your certificate when user is at last lesson and complete the tour.

Does this PR introduce a breaking change?
No

@AQIB-NAWAB
Copy link
Contributor Author

@JeelRajodiya I test it on all scenarios

  • When user complete the whole tour the certificate button instantly enabled.
  • if user have not completed the tour and move to last lesson it will show locked
  • if user complete the last lesson but others are pending it will still show button locked.

Please review and let me know if there any thing need to improve.

@AQIB-NAWAB
Copy link
Contributor Author

Screencast.from.2025-03-16.10-25-37.webm

I made some changes in the condition. Now, whenever a user finishes the last lesson—whether it is the first, middle, or last—it will render the 'Get Your Certificate' button.

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.

When the user finishes the last lesson, the 'Next' button should be replaced with 'Get Your Certificate.'
1 participant