-
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-09-18][$250] Workspaces -"Add custom segment or record" image appears briefly after adding the first one #47501
Comments
Triggered auto assignment to @puneetlath ( |
Created by this comment https://github.com/Expensify/Web-Expensify/pull/42969#issuecomment-2265845791 |
It is short, but I feel like we should still fix it if possible. An external contributor could do it right? |
Job added to Upwork: https://www.upwork.com/jobs/~01f07df597970e1a9f |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Upwork job price has been updated to $125 |
@puneetlath, @mollfpr Eep! 4 days overdue now. Issues have feelings too... |
Upwork job price has been updated to $250 |
Updated the price to see if we can get a proposal. |
Is there is any NetSuite credentials for testing this issue? Thanks cc: @puneetlath |
ProposalPlease re-state the problem that we are trying to solve in this issue."Add custom segment or record" image appears briefly after adding first segment. What is the root cause of that problem?It's a bug with What changes do you think we should make in order to solve the problem?As App/src/pages/workspace/withPolicy.tsx Lines 92 to 99 in 56f021d
|
One thing — I haven't found a consistent way to reproduce this with 100% certainty about my solution. It happens once in about 10 attempts. Maybe you have some ideas?
@NJ-2020 you can disable credentials validation with this changes diff --git a/src/pages/workspace/accounting/PolicyAccountingPage.tsx b/src/pages/workspace/accounting/PolicyAccountingPage.tsx
index 11c47a21f2e..869dd8cf600 100644
--- a/src/pages/workspace/accounting/PolicyAccountingPage.tsx
+++ b/src/pages/workspace/accounting/PolicyAccountingPage.tsx
@@ -231,7 +231,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {
return [];
}
const shouldShowSynchronizationError = !!synchronizationError;
- const shouldHideConfigurationOptions = isConnectionUnverified(policy, connectedIntegration);
+ const shouldHideConfigurationOptions = false;
const integrationData = getAccountingIntegrationData(connectedIntegration, policyID, translate, policy);
const iconProps = integrationData?.icon ? {icon: integrationData.icon, iconType: CONST.ICON_TYPE_AVATAR} : {}; diff --git a/src/pages/workspace/accounting/netsuite/import/NetSuiteImportPage.tsx b/src/pages/workspace/accounting/netsuite/import/NetSuiteImportPage.tsx
index c3d77b656b5..15bc437782b 100644
--- a/src/pages/workspace/accounting/netsuite/import/NetSuiteImportPage.tsx
+++ b/src/pages/workspace/accounting/netsuite/import/NetSuiteImportPage.tsx
@@ -23,7 +23,7 @@ function NetSuiteImportPage({policy}: WithPolicyConnectionsProps) {
const {canUseNetSuiteUSATax} = usePermissions();
const policyID = policy?.id ?? '-1';
- const config = policy?.connections?.netsuite?.options.config;
+ const config = policy?.connections?.netsuite?.options?.config;
const {subsidiaryList} = policy?.connections?.netsuite?.options?.data ?? {};
const selectedSubsidiary = useMemo(() => (subsidiaryList ?? []).find((subsidiary) => subsidiary.internalID === config?.subsidiaryID), [subsidiaryList, config?.subsidiaryID]); |
@CyberAndrii Thank you |
@CyberAndrii You can consistently reproduce it if you haven't created custom segments/records. The proposal from @CyberAndrii looks good to me and working well! 🎀 👀 🎀 C+ reviewed! |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@puneetlath, @mollfpr 10 days overdue. Is anyone even seeing these? Hello? |
📣 @CyberAndrii You have been assigned to this job! |
UPD: Ok, managed to fix this with
mWeb iOSSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-08-27.at.14.24.09.mp4Native iOSSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-08-27.at.14.43.28.mp4 |
Not overdue, Melv. |
@puneetlath @mollfpr @CyberAndrii this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
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. |
The PR was deployed to production in #48791. The payment is due 2024-09-18. |
I couldn't find the offending PR but I believe this issue is a race condition on transitioning the page and displaying the Onyx data. We fix the issue by replacing the deprecated
The regression step should be enough.
@puneetlath Could you create the payment summary? Thank you! |
Payment Summary
BugZero Checklist (@puneetlath)
|
@CyberAndrii can you provide me your Upwork profile? It doesn't look like you were hired for the job. Payment summary:
|
@puneetlath https://www.upwork.com/freelancers/~01ca590af4f896abcb It was a manual application #47501 (comment), but the job seems to have been closed a few days ago |
Ok I sent you a new offer here: https://www.upwork.com/nx/wm/offer/104079114. Please ping me on this issue when you've accepted. |
@puneetlath done |
Ok @CyberAndrii has been paid. @mollfpr please request on NewDot. Thanks everyone! |
$250 approved for @mollfpr |
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:
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://github.com/Expensify/Web-Expensify/pull/42969
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
I should only the added segment or record.
Actual Result:
"Add custom segment or record" image appears briefly after adding the first one.
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?
Screenshots/Videos
Note: A shorter video showing the problem is here: #47501 (comment)
Bug6559939_1722575555547.bandicam_2024-08-02_07-02-13-997.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mollfprThe text was updated successfully, but these errors were encountered: