-
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
[$250] Show the connected QBO file a workspace is connected to #55921
Comments
Triggered auto assignment to @twisterdotcom ( |
Triggered auto assignment to @dubielzyk-expensify ( |
|
Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify ( |
We'll need to decide how this looks before labelling external 😎 |
Let's mirror the Xero look as @shawnborton noted: So: |
Job added to Upwork: https://www.upwork.com/jobs/~021884537133550887822 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
we can add: case CONST.POLICY.CONNECTIONS.NAME.QBO:
return !policy?.connections?.quickbooksOnline?.config?.companyName
? {}
: {
description: 'Connected to',
iconRight: Expensicons.ArrowRight,
title: policy?.connections?.quickbooksOnline?.config?.companyName,
wrapperStyle: [styles.sectionMenuItemTopDescription],
titleStyle: styles.fontWeightNormal,
shouldShowRightIcon: tenants.length > 1,
shouldShowDescriptionOnTop: true,
}; What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Show the connected QBO file a workspace is connected to What is the root cause of that problem?New Feature What changes do you think we should make in order to solve the problem?We will add qbo connection for the array here We will use code similar to this: case CONST.POLICY.CONNECTIONS.NAME.QBO:
return !policy?.connections?.quickbooksOnline?.config?.credentials?.companyName
? {}
: {
description: translate('workspace.qbo.connectedTo'),
iconRight: Expensicons.ArrowRight,
title: policy?.connections?.quickbooksOnline?.config?.credentials?.companyName,
wrapperStyle: [styles.sectionMenuItemTopDescription],
titleStyle: styles.fontWeightNormal,
shouldShowRightIcon: false,
shouldShowDescriptionOnTop: true,
pendingAction: policy?.connections?.quickbooksOnline?.config?.pendingFields?.companyName,
brickRoadIndicator: policy?.connections?.quickbooksOnline?.config?.errorFields?.companyName ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined,
}; No right icon always, no |
|
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@neonbhai Did you check whether we set that |
@parasharrajat hi, frontend code does not set errorField for the companyName, so we don't have code for it. The errorFields?.companyName key might potentially be set by the backend. looking at the code again, The Lines 222 to 237 in 2260557
Lines 477 to 478 in 2260557
Since we do set errorFields on the qbo App/src/libs/actions/connections/QuickbooksOnline.ts Lines 107 to 109 in 2260557
|
@parasharrajat I don't think we need to include pendingAction and brickRoadIndicator in the new component we added. The 'Connected to ...' text is just additional information about the current connection, and we're already displaying the error here:
There are two other reasons why showing the pending field and error for it is unnecessary:
that means if there is an error, the "Connected to ..." text is also hidden. cc @marcochavezf @dubielzyk-expensify |
|
Let me take a look at this. Thanks both. |
I see. Good catch @truph01. |
Updated my decision. Thanks for the clarification. I was thinking that we show offline pattern on on all menu items when connection is deleted while offline but it seems that is not the case. |
Thanks for the review @parasharrajat! Assigning @truph01 🚀 |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@parasharrajat PR is ready. |
PR is waiting on Lint warnings... |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expensify/Expensify Issue URL: NA
Issue reported by: @MitchExpensify
Slack conversation (hyperlinked to channel name): https://expensify.slack.com/archives/C03U7DCU4/p1738102051348139
Action Performed:
Expected Result:
See which QBO file the workspace is connected to in the Accounting tab
Actual Result:
The QBO file the workspace is connected to does not show
Workaround:
Verify via familiarity of the categories import or perhaps via the export options (e.g. Recognizing the credit card account listed as an export option
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
NewDot example:
OldDot example:
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @parasharrajatThe text was updated successfully, but these errors were encountered: