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-25] [Workspace feeds polish] SmartLimit option not showing on WorkspaceEditCardLimitTypePage #50784

Closed
6 tasks done
MariaHCD opened this issue Oct 15, 2024 · 22 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

Comments

@MariaHCD
Copy link
Contributor

MariaHCD commented Oct 15, 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:
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: https://expensify.slack.com/archives/C036QM0SLJK/p1728928454869509?thread_ts=1727196342.211239&cid=C036QM0SLJK

Action Performed:

  1. Create a workspace on NewDot with advanced approvals configured
  2. Configure the workspace for the Expensify Card
  3. Attempt to issue a new card to a member

Expected Result:

The SmartLimit option should display

Actual Result:

The SmartLimit option was not displayed - only the Monthly and Fixed limit options were available

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

Add any screenshot/video evidence

image

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @allgandalf
@VickyStash
Copy link
Contributor

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

@allgandalf
Copy link
Contributor

@mountiny are you able to reproduce? i cannot

@mountiny
Copy link
Contributor

I think it has to be control policy with policy chats enabled

@mountiny mountiny added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 16, 2024
Copy link

melvin-bot bot commented Oct 16, 2024

Triggered auto assignment to @sonialiap (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.

@mountiny mountiny moved this to MEDIUM in [#whatsnext] #quality Oct 16, 2024
@mountiny
Copy link
Contributor

@VickyStash are you able to reproduce this one? I think you might need to set up the approver on the control policy in oldDot (at the isPolicyExpenseChatEnabled to true there as well) and then try it

@VickyStash
Copy link
Contributor

@mountiny Yeah, I think I'm able to reproduce it. I've updated the approval mode to Advanced approvals in the old dot and it caused the mentioned bug.
cc @allgandalf

@VickyStash
Copy link
Contributor

The video with reproduction, just in case

Example.mp4

@VickyStash
Copy link
Contributor

The PR has been opened for the review.

@allgandalf
Copy link
Contributor

@VickyStash are you able to reproduce this one? I think you might need to set up the approver on the control policy in oldDot (at the isPolicyExpenseChatEnabled to true there as well) and then try it

I was able to reproduce through OD, reviewing PR now

@mountiny
Copy link
Contributor

merged

@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 18, 2024
@melvin-bot melvin-bot bot changed the title [Workspace feeds polish] SmartLimit option not showing on WorkspaceEditCardLimitTypePage [HOLD for payment 2024-10-25] [Workspace feeds polish] SmartLimit option not showing on WorkspaceEditCardLimitTypePage Oct 18, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 18, 2024
Copy link

melvin-bot bot commented Oct 18, 2024

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

Copy link

melvin-bot bot commented Oct 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 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-25. 🎊

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

Copy link

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

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

@allgandalf
Copy link
Contributor

Lets close this one

@MariaHCD
Copy link
Contributor Author

Thanks, all!

@tgolen
Copy link
Contributor

tgolen commented Oct 23, 2024

Reopening this one so @allgandalf and @sonialiap can complete the regression checklist

@tgolen tgolen reopened this Oct 23, 2024
@mountiny
Copy link
Contributor

@allgandalf lets add a regression test for the smart limit option with the approver, I dont think that was covered in the the original testing steps for workspace feeds

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

melvin-bot bot commented Oct 25, 2024

Payment Summary

Upwork Job

  • Contributor: @VickyStash is from an agency-contributor and not due payment
  • ROLE: @allgandalf paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@sonialiap)

  • 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

Copy link

melvin-bot bot commented Oct 28, 2024

@sonialiap, @VickyStash, @mountiny, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Oct 28, 2024
@sonialiap
Copy link
Contributor

@allgandalf bumping for completion of the checklist #50784 (comment)

@allgandalf
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: [No QA] Create new Edit Limit Type page #45601

  • 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: https://github.com/Expensify/App/pull/45601/files#r1822324722

  • 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: N/A

  • 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.

Regression Test Proposal

  • Create a workspace.
  • Configure the workspace for the Expensify Card.
  • Attempt to issue a new card to a member -> SmartLimit limit type shouldn't be displayed.
  • In More Features, enable Workflows. In Workflows, enable Approvals.
  • Attempt to issue a new card to a member -> SmartLimit limit type should be displayed.
  • Go to the old dot and turn on the Advanced Approval mode for the workspace.

Verify that: when attempting to issue a new card to a member -> SmartLimit limit type should be displayed.
Do we agree 👍 or 👎

@melvin-bot melvin-bot bot removed the Overdue label Oct 30, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

@sonialiap @mountiny Be sure to fill out the Contact List!

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
Projects
Status: Done
Development

No branches or pull requests

6 participants