Feat: add tutorial view & gesture priority#98
Merged
destucr merged 3 commits intodevelopmentfrom Nov 30, 2025
Merged
Conversation
Contributor
Author
|
@revanzanrndra gw ubah |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Summary
This pull request introduces a new multi-page tutorial experience and refactors related navigation and UI components. The
TutorialViewnow provides interactive, visually rich onboarding, while profile and timeline navigation, page indicators, and theming have been improved. These changes enhance the onboarding and profile experience, improve navigation consistency, and prepare the app for future localization and theming improvements.✨ Features/Changes
TutorialViewinTutorial/TutorialView.swiftwith four themed, interactive pages, including highlighted text, images, and step-by-step instructions.HighlightedWordTextcomponent for stylized text.ProfileViewto navigate toTutorialViewinstead of the dummy tutorial link.PregnancyTimelineViewnavigation to properly presentProfileViewusing.navigationDestination.HeartbeatMainViewinto a dedicatedPageIndicatorsview, hiding indicators during recording, playback, or restricted swipe states.Localizable.xcstrings.ProfileViewand its preview for consistent background and theme usage.AuthenticationServiceenvironment object toProfilePhotoDetailView.📁 Files Changed
Tutorial/TutorialView.swift- Added multi-page tutorial with interactive content andHighlightedWordTextcomponent.ProfileView.swift- Updated navigation to new tutorial, fixed theming, and passed authentication service.PregnancyTimelineView.swift- Updated.navigationDestinationlogic for profile presentation.HeartbeatMainView.swift- Extracted page indicators intoPageIndicatorsview and improved conditional visibility.Localizable.xcstrings- Added strings for tutorial content and updated comments for clarity.🔧 Usage Examples (if applicable)