Closed kbecciv closed 5 months ago
Triggered auto assignment to @mallenexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
@mallenexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
We think that this bug might be related to #wave-collect - Release 1
Bank account - "Continue with setup" is less indented than "Start over"
The root cause of the problem is here : https://github.com/Expensify/App/blob/7742bec5c32e4118963fcdc67d3c15b7412f3838/src/styles/index.ts#L3492-L3498 we have more margin to the left for "Start Over" text in comparison to "Continue"
We need to reduce it from 8
to 7
. This should fix it
N/A
Bank account - "Continue with setup" is less indented than "Start over"
There is not set iconStyles
prop on Button component as this is done for the connect online with Plaid
button here
Add iconStyles={[styles.customMarginButtonWithMenuItem]}
prop on Button
Bank account - "Continue with setup" is less indented than "Start over".
Continue with setup uses Button while Start over uses MenuItem. https://github.com/Expensify/App/blob/7742bec5c32e4118963fcdc67d3c15b7412f3838/src/pages/ReimbursementAccount/ContinueBankAccountSetup.js#L67-L84
Use Button instead of MenuItem
<Button
text={props.translate('workspace.bankAccount.startOver')}
icon={Expensicons.RotateLeft}
onPress={() => BankAccounts.requestResetFreePlanBankAccount()}
style={[styles.mv0]}
shouldShowRightIcon
large
disabled={Boolean(pendingAction) || !_.isEmpty(errors)}
/>
Updated style and added screenshot.
Updated. Added a link to a similar implementation like mine in another place
Connect with setup
button styles are not the same as the Connect online with plaid
Connect with setup
button styles here
are not the same as in the Connect online with plaid
:
https://github.com/Expensify/App/blob/85bf1ece78cedd9c6ba95217032cb956cfdf4acd/src/pages/ReimbursementAccount/BankAccountStep.js#L136-L152
we should add to the Connect with setup button component to preserve styles consistency between the two buttons
iconStyles={[styles.customMarginButtonWithMenuItem]}
innerStyles={[styles.pr2, styles.pl4, styles.h13]}
Triggered auto assignment to @dannymcclain (Design
), see these Stack Overflow questions for more details.
@dannymcclain , 👀 on the screenshot in the OP. Do you think it's worth fixing? If so, I'll start the price at $250 since it seems like a relatively easy bug.
@mallenexpensify I do think it's worth fixing. But @shawnborton, didn't we just run into this issue on another PR? Was it the one about button styles? Maybe this should just be a follow up to that if it's the same problem.
@dannymcclain This is similar issue like this https://github.com/Expensify/App/issues/38291
That's the one! Thank you @godofoutcasts94
@dannymcclain To maintain UI consistency, shouldn't we use Button component for both the options? Currently, one of them uses Button and the other uses MenuItem because of which they look different from each other. We can have both as Buttons, with different background colours. You can check the screenshot posted here.
Actually yeah, I think @narefyev91 already had a fix for this? Can you confirm?
Actually yeah, I think @narefyev91 already had a fix for this? Can you confirm?
Yup fix was done for some other places - i can add one more for this one
Okay great, that would be good. Just flagging @luacmartins @mountiny for visibility as this would be another #ideal-nav follow up.
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.55-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-03-29. :confetti_ball:
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:
Any news here?
@Pujan92 , you reviewed the PR so you're due compensation here, right?
Assuming so, can you complete the above BZ checklist? I imagine we either don't need a testrail GH or it'd be one we just check everyone month as part of the design and edge case test run.
@Pujan92 , you reviewed the PR so you're due compensation here, right?
Yes @mallenexpensify
Assuming so, can you complete the above BZ checklist?
It is already completed by @jasperhuangg.
Job added to Upwork: https://www.upwork.com/jobs/~01c2b89887e68785d4
Current assignee @Pujan92 is eligible for the Internal assigner, not assigning anyone new.
@Pujan92 can you please accept the job and reply here once you have? https://www.upwork.com/jobs/~01c2b89887e68785d4
@Pujan92 can you please accept the job and reply here once you have? https://www.upwork.com/jobs/~01c2b89887e68785d4
Done..
Contributor+: @Pujan92 paid $500 via Upwork.
Thanks
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.53-2 Reproducible in staging?: y Reproducible in production?: y Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
"Continue with setup" will have the same level of indentation as "Start over".
Actual Result:
"Continue with setup" is less indented than "Start over".
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit