Skip to content
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-06-13] [$250] [Xero] [QBO] Improve the empty state of pages when there are no imported accounts found #42544

Closed
trjExpensify opened this issue May 23, 2024 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented May 23, 2024

Coming from here

Problem: When there’s no imported accounts found, we show an ambiguous empty page that makes it appear as though something is broken. When in fact, the page is empty because the accounts we're looking for don't exist in the accounting solution to import into Expensify.

image

Solution:
Add an illustration to the pages with an explainer to explain the lack of accounts being seen.

image

Copy

No accounts found
Add the account in and sync the connection again

Pages
/quickbooks-online/export/out-of-pocket-expense/account-select
/quickbooks-online/export/company-card-expense-account/account-select
/quickbooks-online/export/company-card-expense-account/default-vendor-select
/quickbooks-online/account-selector
/quickbooks-online/invoice-account-selector
/xero/export/bank-account-select
xero/advanced/bill-payment-account-selector
/xero/advanced/invoice-account-selector

CC: @Expensify/design @lakchote @hayata-suenaga

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c99a15ca9b588fc0
  • Upwork Job ID: 1793697280179924992
  • Last Price Increase: 2024-05-23
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @trjExpensify
@trjExpensify trjExpensify added Daily KSv2 NewFeature Something to build that is a new item. labels May 23, 2024
@trjExpensify trjExpensify self-assigned this May 23, 2024
Copy link

melvin-bot bot commented May 23, 2024

Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 23, 2024
@trjExpensify trjExpensify moved this to Release 1.5: XeroCon 2024 (June 12th) in [#whatsnext] #wave-collect May 23, 2024
@trjExpensify trjExpensify moved this from Release 1.5: XeroCon 2024 (June 12th) to Polish in [#whatsnext] #wave-collect May 23, 2024
@trjExpensify trjExpensify added the External Added to denote the issue can be worked on by a contributor label May 23, 2024
@melvin-bot melvin-bot bot changed the title [Xero] [QBO] Improve the empty state of pages when there are no imported accounts found [$250] [Xero] [QBO] Improve the empty state of pages when there are no imported accounts found May 23, 2024
Copy link

melvin-bot bot commented May 23, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01c99a15ca9b588fc0

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 23, 2024
Copy link

melvin-bot bot commented May 23, 2024

Current assignee @s77rt is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 23, 2024
@trjExpensify trjExpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 23, 2024
@trjExpensify
Copy link
Contributor Author

@s77rt all yours!

@shawnborton
Copy link
Contributor

We already have the telescope in product - it's shown if you try to make a room but don't have a workspace:
CleanShot 2024-05-23 at 19 36 43@2x

So we can just grab that same asset for this.

@shawnborton
Copy link
Contributor

Feels a little tiny over there though, so maybe we can update the size in both places - maybe 136x144?

@dannymcclain
Copy link
Contributor

Feels a little tiny over there though, so maybe we can update the size in both places - maybe 136x144?

Totally agree! My first thought when I saw your screenshot was "Looks like a telescope for ANTS!" 😆

🔭 🐜

@shawnborton
Copy link
Contributor

That's a solid emoji sequence

@abzokhattab
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Improve the empty state of pages when there are no imported accounts found

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 need to use the same blocking view component that is used inside the create room workspace page
    <BlockingView
    icon={Illustrations.TeleScope}
    iconWidth={variables.emptyWorkspaceIconWidth}
    iconHeight={variables.emptyWorkspaceIconHeight}
    title={translate('workspace.emptyWorkspace.notFound')}
    subtitle={translate('workspace.emptyWorkspace.description')}
    shouldShowLink={false}
    />
    but both the title and the subtitle should be changed according to each page
  • this component should show up if no accounts are found meaning the sections data length is zero below, else the selection list should be displayed.
    headerContent={<Text style={[styles.ph5, styles.pb5]}>{translate('workspace.qbo.accountsPayableDescription')}</Text>}
    sections={[{data}]}
    ListItem={RadioListItem}
    onSelectRow={selectExportAccount}
    initiallyFocusedOptionKey={data.find((mode) => mode.isSelected)?.keyForList}
    />
    </ScreenWrapper>

this modification should be added to all other pages that contain the accounts selector
image

Optional: the icon size inside the blocking view could be changed here to 136x144 as requested in this comment

@s77rt
Copy link
Contributor

s77rt commented May 23, 2024

@abzokhattab Thanks for your interest and quick proposal! However this issue does not have the Help Wanted label. I am taking this one.

@abzokhattab
Copy link
Contributor

No problem go ahead @s77rt

@s77rt
Copy link
Contributor

s77rt commented May 23, 2024

PR is ready for review

@pecanoro pecanoro self-assigned this May 24, 2024
@trjExpensify
Copy link
Contributor Author

Merged, awaiting a deploy of the freeze branch later today.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 6, 2024
@melvin-bot melvin-bot bot changed the title [$250] [Xero] [QBO] Improve the empty state of pages when there are no imported accounts found [HOLD for payment 2024-06-13] [$250] [Xero] [QBO] Improve the empty state of pages when there are no imported accounts found Jun 6, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jun 6, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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 2024-06-13. 🎊

For reference, here are some details about the assignees on this issue:

  • @s77rt requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jun 6, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@s77rt] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@s77rt
Copy link
Contributor

s77rt commented Jun 10, 2024

I don't think this requires a regression test

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 12, 2024
@trjExpensify
Copy link
Contributor Author

Agreed. Payment summary as follows:

  • $250 to @s77rt for the C+ review

Offer sent!

@melvin-bot melvin-bot bot removed the Overdue label Jun 13, 2024
@s77rt
Copy link
Contributor

s77rt commented Jun 13, 2024

@trjExpensify Accepted! Thanks! I believe @rushatgabhane is due payment for PR review

Copy link

melvin-bot bot commented Jun 13, 2024

Payment Summary

Upwork Job

  • ROLE: @s77rt paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@trjExpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1793697280179924992/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Jun 17, 2024
Copy link

melvin-bot bot commented Jun 18, 2024

@pecanoro, @trjExpensify, @s77rt Eep! 4 days overdue now. Issues have feelings too...

@trjExpensify
Copy link
Contributor Author

@trjExpensify Accepted! Thanks! I believe @rushatgabhane is due payment for PR review

@rushatgabhane was paid already, settled up with you. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Development

No branches or pull requests

6 participants