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-11-18] [QBD] Handle errors gracefully if the setup link cannot be obtained #51640

Closed
lakchote opened this issue Oct 29, 2024 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering

Comments

@lakchote
Copy link
Contributor

Related to #50216,

We should handle backend errors gracefully if the setup link cannot be obtained.

Otherwise an infinite loader will show:

image

@hoangzinh
Copy link
Contributor

Hi @lakchote @ZhenjaHorbach what should we show on the page if the setup link cannot be obtained?

@hoangzinh
Copy link
Contributor

Should it be

Screenshot 2024-10-30 at 17 57 55

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Oct 30, 2024

Or something similar as for offline mode but with a different text

Снимок экрана 2024-10-30 в 12 02 52

@Expensify/design
But I think we will need help from designers anyway !
What should we show on the QBD setup page if the setup link cannot be obtained

@shawnborton
Copy link
Contributor

shawnborton commented Oct 30, 2024

Some follow up questions to this:

We should handle backend errors gracefully if the setup link cannot be obtained.

What causes the error in the first place?

Can you retry? Is the retry likely to succeed? Or no?

@lakchote
Copy link
Contributor Author

What causes the error in the first place?

Can you retry? Is the retry likely to succeed? Or no?

@shawnborton

It will occur if for some reason the Integration Server didn't return the setupUrl to setup QBD.

You can retry by going back and clicking on Connect again.

However, it'll likely won't succeed as it usually indicates a bigger issue from the server.

@dubielzyk-expensify
Copy link
Contributor

I wonder if we could do something like this?
CleanShot 2024-10-31 at 11 17 07@2x

@lakchote
Copy link
Contributor Author

lakchote commented Oct 31, 2024

I wonder if we could do something like this?

I love it! Clean and explanative. What do you think @shawnborton @dannymcclain?

@shawnborton
Copy link
Contributor

That looks great to me, thanks Jon!

@dannymcclain
Copy link
Contributor

Love it 🚀

@hoangzinh
Copy link
Contributor

Cool. Could you give me the image or can you add it to this QBD Figma? @dubielzyk-expensify Thanks

@dannymcclain
Copy link
Contributor

@hoangzinh should be available here: App/assets/images/product-illustrations/broken-magnifying-glass.svg

@hoangzinh
Copy link
Contributor

Hi @lakchote do you have any idea how to reproduce this issue locally?

@hoangzinh
Copy link
Contributor

@hoangzinh should be available here: App/assets/images/product-illustrations/broken-magnifying-glass.svg

Hi @dannymcclain can I request another broken-magnifying-glass.svg? The current broken-magnifying-glass.svg has a lot of redundant spaces on the right. I have trouble centralizing it in the middle.

Screenshot 2024-11-01 at 18 18 15

@dannymcclain
Copy link
Contributor

Hmm, that's weird. I'm not seeing that bounding box issue in the current SVG... But I've exported another one just in case. You may want to double-check that one you're using though—we've definitely used this SVG in other places in the app without issue.

Broken Magnifying Glass.svg.zip

Also looks like according to Jon's mock in Figma it should be sized to be 120px tall (with a width around ~83px).

@hoangzinh
Copy link
Contributor

Thank you @dannymcclain

@hoangzinh
Copy link
Contributor

Update: still working on PR here #51850

@melvin-bot melvin-bot bot added Reviewing Has a PR in review and removed Overdue Daily KSv2 labels Nov 4, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 5, 2024
@melvin-bot melvin-bot bot changed the title [QBD] Handle errors gracefully if the setup link cannot be obtained [HOLD for payment 2024-11-18] [QBD] Handle errors gracefully if the setup link cannot be obtained Nov 11, 2024
Copy link

melvin-bot bot commented Nov 11, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 11, 2024
Copy link

melvin-bot bot commented Nov 11, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.59-3 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-11-18. 🎊

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

  • @hoangzinh requires payment through NewDot Manual Requests
  • @ZhenjaHorbach requires payment (Needs manual offer from BZ)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 18, 2024
Copy link

melvin-bot bot commented Nov 18, 2024

Issue is ready for payment but no BZ is assigned. @isabelastisser you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Nov 18, 2024

Payment Summary

Upwork Job

BugZero Checklist (@isabelastisser)

  • 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//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@isabelastisser
Copy link
Contributor

Payment Summary

Upwork Job

Reviewer: @hoangzinh owed $250 via NewDot PENDING.
PR: @ZhenjaHorbach paid $250 via Upwork (LINK)

@isabelastisser
Copy link
Contributor

All set!

@garrettmknight
Copy link
Contributor

$250 approved for @hoangzinh

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 Engineering
Projects
Development

No branches or pull requests

8 participants