Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.23k stars 2.69k forks source link

[HOLD for payment 2024-07-24] Policy category - Add GL Code #44255

Closed Gonals closed 2 weeks ago

Gonals commented 1 month ago

From the design doc:

settings/workspaces/{policyID}/categories/{categoryName}/gl-code -> CategoryGLCodePage
- Parameter: categoryName, the name of the category for which we are updating the GL code.
- Calls UpdateCategoryGLCode
policyID
categoryName - the name of the category for which we are updating the GL code.
glCode - the updated GL code for the category.
The pendingAction for the OfflineWithFeedback component will be policyCategory.pendingFields?.glCode
Issue OwnerCurrent Issue Owner: @Christinadobrzyn
melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @Christinadobrzyn (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

melvin-bot[bot] commented 1 month ago

:warning: It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time :warning:

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature)

Gonals commented 1 month ago

@rushatgabhane will be working on this

rushatgabhane commented 1 month ago

PR here: https://github.com/Expensify/App/pull/43149

waiting for backend to deploy

Christinadobrzyn commented 1 month ago

Update for Melvin - monitoring PR - https://github.com/Expensify/App/pull/43149

Christinadobrzyn commented 1 month ago

Update for Melvin - monitoring PR - https://github.com/Expensify/App/pull/43149

melvin-bot[bot] commented 1 month ago

⚠️ 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.

Christinadobrzyn commented 1 month ago

PR in staging - https://github.com/Expensify/App/pull/43149

@Gonals do we need to be concerned about this comment - https://github.com/Expensify/App/issues/44255#issuecomment-2229783919

rushatgabhane commented 1 month ago

@Christinadobrzyn no, that is part of plan. We are replacing it with Upgrade flow

melvin-bot[bot] commented 1 month ago

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

melvin-bot[bot] commented 1 month ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.7-8 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-07-24. :confetti_ball:

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

melvin-bot[bot] commented 1 month ago

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

Christinadobrzyn commented 3 weeks ago

I don't think we need a regression test since this is a new feature, correct @rushatgabhane?

Payouts due:

melvin-bot[bot] commented 3 weeks ago

Payment Summary

[Upwork Job]()

BugZero Checklist (@Christinadobrzyn)

Payment through NewDot so nothing done in Upwork

Christinadobrzyn commented 3 weeks ago

Payment day is here - payment summary - https://github.com/Expensify/App/issues/44255#issuecomment-2248619739

I don't think we need a regression test for this since it's a new feature but let me know @rushatgabhane!

rushatgabhane commented 3 weeks ago

@Christinadobrzyn this will need a regression steps because we want to avoid future bugs.

rushatgabhane commented 3 weeks ago

Please assign @shubham1206agra as they were the C+ for the PR. @shubham1206agra will also help with the regression steps

I was the PR author

JmillsExpensify commented 3 weeks ago

$250 approved for @rushatgabhane

Christinadobrzyn commented 3 weeks ago

Just checking on this - https://github.com/Expensify/App/issues/44255#issuecomment-2251824144

@shubham1206agra should you be paid for this as well? If yes, are you paid through Upwork or NewDot?

Can you create a regression test?

shubham1206agra commented 3 weeks ago

should you be paid for this as well?

Yes

If yes, are you paid through Upwork or NewDot?

Upwork

shubham1206agra commented 3 weeks ago

Can you create a regression test?

This might be covered in project test steps.

Christinadobrzyn commented 3 weeks ago

Thanks @shubham1206agra - here's the upwork offer - https://www.upwork.com/nx/wm/offer/103283703

Are you happy with these as the regression test steps:

  1. Go to a collect policy
  2. Go to category page
  3. Select any category
  4. Verify that you see GL Code
  5. Verify that you can set a GL Code in the text input.
  6. Verify that clicking save sets the GL Code and navigates you back
shubham1206agra commented 3 weeks ago

@Christinadobrzyn Offer accepted. And the test steps are good enough.

Christinadobrzyn commented 2 weeks ago

Regression test here - https://github.com/Expensify/Expensify/issues/416064

Paid @shubham1206agra in Upwork. Payment summary here - https://github.com/Expensify/App/issues/44255#issuecomment-2248619739

Closing!