You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-08-09] [Simple AA in NewDot] Support FORWARDED report action in NewDot #46241
@shawnborton I tagged design here b/c I want to make sure we get the correct copy for showing the Forwarded report action in NewDot.
The current copy in OldDot is: You approved and forwarded this report to <next approver>
I don't think we want to mention the term "Forwarded" / forwarding concept in NewDot, we want to make it always read "Approve" IIRC, so I suggest one of these copies:
approved $<amount> (this follows the existing APPROVED report action text)
approved and passed to <next approver> for further approval
changed the title [-][Advanced Approval Workflows] Support `FORWARDED` report action in NewDot[/-][+][Simple AA in NewDot] Support `FORWARDED` report action in NewDot[/+]on Jul 25, 2024
This is a new feature so we don't have an offending PR. I am not sure if we have regression tests managed centrally for this. But specifically for this issue we can take the steps from the PR.
Regression Test Proposal
In OldDot, create a Control policy with 3 members:
The owner
An approver (user role)
An submitter (user role)
In OldDot, make sure the policy has advanced approvals turned on (in the Members tab), with these settings:
submitter has submitsTo set to the approver
approver has approves to / forwardsTo set to the owner
Make sure the policy has isPolicyExpenseChatEnabled set to true, by running this in the console when you have that policy open in OldDot:
p = Policy.getCurrent();
p.policy.isPolicyExpenseChatEnabled = true;
p.save();
In OldDot, as the Submitter, create a report & add an expense to it, then submit the report.
As the approver, log in to both OldDot & NewDot in separate tabs
As the approver, in OldDot, "Approve & Forward" the report
Verify that in NewDot, the report action approved $<amount shows up live both in the report & in the LHN
While in OldDot the report action reads "Approved and forwarded to ..." but we agreed we just want it to say approved $<amount in NewDot.
For the report action item, right-click the item and click on Copy to clipboard. Verify on paste it shows approved $<amount.
Activity
melvin-bot commentedon Jul 25, 2024
Triggered auto assignment to @sakluger (
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 commentedon Jul 25, 2024
Triggered auto assignment to @shawnborton (
Design), see these Stack Overflow questions for more details.Beamanator commentedon Jul 25, 2024
@shawnborton I tagged design here b/c I want to make sure we get the correct copy for showing the
Forwardedreport action in NewDot.The current copy in OldDot is:
You approved and forwarded this report to <next approver>I don't think we want to mention the term "Forwarded" / forwarding concept in NewDot, we want to make it always read "Approve" IIRC, so I suggest one of these copies:
approved $<amount>(this follows the existingAPPROVEDreport action text)approved and passed to <next approver> for further approval[-][Advanced Approval Workflows] Support `FORWARDED` report action in NewDot[/-][+][Simple AA in NewDot] Support `FORWARDED` report action in NewDot[/+]28 remaining items
sakluger commentedon Aug 8, 2024
I'll add the payment summary tomorrow. @mananjadhav, can you please propose regression test steps for this one?
sakluger commentedon Aug 9, 2024
Summarizing payment on this issue:
Contributor+: @mananjadhav $250, please request on Newdot
sakluger commentedon Aug 9, 2024
@mananjadhav please also propose new regression test steps 🙏
melvin-bot commentedon Aug 9, 2024
Payment Summary
Upwork Job
BugZero Checklist (@sakluger)
sakluger commentedon Aug 12, 2024
@mananjadhav friendly bump to propose regression steps.
sakluger commentedon Aug 13, 2024
Manan is out, posting for Melvin.
mananjadhav commentedon Aug 14, 2024
This is a new feature so we don't have an offending PR. I am not sure if we have regression tests managed centrally for this. But specifically for this issue we can take the steps from the PR.
Regression Test Proposal
In OldDot, create a Control policy with 3 members:
approver(userrole)submitter(userrole)In OldDot, make sure the policy has
advanced approvalsturned on (in theMemberstab), with these settings:submitterhassubmitsToset to theapproverapproverhasapproves to/forwardsToset to theownerMake sure the policy has
isPolicyExpenseChatEnabledset to true, by running this in the console when you have that policy open in OldDot:In OldDot, as the
Submitter, create a report & add an expense to it, then submit the report.As the
approver, log in to both OldDot & NewDot in separate tabsAs the
approver, in OldDot, "Approve & Forward" the reportVerify that in NewDot, the report action
approved $<amountshows up live both in the report & in the LHNWhile in OldDot the report action reads "Approved and forwarded to ..." but we agreed we just want it to say
approved $<amountin NewDot.For the report action item, right-click the item and click on
Copy to clipboard. Verify on paste it showsapproved $<amount.cc - @Beamanator @sakluger
JmillsExpensify commentedon Aug 14, 2024
$250 approved for @mananjadhav
sakluger commentedon Aug 14, 2024
Awesome, thanks Manan!