-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Rename profile page to details page #1931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NikkiWines Looks good! Merge conflicts just need to be solved and then it should be good to go!
src/pages/home/HeaderView.js
Outdated
@@ -63,7 +63,7 @@ const HeaderView = props => ( | |||
onPress={() => { | |||
const {participants} = props.report; | |||
if (participants.length === 1) { | |||
Navigation.navigate(ROUTES.getProfileRoute(participants[0])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is kinda unrelated to your changes, but it looks like participants
is a duplicate name from the upper scope (line 53). Is there any reason we're re-accessing/redefining a variable for props.reports.participants
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right that there's no need to redefine this here and actually it convenient got changed/resolved after merging master.
Updated and resolved conflicts |
Details
Currently in E.cash there are two profile pages: The page you get when you click on the chat header avatar of a chat you have with someone, and the page you get when navigating to Settings > Profile.
The non-settings profile page displays a header of
Details
while the settings profile page displaysProfile
.There's no reason for these pages to be named the same thing, and from the description above you can see how much more difficult to describe which page is which.
Fixed Issues
Fixes N/A, was brought up in conversation and is an easy fix.
Tests
Details
page for that user.Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android