Add profile page with mock data (LIM-282)#42
Open
muvaf wants to merge 2 commits into
Open
Conversation
Co-authored-by: muvaffak <me@muvaf.com>
|
Limrun Preview
Reviewer must be a member of the organization on Limrun. |
Co-authored-by: muvaffak <me@muvaf.com>
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
Implements a SwiftUI profile page populated with mock data for the sample native iOS app (LIM-282).
Changes
UserProfileandProfileStatsmodels with aUserProfile.mocksample (Ada Lovelace).ProfileViewdisplaying:FlowLayout)ContentViewnow hostsProfileView(profile: .mock)so the app launches into the new profile page.Live Preview
Open in a remote iOS simulator without building locally:
https://console.limrun.com/preview?asset=sample-native-app-pr42.zip&platform=ios
Testing
Built with
lim xcode build ., launched on a remote iOS 26 simulator, and verified vialim ios element-treeplus screenshots and a screen recording. All accessibility identifiers (profileName,profileUsername,statPosts/Followers/Following,profileBio,detailLocation/Website/Email/Joined,followButton,messageButton,settingsButton,profileAvatar) report the expected mock values.Screenshots
Top of the profile page (initial load):
Profile page top
Scrolled to the action buttons:
Profile page bottom (Follow / Message buttons visible)
Mid-scroll, showing the opaque navigation bar:
Profile page mid-scroll with opaque nav bar
Walkthrough video
profile_page_walkthrough.mp4
Linear
LIM-282
To show artifacts inline, enable in settings.
Linear Issue: LIM-282