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-10-17] [$250] Desktop - Xero - Mac - Expensify opens in web browser (Safari) after logging in with Xero credentials #49342

Closed
1 of 6 tasks
IuliiaHerets opened this issue Sep 17, 2024 · 35 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 17, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.36-1
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/4971703&group_by=cases:section_id&group_id=309134&group_order=asc
Issue reported by: Applause Internal Team

Action Performed:

Precondition: Account has 2FA enabled.

  1. Open the app
  2. Log in with a Gmail account
  3. Click on FAB - New workspace
  4. Enable "Accounting" in the "More features" page.
  5. Navigate to "Accounting"
  6. Click on the "Connect" button next to Xero
  7. Enter Xero credentials and click on the "Allow access" button after selecting othe organisation

Expected Result:

The app should be opened.

Actual Result:

Expensify opens in web browser (Safari) after logging in with Xero credentials.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6606542_1726573580102.Screen_Recording_2024-09-17_At_4.32.58.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021838081379137473899
  • Upwork Job ID: 1838081379137473899
  • Last Price Increase: 2024-09-30
  • Automatic offers:
    • shubham1206agra | Reviewer | 104272545
Issue OwnerCurrent Issue Owner: @VictoriaExpensify
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 17, 2024
Copy link

melvin-bot bot commented Sep 17, 2024

Triggered auto assignment to @VictoriaExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@IuliiaHerets
Copy link
Author

@VictoriaExpensify 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

@melvin-bot melvin-bot bot added the Overdue label Sep 19, 2024
Copy link

melvin-bot bot commented Sep 20, 2024

@VictoriaExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@VictoriaExpensify
Copy link
Contributor

I've recreated the issue and do agree that it isn't ideal - ideally we would route the user back to the app not web-browser

@melvin-bot melvin-bot bot removed the Overdue label Sep 23, 2024
@VictoriaExpensify VictoriaExpensify added External Added to denote the issue can be worked on by a contributor Overdue labels Sep 23, 2024
@melvin-bot melvin-bot bot changed the title Desktop - Xero - Mac - Expensify opens in web browser (Safari) after logging in with Xero credentials [$250] Desktop - Xero - Mac - Expensify opens in web browser (Safari) after logging in with Xero credentials Sep 23, 2024
Copy link

melvin-bot bot commented Sep 23, 2024

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

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

melvin-bot bot commented Sep 23, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (External)

Copy link

melvin-bot bot commented Sep 26, 2024

@VictoriaExpensify, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2024
@VictoriaExpensify
Copy link
Contributor

Still waiting for proposals

@melvin-bot melvin-bot bot removed the Overdue label Sep 27, 2024
@shubham1206agra
Copy link
Contributor

@VictoriaExpensify Can you post this issue in expert contributors room? Since this issue requires changes in navigation.

Copy link

melvin-bot bot commented Sep 30, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@VictoriaExpensify
Copy link
Contributor

@VickyStash
Copy link
Contributor

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

@VickyStash
Copy link
Contributor

VickyStash commented Oct 1, 2024

Unfortunately, I have some problems with the Safari browser, which I'm going to resolve within an ~ hour.

But at first glance at the video, it looks like Safari tries to open the desktop app after a successful Xero connection, but due to built in security checks it asks about allowance to open the desktop app.

image

I'm not sure that we can get rid of this default browser check, but I guess if you once select Always allow it should resolve the issue. And just pressing Allow should also open the desktop app.

You can see the similar security check and similar behaviour in the Google Chrome as well. I needed to allow the desktop app to be opened:

ex_1.mp4

@VickyStash
Copy link
Contributor

I was able to get the same behavior in the Safari, and as I mentioned above - pressing Allow opens the desktop app. But I'm not sure that the expected screen is opened on the desktop.

ex_safari.mp4

@VictoriaExpensify Could you confirm what screen should be opened after navigating to the desktop app?

Copy link

melvin-bot bot commented Oct 2, 2024

Triggered auto assignment to @AndrewGable, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 2, 2024
@VickyStash
Copy link
Contributor

VickyStash commented Oct 2, 2024

I've prepared the PR for the review. But there is a problem with eslint check in one of the files wich requires to get rid of withOnyx usage. At the same time useOnyx usage causing regression, more details can be found here: #50071 (comment).

UPD: There is a separate issue #49103 to migrate AuthScreens to useOnyx. So, I think the failing check can be skipped in the PR.

@shubham1206agra
Copy link
Contributor

@AndrewGable Please do the assignment here
Thanks

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 4, 2024
Copy link

melvin-bot bot commented Oct 4, 2024

📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 10, 2024
@melvin-bot melvin-bot bot changed the title [$250] Desktop - Xero - Mac - Expensify opens in web browser (Safari) after logging in with Xero credentials [HOLD for payment 2024-10-17] [$250] Desktop - Xero - Mac - Expensify opens in web browser (Safari) after logging in with Xero credentials Oct 10, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 10, 2024
Copy link

melvin-bot bot commented Oct 10, 2024

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

Copy link

melvin-bot bot commented Oct 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.47-4 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-10-17. 🎊

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

Copy link

melvin-bot bot commented Oct 10, 2024

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

  • [@shubham1206agra] The PR that introduced the bug has been identified. Link to the PR:
  • [@shubham1206agra] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@shubham1206agra] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@shubham1206agra] Determine if we should create a regression test for this bug.
  • [@shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@VictoriaExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 17, 2024
@VictoriaExpensify
Copy link
Contributor

Hey @shubham1206agra - can you please complete the checklist and I'll process your payment. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Oct 21, 2024
Copy link

melvin-bot bot commented Oct 21, 2024

@AndrewGable, @VickyStash, @VictoriaExpensify, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick!

@shubham1206agra
Copy link
Contributor

Need to do checklist here

@shubham1206agra
Copy link
Contributor

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

@VictoriaExpensify
Copy link
Contributor

Payment Summary:
Contributor: @VickyStash - Contractor
Contributor+: @shubham1206agra paid $250 via Upwork

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Status: Polish
Development

No branches or pull requests

5 participants