-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD for payment 2023-10-02] [HOLD for payment 2023-09-27] [Wave 6: Categories] CRITICAL: Allow Editing a Category on a Money Request #24464
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
Comments
Triggered auto assignment to @sakluger ( |
Triggered auto assignment to Design team member for new feature review - @shawnborton ( |
Hi, I'm Michael (Mykhailo) from Callstack and I would like to work in this issue. |
Hello, Im Artem from Callstack and I would like to help with this issue |
This is still on hold. |
Still on HOLD |
Also, another development, because we want to start sending push notifications for category updates from our server before this goes live, we can no longer rely on the absence of categories to hide the selector from the This means we'll need to add a canUseCategories to the Permissions.js file, and check that before showing the selector or not. Does that make sense / sound good? |
Waiting on backend, because it is important to test and verify that the app handles everything properly. |
Actually, @rezkiy37 we need to deploy the front-end portion first because of the way |
Makes sense. I agree. I am preparing a PR today. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.71-12 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 2023-09-27. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue: As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
Melvin, this issue is not completed yet. The main PR - #27459 - still under review. |
The PR - #27459 - has been merged. |
Looks like no C+ payment is required for this issue. So we can go ahead and close it out once it's on production. |
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. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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 2023-10-02. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue: As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
Uh oh!
There was an error while loading. Please reload this page.
Tracking Issue: https://github.com/Expensify/Expensify/issues/282161
Design Doc: https://docs.google.com/document/d/1itXKWlhms5YHcF4-lujO6g8T5LPdLVD_7onjtZBsATQ/edit#
HOLD ON https://github.com/Expensify/Expensify/issues/302031
Viewing Categories on Money Requests
For viewing a category on an already existing Money Request, if
isSingleTransactionView
= true, we'll render aMenuItemWithTopDescription
in theMoneyRequestView
. (This is not too different from what we do for theMoneyRequestConfirmationList
above when creating an expense).If a request is paid, then users will not be able to tap the request to edit the category, unless they are an admin of the policy the request is on.
PolicyUtils.isPolicyAdmin
.Editing Categories on Money Requests
To edit, we will be building off the EditMoneyRequestPage added in Wave 3: Manual Requests. We'll add a new route to the
moneyRequestDetails
Form that will render ourCategoryPicker
described above.The component will work the same as it does in the Money Request creation flow, except this time the
onSubmit
prop function will call theUpdateTransaction
API command. The action is described in Wave 3: Manual Requests. We will update it to support changing the category.A couple of other notes about editing categories:
UpdateTransaction
API command but use theoptimisticData
of theUpdateTransaction
API.write
call to display your category in a "greyed out" state. When the update syncs with the server we'll "ink in" the change.The text was updated successfully, but these errors were encountered: