Skip to content

[HOLD for payment 2024-08-02] [Workspace Feeds] [External] Create new Edit Limit Type page #44328

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

Closed
mountiny opened this issue Jun 24, 2024 · 25 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Reviewing Has a PR in review Weekly KSv2

Comments

@mountiny
Copy link
Contributor

Part of the Workspace feeds project.

Implement the following part of the design doc.

@koko57 @VickyStash @allgandalf @DylanDylann

Copy link

melvin-bot bot commented Jun 28, 2024

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

@mountiny mountiny added Weekly KSv2 and removed Daily KSv2 labels Jun 28, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 28, 2024
@mountiny
Copy link
Contributor Author

Later phase of implementation

@melvin-bot melvin-bot bot added the Overdue label Jul 8, 2024
@mountiny
Copy link
Contributor Author

@VickyStash will work on this one

@melvin-bot melvin-bot bot removed the Overdue label Jul 10, 2024
@VickyStash
Copy link
Contributor

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

@trjExpensify trjExpensify added Daily KSv2 and removed Weekly KSv2 labels Jul 16, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 16, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jul 16, 2024
@trjExpensify
Copy link
Contributor

Assigned you! :)

@VickyStash
Copy link
Contributor

VickyStash commented Jul 17, 2024

@MariaHCD @mountiny I have a couple of questions here:

  1. In docs it says If a card limit is changed so that the remaining limit will go from >$0 to $0, we’ll throw a warning that lets the admin know this will decline transactions. Could you confirm how the limit type change affects the remaining limit so I can calculate it right.
  2. In docs it says If the card is changed to a fixed limit type and the total spend on the card exceeds the “fixed” limit (i.e. total spend over 2 months is $1,800, and admin is changing the limit type with a limit of $1,000), we won’t show Fixed as an option to switch to, because this would just terminate the card. Where can I find the total spend value?
  3. Should the Smart Limit option be shown on the edit screen if the approvals are not configured in the policy?

image

Note: I guess the button in the screen should say 'Save' instead of the 'Next'

@MariaHCD
Copy link
Contributor

@VickyStash

For 1 & 2:

Could you confirm how the limit type change affects the remaining limit so I can calculate it right.
Where can I find the total spend value?

I think we might need some additional thought around how to implement this. Left some initial thoughts here but I will start a fresh discussion in the channel.

Should the Smart Limit option be shown on the edit screen if the approvals are not configured in the policy?

Ah, good point. I would imagine there is no point in the SmartLimit option if approvals are not configured.

@VickyStash
Copy link
Contributor

Ah, good point. I would imagine there is no point in the SmartLimit option if approvals are not configured.

@MariaHCD does it mean it's possible this screen will have only one option - Monthly (if Fixed and Smart are hidden)

@MariaHCD
Copy link
Contributor

Yes, that's a possibility!

@VickyStash
Copy link
Contributor

Updates:
WIP, needs to resolve a couple of things mentioned above.
Updates can be found in the Draft PR

@VickyStash
Copy link
Contributor

I think we might need some additional thought around how to implement this. Left some initial thoughts here but I will start a fresh discussion in the channel.

@MariaHCD @mountiny Maybe I can open a PR without specific checks for now, and then we can specify them when linking the page with the backend?

@MariaHCD
Copy link
Contributor

@VickyStash Yes, that sounds good to me. I'm aiming to start a discussion in the channel today.

@VickyStash
Copy link
Contributor

Hey @dubielzyk-expensify, I guess you were working on these mockups. Could you please confirm the buttons text

image

I guess it should be Save instead of Next.
And maybe Change limit type instead of Change limit.
WDYT?

cc @shawnborton

@shawnborton
Copy link
Contributor

That makes sense to me. When you are just editing a single push-row and you are not in "step-by-step flow mode", we use "Save" as the button text. And your suggestion to use "Change limit type" makes sense too.

But let's definitely get a check from @dubielzyk-expensify too before moving forward.

@dubielzyk-expensify
Copy link
Contributor

Yep agree that those labels make more sense 👍

@mountiny
Copy link
Contributor Author

Thanks for raising these questions!

I agree with the latest copy changes, makes sense!

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

The PR has been opened for the review 👀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 26, 2024
@melvin-bot melvin-bot bot changed the title [Workspace Feeds] [External] Create new Edit Limit Type page [HOLD for payment 2024-08-02] [Workspace Feeds] [External] Create new Edit Limit Type page Jul 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

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

Copy link

melvin-bot bot commented Jul 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.12-0 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-02. 🎊

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

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Aug 1, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

Copy link

melvin-bot bot commented Aug 6, 2024

@MariaHCD, @VickyStash, @mountiny Eep! 4 days overdue now. Issues have feelings too...

@mountiny
Copy link
Contributor Author

mountiny commented Aug 7, 2024

Not overdue, the backend has been merged

@melvin-bot melvin-bot bot removed the Overdue label Aug 7, 2024
@mountiny
Copy link
Contributor Author

mountiny commented Aug 7, 2024

I have created a fresh issue for this one as I forgot we still had this one open. Nevertheless, I put all the details of the api command into the new issue #46959 and I think its fine to close this one and handle the integration over there @waterim @VickyStash

@mountiny mountiny closed this as completed Aug 7, 2024
@github-project-automation github-project-automation bot moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collect Aug 7, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Aug 16, 2024
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 Reviewing Has a PR in review Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

6 participants