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

[Awaiting checklist] [$250] [MEDIUM] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel #46313

Closed
6 tasks done
twisterdotcom opened this issue Jul 26, 2024 · 17 comments
Assignees
Labels
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

@twisterdotcom
Copy link
Contributor

twisterdotcom commented Jul 26, 2024

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:
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @twisterdotcom
Slack conversation:

Action Performed:

  1. Ensure you're added to the spotnanaTravel beta
  2. Create a new Workspace (becoming an Admin) as a user without access to Expensify Travel yet
  3. Invite an employee to that Workspace
  4. Sign in as the employee
  5. Tap "Book Travel"
  6. Accept Terms and Conditions

Expected Result:

Anyone booking travel for the first time should be able to set the Workspace address regardless of role. Thus enabling to them to book trips. This works on oldDot: https://github.com/Expensify/Expensify/issues/404079

Actual Result:

See an error.

Workaround:

Have an admin set the Workspace address

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01398cd8d50461c00a
  • Upwork Job ID: 1816865684699873550
  • Last Price Increase: 2024-07-26
  • Automatic offers:
    • shubham1206agra | Contributor | 103281647
Issue OwnerCurrent Issue Owner: @twisterdotcom

cc @deetergp, @rushatgabhane, @shubham1206agra

@twisterdotcom twisterdotcom added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 26, 2024
@twisterdotcom twisterdotcom self-assigned this Jul 26, 2024
@melvin-bot melvin-bot bot changed the title [HIGH] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel [$250] [HIGH] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

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

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

melvin-bot bot commented Jul 26, 2024

Current assignee @twisterdotcom is eligible for the Bug assigner, not assigning anyone new.

Copy link

melvin-bot bot commented Jul 26, 2024

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

@twisterdotcom twisterdotcom moved this from Low - Everything else to High - Summer Release in [#whatsnext] #travel 2025-02-01 - External Commit Jul 26, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

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

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@twisterdotcom
Copy link
Contributor Author

Assigning @shubham1206agra as he's done most of the C+ work for Travel @parasharrajat.

@twisterdotcom twisterdotcom added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 26, 2024
@ShridharGoel
Copy link
Contributor

@twisterdotcom @shubham1206agra I'm getting 400 bad request on https://api-ext-sboxmeta.partners.spotnana.com/v2/auth/token/companies even though I have the beta enabled and a token is getting generated. This is happening even on the account which is the owner of workspace (I'm not sure if the 'book travel' option is even connected to a workspace?)

@rushatgabhane
Copy link
Member

rushatgabhane commented Jul 26, 2024

@twisterdotcom i'd like to work on this

If activePolicyID.address is empty, we will navigate the user to policy address page - /settings/workspaces/policyID/profile/address

All done in ManageTrips page.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 26, 2024
@rushatgabhane
Copy link
Member

PR here #46333

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

melvin-bot bot commented Aug 7, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Aug 7, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Aug 7, 2024
@melvin-bot melvin-bot bot changed the title [$250] [HIGH] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel [HOLD for payment 2024-08-14] [$250] [HIGH] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 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 Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.17-2 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-08-14. 🎊

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

Copy link

melvin-bot bot commented Aug 7, 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:

  • [@rushatgabhane / @shubham1206agra] The PR that introduced the bug has been identified. Link to the PR:
  • [@rushatgabhane / @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:
  • [@rushatgabhane / @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:
  • [@rushatgabhane / @shubham1206agra] Determine if we should create a regression test for this bug.
  • [@rushatgabhane / @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.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@kevinksullivan kevinksullivan changed the title [HOLD for payment 2024-08-14] [$250] [HIGH] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel [HOLD for payment 2024-08-14] [$250] [MEDIUM] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel Aug 8, 2024
@kevinksullivan kevinksullivan moved this from High - SuiteWorld September 9 to Medium - Intuit Connect October 28 in [#whatsnext] #travel 2025-02-01 - External Commit Aug 8, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 14, 2024
@twisterdotcom
Copy link
Contributor Author

Payment Summary:

@twisterdotcom twisterdotcom removed the Awaiting Payment Auto-added when associated PR is deployed to production label Aug 15, 2024
@twisterdotcom twisterdotcom changed the title [HOLD for payment 2024-08-14] [$250] [MEDIUM] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel [Awaiting checklist] [$250] [MEDIUM] Allow non-admins to set Workspace Address on newDot when attempting to Book Travel Aug 15, 2024
@shubham1206agra
Copy link
Contributor

@twisterdotcom Accepted offer

@twisterdotcom
Copy link
Contributor Author

Paid!

@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2024
@twisterdotcom
Copy link
Contributor Author

This is a new feature, so not going to go with a checklist here.

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@github-project-automation github-project-automation bot moved this from Medium - Intuit Connect October 28 to Done in [#whatsnext] #travel 2025-02-01 - External Commit Aug 19, 2024
@JmillsExpensify
Copy link

$250 approved for @rushatgabhane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Development

No branches or pull requests

6 participants