-
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-05-22] [$1000] On add new contact page red dot error of delete contact method has no horizontal padding #18301
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
<OfflineWithFeedback
pendingAction={lodashGet(loginData, 'pendingFields.deletedLogin', null)}
errors={ErrorUtils.getLatestErrorField(loginData, 'deletedLogin')}
+ errorRowStyles={[styles.mt6, styles.ph5]}
onClose={() => User.clearContactMethodErrors(contactMethod, 'deletedLogin')}
>
What alternative solutions did you explore? (Optional)
|
@dhairyasenjaliya how are you reliably reproducing this? @Beamanator might be able to give us some clues on how to get the error to show. Bit of a sidebar, but I think this is another error message that is kind of unclear. |
@trjExpensify well I was able to replicate yesterday perhaps the error was resolved by backend but on front end we definitely need to add padding on that component since it overflows |
@trjExpensify honestly this one is very hard to get to show, errors can show up when:
So maybeeeee you can reproduce with:
I think you'd have to do this pretty fast 🤷 Orrrr maybe you can go offline in newdot while you're setting the login as default, then queue up the "delete login" from newdot, go online, then you may be able to see the error |
@trjExpensify I just reproduced the error just by adding a new email as capital words let's say add this simulator-screen-recording-iphone-14-2023-05-04-at-161310_5lJ0UJ2y.mp4 |
hey @Beamanator I'm working on migrating |
Still can't get the auth error using capitals: Why do we not allow capitals either? Shouldn't that just treat them as lowercase effectively?
That's kind of weird isn't it, @Beamanator? Why would we throw an error when you're deleting a login that isn't valid? Can't you just delete it? 😕
@dhairyasenjaliya, you seem to know where the padding issue lies in the code, so let's just move forward and get that fixed. I'll add external to review your proposal. |
Job added to Upwork: https://www.upwork.com/jobs/~01787da3b34f6241f3 |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @francoisl ( |
I think @dhairyasenjaliya's proposal is good to go. @trjExpensify @Beamanator @francoisl I can reproduce this reliably with a new account created with magic code (passwordless auth) and using all caps email as @dhairyasenjaliya mentioned. |
All right waiting for 🟢 to create PR @trjExpensify |
That'll be on @francoisl to provide! :)
Interesting. So is there potentially another issue here with why this DeleteLogin auth error shows under that condition? (New account with passwordless auth)? |
@trjExpensify do you think we need to investigate and track a new issue if user try to delete account with capital letter it throws error (but i do think probably backend needs some additional checks since we just hit the API to delete an contact) |
Yeah, I think it's very strange that you can 1) add an email login with all caps 2) but get an error when you try and delete it. Further, it doesn't seem to be in all condition, and something specific to the new account creation flows maybe? So we should nail down the exact conditions to reproduce it. |
Triggered auto assignment to @mallenexpensify ( |
This comment was marked as off-topic.
This comment was marked as off-topic.
@mallenexpensify just re-added the Bug label since @trjExpensify is ooo and the payment is overdue. Could you please help with that? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@mananjadhav @dhairyasenjaliya can you please accept the job and reply here once you have? |
Accepted @mallenexpensify |
1 similar comment
Accepted @mallenexpensify |
I'm back, and settled both of these. 👍 |
Ah wait, @dhairyasenjaliya should have been paid $1,250. Just given the $250 bonus now. |
Okay, we're done here. I agree that we don't need a regression test for a display issue. 👍 |
Hey @trjExpensify pr was merged within 3 day so should be eligible for speed bonus as well |
Cool, I've done that as a bonus as well, so to confirm final amounts sent to you both: $1,750 - @dhairyasenjaliya for the fix, bug report and #urgency bonus |
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 horizontal padding should be match other component
Actual Result:
There is no horizontal padding on error indicator
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.8.8
Reproducible in staging?: Needs reproduction ( I am not able to trigger the error following the steps)
Reproducible in production?: Needs reproduction
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
Simulator.Screen.Recording.-.iPhone.14.-.2023-05-02.at.13.23.12.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhairyasenjaliya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683015381305629
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: