-
Notifications
You must be signed in to change notification settings - Fork 3k
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-07-14] [$1000] Connect Bank - Text on 'Almost Done' page is crossed out if user select to 'Start Over' offline #18517
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Connect Bank - Text on 'Almost Done' page is crossed out if user select to 'Start Over' offline What is the root cause of that problem?The text in App/src/pages/ReimbursementAccount/ContinueBankAccountSetup.js Lines 66 to 74 in d120f6a
What changes do you think we should make in order to solve the problem?In case we don't want this text to be crossed out (strike through), we can move it above the <Text>
{props.translate('workspace.bankAccount.youreAlmostDone')}
</Text>
<OfflineWithFeedback
pendingAction={pendingAction}
errors={errors}
shouldShowErrorMessage
onClose={BankAccounts.resetReimbursementAccount}
> If we want the description text is blur when it's offline like original, we can add style for the text when it's offline. What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The you're almost done description text is strikethrough when Start Over in connect bank account while offline. What is the root cause of that problem?When we press Start Over, it will set the pending action to Delete. App/src/libs/actions/ReimbursementAccount/resetFreePlanBankAccount.js Lines 27 to 37 in d120f6a
A component wrapped with OfflineWithFeedback with pending action of delete will strikethrough the children if it's currently offline. App/src/pages/ReimbursementAccount/ContinueBankAccountSetup.js Lines 66 to 94 in d120f6a
You can notice the start over text is also getting strikethrough. I guess the Continue with setup button doesn't get the strikethrough is a different issue (maybe even intentional). Looking at the PR that introduces this change, the strikethrough looks like intentional: 8aea1c2#r1119420530 However, I don't think it makes sense to have the strikethrough because the component is static, that is not showing a user input (chat message, workspace, etc.). We are not deleting the you're almost done text. What changes do you think we should make in order to solve the problem?Remove |
@JmillsExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Alright, I can reproduce this but I think it makes for an interesting consideration. What's the right offline pattern for these workspace titles?
I completely agree with @bernhardoj that this should not be the pattern. I'm not sure why we'd go with that given that, to the contributor's point, nothing has been deleted. cc @shawnborton @trjExpensify for visibility. |
Job added to Upwork: https://www.upwork.com/jobs/~01bfc0043de4c187cd |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @iwiznia ( |
Oh perfect. Our favorite pattern B expert is also assigned to the issue. |
Yeah, I agree with @bernhardoj's proposal but I think both of the option rows should have an equal 50% opacity reduction... currently it looks like the green start over icon is not reduced opacity. |
Yeah, they look different. Looking at the code, they use different components. Continue with setup uses Button, while Start over uses MenuItem. If disabled,
I'm not sure if we want to change how the MenuItem disabled looks like here. |
I think we should make MenuItem work the same as buttons do and reduce the opacity to 50%. |
perfect! @iwiznia let's hire @bernhardoj for their proposal. The root cause is correct. C+ reviewed 🎀👀🎀 |
@iwiznia, @JmillsExpensify, @rushatgabhane Eep! 4 days overdue now. Issues have feelings too... |
Yes this is a fair point, though I think that we should start with consistency first and then we can re-evaluate. |
@iwiznia, @JmillsExpensify, @rushatgabhane, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@iwiznia, @JmillsExpensify, @rushatgabhane, @bernhardoj Still overdue 6 days?! Let's take care of this! |
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. |
@iwiznia, @JmillsExpensify, @rushatgabhane, @bernhardoj 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 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-07-14. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
|
Made a manual request on new dot - https://staging.new.expensify.com/r/3850666924900332 |
Thank you! |
Apologies @bernhardoj I realized that I still need to circle back and pay you. I've extended a contract via this job: https://www.upwork.com/jobs/~0107e09c5063b9db1c. It doesn't appear that this is eligible for an urgency bonus, though let me know if I've misunderstood. |
Accepted!
yes, it's not eligible |
Seems this is mostly ready, so not unassigning myself, but if this does not get closed, @JmillsExpensify please unassign and re-assign another engineer since I am going on sabbatical |
How can it be overdue if I just commented?! 😂 |
Alright, all paid out! Closing this one. |
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:
User returns to 'Almost Done!' page. Text on this page is NOT grayed-out and crossed-out.
Actual Result:
User returns to 'Almost Done!' page. Text on this page IS grayed-out and crossed-out.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.10.4
Reproducible in staging?: Yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6044119_BA-start-over-cross-out.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: