-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] [$250] Categorizing - RHP closes instead of returning to category list after deleting a category #43616
Comments
Triggered auto assignment to @garrettmknight ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Categorizing - RHP closes instead of returning to category list after deleting a category What is the root cause of that problem?We dismiss the modal when the deletion is confirmed. App/src/pages/workspace/categories/CategorySettingsPage.tsx Lines 70 to 74 in a451de4
What changes do you think we should make in order to solve the problem?We can either apply the same logic used in the
What alternative solutions did you explore? (Optional)We can check for const deleteCategory = () => {
Category.deleteWorkspaceCategories(route.params.policyID, [route.params.categoryName]);
setDeleteCategoryConfirmModalVisible(false);
if (backTo) {
Navigation.goBack(ROUTES.SETTINGS_CATEGORIES_ROOT.getRoute(route.params.policyID, backTo));
return;
}
Navigation.dismissModal();
}; Resultcategory_modal_closed.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Categorizing - RHP closes instead of returning to category list after deleting a category What is the root cause of that problem?App/src/pages/workspace/categories/CategorySettingsPage.tsx Lines 70 to 73 in a451de4
We always dismiss modal after deleting the category What changes do you think we should make in order to solve the problem?We ought to avoid employing the dismissModal function for pages that could serve as both the central pane and the right-hand pane. Instead, we should devise a function specifically for managing the goBack action for the CategorySettingsPage.
And utilizing this function in these places
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~0138b0b86909b7d865 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
@garrettmknight, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Reassigning C+ since Sibtain is out - @eVoloshchak can you take a look at this one? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@eVoloshchak bump when you get a chance. Thanks! |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@allroundexperts, PR ready for review ^ |
@allroundexperts friendly bump for a review. |
@garrettmknight Can you please assign this issue (and the PR) to me? It slipped from my K2 because of this. |
Assigned you @allroundexperts. Will you review the PR too? |
Yes, please assign the PR to me as well. |
@garrettmknight, PR was deployed to production on 16 July, this is ready for payments. |
Checklist
Regression TestPre-req: Workspace has disabled all the categories
Verify that the RHP will return to category list after deleting a category Do we 👍 or 👎 ? |
@garrettmknight, friendly bump for payments. |
@garrettmknight, friendly bump for payments. @allroundexperts can you pls bump this on slack? thanks |
@Krishna2323 sorry about this one, on it now! |
Payment Summary:
|
Leaving weekly for payment request @allroundexperts |
@garrettmknight I have noted this down for payment. Feel free to close the issue. |
$250 approved for @allroundexperts |
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: 1.4.82-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
RHP will return to category list after deleting a category
Actual Result:
RHP closes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6511282_1718221899351.20240613_034743.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Krishna2323The text was updated successfully, but these errors were encountered: