Open lanitochka17 opened 2 weeks ago
Triggered auto assignment to @robertjchen (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
@robertjchen FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
We think that this bug might be related to #wave-collect - Release 2
Categories copy mentions "Xero settings" instead of "NetSuite" settings
https://github.com/Expensify/App/blob/1d607acab9c47f2e0da4e8c85de5d90e2d47c11b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx#L270 this code only handling Xero and Quickbooks, it will always show Xero if not connected to Quickbooks
add new const isConnectedToXero on WorkspaceCategoriesPage
const isConnectedToXero = !!policy?.connections?.xero;
change this code to the following code to handle Xero, Quickbooks, and NetSuite
{`${translate(isConnectedToQbo ? 'workspace.accounting.qbo' : isConnectedToXero ? 'workspace.accounting.xero' : 'workspace.accounting.netsuite')} ${translate('workspace.accounting.settings')}`}
Need to update the following too: https://github.com/Expensify/App/blob/1d607acab9c47f2e0da4e8c85de5d90e2d47c11b/src/pages/workspace/tags/WorkspaceTagsPage.tsx#L283
create the following reusable function on PolicyUtils and implement it in all codes above
function getConnectionTypeTranslationKey(connections: Connections | undefined): TranslationPaths {
if (connections?.quickbooksOnline) {
return 'workspace.accounting.qbo';
} else if (connections?.xero) {
return 'workspace.accounting.xero';
} else {
return 'workspace.accounting.netsuite';
}
}
Use it like this:
{`${translate(PolicyUtils.getConnectionTypeTranslationKey(policy?.connections))} ${translate('workspace.accounting.settings')}`}
Job added to Upwork: https://www.upwork.com/jobs/~012bfdd3cfbe5588a2
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External
)
Upwork job price has been updated to $125
@robertjchen This isn’t a deploy blocker. The NetSuite work is in active development. I think this should be added to the NetSuite project scope. We need to fix the hardcoding the way I recently did for Connect button. Wdyt @yuwenmemon @JmillsExpensify
This needs to be fixed for categories, taxes, etc. pages.
Also @nyomanjyotisa we have atleast another 2-3 integrations in progress. We can’t have isConnected key for every connection.
I recently added CONNECTIONS.NAME_USER_FRIENDLY object. We can use that to fix it. But as I said this should be covered within the NetSuite scope, need not be external.
Got it, that makes sense!
I've raised the PR to fix this.
⚠️ Looks like this issue was linked to a Deploy Blocker here
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.
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.5-13 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-07-17. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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-3.1 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/44038
Action Performed:
Precondition:
Expected Result:
The Categories copy should mention "NetSuite settings"
Actual Result:
The Categories copy should mention "NetSuite settings"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/822e7c0f-ea65-4b3a-bf4f-8ced4907d3b1
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupane