-
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 2024-12-19] [$250] Missing validate code sent when adding copilot #53177
Comments
Triggered auto assignment to @muttmuure ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing validate code sent when adding copilot What is the root cause of that problem?In But when API
What changes do you think we should make in order to solve the problem?We should update
We can similarly check the places where What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing validate code sent when adding copilot What is the root cause of that problem?We're using this line to display the
But What changes do you think we should make in order to solve the problem?The first part, we should use // introduce new varibale
const [validateCodeAction] = useOnyx(ONYXKEYS.VALIDATE_ACTION_CODE);
// and update the hasMagicCodeBeenSent props:
hasMagicCodeBeenSent={validateCodeAction?. validateCodeSent} But if we only update // Update the optimistic data of addDelegate function:
const optimisticResetActionCode = {
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.VALIDATE_ACTION_CODE,
value: {
validateCodeSent: null,
},
};
successData.push(optimisticResetActionCode);
failureData.push(optimisticResetActionCode); What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~021862155129202940736 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
@fedirjh, @muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @layacat 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@fedirjh this point is wrong, we still received magic code again in other flows
If we do this then we have to do it with all the places where |
If we don't reset delegate.movCause we had an early return here: App/src/components/ValidateCodeActionModal/index.tsx Lines 44 to 46 in 0eec30d
|
@layacat if this happens, we should fix all places right? |
Mostly. Yes, I think so. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-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-12-19. 🎊 For reference, here are some details about the assignees on this issue:
|
@fedirjh @muttmuure @fedirjh The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Not overdue |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
@thienlnam, @fedirjh, @muttmuure, @layacat Huh... This is 4 days overdue. Who can take care of this? |
Pending payment |
@thienlnam, @fedirjh, @muttmuure, @layacat Still overdue 6 days?! Let's take care of this! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.67-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @dukenv0307
Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs
Action Performed:
Expected Result:
'Code requested. Please check your device.' is displayed
Actual Result:
'Code requested. Please check your device.' isn't displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
bug-resize.mp4
Recording.805.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: