-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Feature: Add Edit profile row in RHP profile
#58050
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
Changes from all commits
edb08fd
734f89a
1578525
3f1cfd7
b9408d9
7319cd7
2d1da8a
2d37615
394da49
13c2f64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,7 +75,7 @@ const useRootNavigatorScreenOptions = () => { | |
| splitNavigator: { | ||
| ...commonScreenOptions, | ||
| // We need to turn off animation for the full screen to avoid delay when closing screens. | ||
| animation: Animations.NONE, | ||
| animation: shouldUseNarrowLayout ? Animations.SLIDE_FROM_RIGHT : Animations.NONE, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was probably a mistake from this change: https://github.com/Expensify/App/pull/49539/files#diff-f297429dfc1c5cbc87c505542adb66e8df0bd3e39ff6cfb2d78ca699f3d23c84R85 We used to have animation before but when we fixed it for full screen layout here: We also updated it for split navigator
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was not a mistake, this change now pushes the Account profile page into the view on phone, that is not animation we want for bottom tabs |
||
| web: { | ||
| cardStyleInterpolator: (props: StackCardInterpolationProps) => modalCardStyleInterpolator({props, isFullScreenModal: true}), | ||
| cardStyle: StyleUtils.getNavigationModalCardStyle(), | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4874,7 +4874,7 @@ function navigateToDetailsPage(report: OnyxEntry<Report>, backTo?: string) { | |
| const participantAccountID = getParticipantsAccountIDsForDisplay(report); | ||
|
|
||
| if (isSelfDMReport || isOneOnOneChatReport) { | ||
| Navigation.navigate(ROUTES.PROFILE.getRoute(participantAccountID.at(0), backTo)); | ||
| Navigation.navigate(ROUTES.PROFILE.getRoute(participantAccountID.at(0), isSelfDMReport ? Navigation.getActiveRoute() : backTo)); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a bug that if the user refreshes on the settings screen and tries to go back then , then he was directed to the profile details page but was not able to go back further as the navigation state was flushed, fixed that with this change |
||
| return; | ||
| } | ||
|
|
||
|
|
||
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.
@twilight2294 Please add the discussion here where you confirmed this Spanish translation.
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.
hey, I am yet to be added on slack, can you please ask on my behalf?
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.
asked here: https://expensify.slack.com/archives/C01GTK53T8Q/p1742407537980209