-
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 2024-07-22] [HOLD for payment 2024-07-17] [$250] Able to save empty display first name #44167
Comments
Triggered auto assignment to @isabelastisser ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Able to save empty display first name What is the root cause of that problem?We don't have a check for making the firstname required. App/src/pages/settings/Profile/DisplayNamePage.tsx Lines 48 to 56 in 7512346
What changes do you think we should make in order to solve the problem?Add a check like we do in App/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx Lines 97 to 100 in 7512346
What alternative solutions did you explore? (Optional) |
Note @isabelastisser , can i be the C+ here as i reported this issue and already have context |
ProposalPlease re-state the problem that we are trying to solve in this issue.Able to save name without first name What is the root cause of that problem?We do not validate whether the name is empty or not when we click save, we only check for special characters and word limit This is why we do not get any error while saving empty name. What changes do you think we should make in order to solve the problem?We can add a validation check similar to the onboarding page which checks whether the name is empty and gives error if the first name is empty, we can apply similar logic here. We should create a new error message here because the other one is used for onboarding flow/ or we can reuse the same variable. Then we should add a validation to check for the empty first name and throw error accordingly: if (values.firstName.length === 0) {
ErrorUtils.addErrorMessage(errors, 'firstName', translate('onboarding.error.requiredFirstName'));
}
What alternative solutions did you explore? (Optional) |
@allgandalf can you please review the proposals above? Thanks! |
@eucool's proposal looks good to me here.
I would like the opinion of the internal engineer here if we should create a new text or reuse the same from onboarding flow, anyway NAB 👍 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @bondydaa, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@isabelastisser can you add an external tag here for the job to be created on upwork, thanks :) |
Hey @allgandalf, could you let me know if there's anything wrong with my proposal? |
@bondydaa, please hold off on assigning. I am still confused why my proposal wasn't selected. The solution is straightforward, and my proposal includes all the necessary details. I am still waiting for a response from @allgandalf. |
Given how straightforward this bug was, I think the minor details(of not trimming the values and the addition of extra text/ reusing same text) should have been thought off here. I leave it to the Internal engineer(@bondydaa) for final assignment 🙏 |
@allgandalf, I don't think we should select proposals based on minor details. I had the correct RCA and solution before the second proposal. Doesn't having the first correct RCA and solution matter? Are only minor details considered?
Don't you think that this would have been discussed in the PR? @allgandalf, no offence but I don't think we select proposals based on minor details not RCA and solution. |
Let’s wait on the internal engineers decision here, I would be more than happy to work with either of you two @Krishna2323 🙏 Thanks |
Job added to Upwork: https://www.upwork.com/jobs/~01e9e958a4df5e3121 |
Current assignee @allgandalf is eligible for the External assigner, not assigning anyone new. |
📣 @allgandalf 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @eucool 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
assigning @eucool b/c the proposal is more complete to me. I agree we should probably create new error messages in the |
Automation failed |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊 For reference, here are some details about the assignees on this 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊 For reference, here are some details about the assignees on this 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:
|
Regression Test Proposal
Note: We are allowed to have last name as empty Do we agree 👍 or 👎 |
Note @isabelastisser , this is ready for payment, the payment date is wrong, idk why melvin is acting so weird lately, I notified about the deployment to production here, so the payment date was actually 15th, can you pay this out please, thanks |
Thanks for the heads up, @allgandalf! @bondydaa, can you please review the regression test above? Thanks! |
The payments were processed in Upwork! |
regression steps look good |
I can still see that the job is pending payment @isabelastisser , can you confirm once please |
Hi @eucool, it was paid on July 16: |
All set! |
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: 9.0.0-0
Reproducible in staging?: y
Reproducible in production?: y
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
Expensify/Expensify Issue URL:
Issue reported by: @allgandalf
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1718910421583419
Action Performed:
Precondition: Have an existing Profile display name
Expected Result:
We should not be able to save empty first name (This will be similar to the onboarding flow, we allow the user to keep last name empty but they have to fill the first name)
Actual Result:
Able to save empty display first name
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Screen.Recording.2024-06-21.at.12.34.19.AM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @isabelastisserThe text was updated successfully, but these errors were encountered: