-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] [$250] Sage Intacct - Connect button becomes unresponsive in Sage Intacct after exiting setup #55732
Comments
Triggered auto assignment to @trjExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Sage Intacct - Connect button becomes unresponsive in Sage Intacct after exiting setup What is the root cause of that problem?In step 6, when we click on connect, we try to render the popover menu component defined here
as But in https://github.com/Expensify/App/blob/264728f1b086117b9cabfd4728ff30b8afdfc520/src/components/PopoverWithMeasuredContent.tsx, we have 2 setState conditions having race condition
and
which caused
Which causes the bug What changes do you think we should make in order to solve the problem?Let's solve the race condition entirely Transform this block of code App/src/components/PopoverWithMeasuredContent.tsx Lines 77 to 86 in 264728f
to if (!prevIsVisible && isVisible) {
if (shouldEnableNewFocusManagement) {
ComposerFocusManager.saveFocusState(modalId);
}
} Here Note Optional: We can change
popoverDimensions={{height: popoverHeight, width: popoverWidth}}
ResultScreen.Recording.2025-01-24.at.10.36.52.PM.movWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA since change is related to UI component What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021883892443394659534 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Putting this in #expense as Intacct isn't a direct focus of #migrate or #convert just yet. |
I can reproduce the issue Screen.Recording.2025-01-29.at.10.37.00.PM.mov |
I agree with @shubham1206agra 's diagnosis of the issue. Let's go with their proposal! 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
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. |
Seems like we've got a regression here? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 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 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@shubham1206agra / @eh2077 @trjExpensify @shubham1206agra / @eh2077 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] |
@trjExpensify Just stating for the record. The answer is no. Since this PR has made some race conditions more visible, which will be fixed in #56594. And as for the #56505, I was able to repro this on main if we do throttle the system. |
👋 @eh2077 checklist time here, please. Thanks! |
Yeah, I will update by tomorrow. Thank you |
Sounds good! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Thanks! I've suggested a regression test for reuse connection. Payment summary as follows:
@shubham1206agra, please accept the offer. |
@trjExpensify Offer accepted |
Paid, closing! |
$250 approved for @eh2077 |
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: v9.0.89-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): htad26+ri@gmail.com
Issue reported by: Applause Internal Team
Device used: iPhone 13/iOS 18.2.1, Tecno Spark/Android 11
App Component: Other
Action Performed:
Prerequisite
Expected Result:
App proceeds to Sage Intacct connection setup
Actual Result:
"Connect" button becomes unresponsive and user is unable to procced to Sage Intacct connection setup
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: