-
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] QBO UK - Menu in "Export out-of-pocket expenses as" is blank before the connection syncs #45202
Comments
Triggered auto assignment to @abekkala ( |
@abekkala 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 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.QBO UK - Menu in "Export out-of-pocket expenses as" is blank before the connection syncs What is the root cause of that problem?No fallback value is provided to title prop. App/src/pages/workspace/accounting/qbo/export/QuickbooksOutOfPocketExpenseConfigurationPage.tsx Line 76 in 98932a2
What changes do you think we should make in order to solve the problem?Add a fallback value or hide the What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Menu in "Export out-of-pocket expenses as" is blank before the connection syncs What is the root cause of that problem?App/src/pages/workspace/accounting/qbo/export/QuickbooksOutOfPocketExpenseConfigurationPage.tsx Lines 76 to 77 in 3e164ed
Normally, when the title field is blank, the description field is shown instead (similar to "export as" in the menuItem above). However, in this scenario, both the title and description fields are empty. What changes do you think we should make in order to solve the problem?Even if the title field is empty, the description field should not be left blank we should include a default description like "account" or "bank account" if reimbursableExpensesExportDestination is undefined App/src/pages/workspace/accounting/qbo/export/QuickbooksOutOfPocketExpenseConfigurationPage.tsx Lines 43 to 45 in 3e164ed
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~010b2c93b291a15c58 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
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?
What alternative solutions did you explore? (Optional) |
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
@abekkala, @sobitneupane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I could not reproduce the issue. Is there any specific steps to reproduce the issue? |
@sobitneupane Can you share a video from your side? |
I just added QBO account and tested the issue.
How can I achieve the connection is not synced yet state? |
Screen.Recording.2024-07-17.at.16.58.13.mov |
@sobitneupane can you address the above from @tienifr |
Ah, so yeah.. it hasn't finished the sync yet to display the data. I think we have a solution with that for other integrations to not show the import, export, card rec, advanced rows until the connection has been established or something? CC: @Expensify/design |
Okay cool, so I think we could use this issue to implement that? I suspect that's frontend, but maybe @aldo-expensify can confirm. |
I'm not sure of what type of solution was implemented to have that, do we know who worked on that? |
@hungvu193 @rushatgabhane @mananjadhav might know! |
I didn't implement that logic but I think we're using the same logic for all 4 connections so far:
|
Ah, that's helpful. Following the blame it was @mananjadhav, I believe. |
So @aldo-expensify @hungvu193 @mananjadhav can this be external then? |
I'm a bit confused because the code @hungvu193 pointed out is supposed to apply to all types of connections, so that can't be what fixed the problem for other connections, or can it be? |
Good question, I don't know. @mananjadhav would be great for you to chime in here, please. Thanks! |
@mananjadhav can you review this please and provide your input? |
Sorry this didn't show up in K2. I'll check this in a while. |
Just went through the whole conversation. So when we did start the development we weren't hiding any menu options. With this PR, I implemented hiding the extra menu items (ie Netsuite Subsidiary and Xero Organization names). But IIRC when the initial sync isn't finished we don't show up and it worked as expected here. Now there are two questions I have here: |
Did @yuwenmemon's PR fix this, or is there more to do? (A.K.A - why is this still open? 😄). |
Yeah I think we can close |
@trjExpensify Payment is due for C+ reivew. |
Oh, sorry @sobitneupane. I missed that was an /App PR. Payment summary as follows:
Go ahead and request on NewDot! |
$250 approved for @sobitneupane |
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.6-0
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://expensify.testrail.io/index.php?/tests/view/4706870
Issue reported by: Applause - Internal Team
Action Performed:
Precondition
QBO UK connection is established in the workspace
The connection is not synced yet
Expected Result:
The item field in the setting is not empty and has the title of "Accounts payable"
Actual Result:
The second item which is "Accounts payable" only appears when syncing is complete and is blank before syncing
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6538186_1720633386267.2024-07-10_20_07_43.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abekkalaThe text was updated successfully, but these errors were encountered: