-
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
[HOLD for payment 2023-02-01] [$250] There's no back button at bank offline blocking view reported by @thesahindia #12708
Comments
Triggered auto assignment to @dylanexpensify ( |
ProposalWe need to show the back button when the user is offline we can make the changes as suggested at ReimbursementAccountLoadingIndicator <HeaderWithCloseButton
title={props.translate('reimbursementAccountLoadingAnimation.oneMoment')}
onCloseButtonPress={Navigation.dismissModal}
+ shouldShowBackButton={props.network.isOffline}
+ onBackButtonPress={Navigation.goBack}
/>
<FullPageOfflineBlockingView>
{props.isSubmittingVerificationsData ? (
@@ -49,4 +53,7 @@ const ReimbursementAccountLoadingIndicator = props => (
ReimbursementAccountLoadingIndicator.propTypes = propTypes;
ReimbursementAccountLoadingIndicator.displayName = 'ReimbursementAccountLoadingIndicator';
-export default withLocalize(ReimbursementAccountLoadingIndicator);
+export default compose(
+ withNetwork(),
+ withLocalize,
+)(ReimbursementAccountLoadingIndicator); |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Triggered auto assignment to @AndrewGable ( |
@Puneet-here's proposal looks good to me 🎀👀🎀 C+ reviewed! This means back button will be hidden only while a network request is in progress, so is there a reason to hide it at all? |
Agree that user should always be able to go back (I think). I do not think we should hide back button at all. cc @marcaaron who might have navigation ideas... |
Agree. This just looks implemented incorrectly to me. |
@Puneet-here - Can you amend your proposal with this in mind? Then I will assign and I look forward to reviewing the PR. |
Updated proposalPass
<HeaderWithCloseButton
title={props.translate('reimbursementAccountLoadingAnimation.oneMoment')}
onCloseButtonPress={Navigation.dismissModal}
+ shouldShowBackButton
+ onBackButtonPress={Navigation.goBack}
/> |
@AndrewGable, @eVoloshchak, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
reviewing today! |
On second thought... I am looking at this again... and not really sure if we need to do this. If you're offline you can't really move through the different steps of the bank account flow anyway. cc @MariaHCD who might know more (or who would know). |
I believe there should be a back button. If a user clicks at "connect bank account" in workspace (when offline) they will see the offline blocking view. Now if they wanna do something else, they will try to go back but there is no back button. |
So this offline blocker is introduced in When not in a loading state, the is a back button send the user to the previous setup step. So instead of jumping back to the last page like Introducing a back button here with the logic
Instead, we can do a few things.
I think the 2nd option may be the way to go? @nkuoch @MariaHCD curious as to your thoughts |
@ctkochan22, that's a good catch! |
This issue has not been updated in over 15 days. @nkuoch, @dylanexpensify eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
What's going on with this issue? Do we still have a PR in review? |
Yes, ended up up creating a single PR with a refactoring and fixing several issues of the flow, was ooo at some point and it's a bit long to review because the PR is pretty big. But it's currently in final review and I'm confident it will be merged really soon. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.58-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-02-01. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Working on this today! |
RT here |
@dylanexpensify, this is eligible for reporting compensation. We will need an upwork job here. |
Ah yes, will do now |
job here, also invited you! |
Applied, thanks! |
offer sent! |
@dylanexpensify, accepted! |
paid! Closing this out @nkuoch reopen if something is missing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
There should be a back button
Actual Result:
There's no back button
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.27-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/201705335-a707a598-e65e-42cb-9b4e-6f2556c555a9.mov
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation:
https://expensify.slack.com/archives/C049HHMV9SM/p1668369917906139
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: