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

[docs] Add a progress tracker for EAS Tutorial #27971

Conversation

amandeepmittal
Copy link
Member

@amandeepmittal amandeepmittal commented Apr 1, 2024

Why

Fixes ENG-11468

Add a Progress Tracker component to track progress when a chapter is completed in the EAS Tutorial. It:

  • shows a success message when the user reaches the end of the chapter with the summary of that chapter
  • allows the user to mark a chapter read/unread
  • syncs the state of chapter (read/unread) with the sidebar
  • adds and updates the sidebar circular progress on reaching tutorial complition
  • allows user to reset the progress on reaching tutorial complition

Also, handles Google Analytics 4 event to send a custom event when all chapters in a tutorial are completed. The event added is called eas_tutorial.

Test Plan

To test it, see the Summary section of a chapter. For example: http://docs.expo.dev-pr-27971.s3-website-us-east-1.amazonaws.com/tutorial/eas/configure-development-build/#summary.

Preview

Saving Progress Tracker for a chapter

CleanShot.2024-05-01.at.22.27.29.mp4

Completed Progress Tracker and reset tutorial functionality

CleanShot.2024-05-01.at.22.28.10.mp4

Checklist

@expo-bot expo-bot added the bot: passed checks ExpoBot has nothing to complain about label Apr 1, 2024
@expo-bot
Copy link
Collaborator

expo-bot commented Apr 1, 2024

📘 Your docs preview website is ready!

Copy link

linear bot commented Apr 1, 2024

ENG-11468 Save progress

@amandeepmittal amandeepmittal merged commit bb34b4e into aman/eng-11036-create-a-pr-for-eas-tutorial May 2, 2024
7 checks passed
@amandeepmittal amandeepmittal deleted the aman/add-save-progress-tracker branch May 2, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants