-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-14] [$250] Remove $XX.XX from the submitted and approved system messages #58650
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 @Christinadobrzyn ( |
@garrettmknight What about unapproved system messages? |
Good call, let's update those too - I also just tweaked the copy in the OP. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove $XX.XX from the submitted and approved system messages What is the root cause of that problem?We add the amount for submitted and approved actions here Lines 5378 to 5403 in b0f5f9f
we use these functions to display the report actions and copy to clipboard and so on. additionally we add amount for the system message in getIOUReportActionMessage here Lines 5515 to 5517 in b0f5f9f
Lines 5539 to 5541 in b0f5f9f
Lines 5521 to 5523 in b0f5f9f
What changes do you think we should make in order to solve the problem?We can get the name from displayName of the Lines 968 to 970 in b0f5f9f
Lines 985 to 987 in b0f5f9f
For But for App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 484 to 490 in b0f5f9f
which currently returns copies with amount and additional comment as submitted $12.00 for sdf so we might need the amount here so for this case and other cases we need them we can update the copies to handle both cases with and without amount or add a separate copy for these cases needed but we will need to confirm with the initial intention on the current issue.
and also remove the amount from approved and unapproved system message here (we can also consider updating it to use the approved/unapproved copy same as we do for submitted message) and update similar to the new copy Lines 5515 to 5517 in b0f5f9f
Lines 5521 to 5523 in b0f5f9f
Note: Updating this functions suffices to avoid showing the amount in these system messages but if we are going to update the What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Test submit and approve actions to assert they create system messages with the appropriate message without amount if we are going to update the optimistic reportAction.message but if we don't we will not add tests as it will only be a copy change. What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021902157829644718864 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
I think this can be external |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hi is there anyone on the team who can please make me understand. How these things are working. Most the problems I see I can workon them but when I open GitHub it always says assigned to someone. How can I get to work on this? and If this is not the product freelance can work on how come it is getting posted on upwork. @garrettmknight @MelvinBot |
If an issue in the repo has the |
@srikarparsi can you please review this when you have a moment? TY! |
@FitseTLT do you think you can explain what will happen if we only make changes to the copy and not getIOUReportActionMessage. In other words, what difference does updating And on another note, can we consolidate by having getIOUReportActionMessage call getIOUUnapprovedMessage? On the backend, we will have to make changes to the action itself as well as the last message text. |
@srikarparsi Ignore what I have said before and on a second thought, I think we shouldn't make BE changes. We only use reportAction.message to display a report action for cases we haven't handled specifically. But for the report actions in this issue we all specifically control how we display the report actions via the functions getIOUSubmittedMessage getReportAutomaticallySubmittedMessage and so on. So I think we should updated those functions and linked copies to achieve the target of the issue. Having the amount inside the reportaction.message wouldn't hurt as we already control how display the actions in FE. WDYT |
Not overdue, solution being discussed |
@mananjadhav Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Just checking @FitseTLT are we still working on the revert? |
just got merged |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.41-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 2025-05-14. 🎊 For reference, here are some details about the assignees on this issue:
|
@mananjadhav @Christinadobrzyn @mananjadhav The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
This was reverted and on production for a few days. @garrettmknight I think this can now be paid out. |
Thanks @mananjadhav do we need a regression test? |
@Christinadobrzyn, No we decided to revert this PR. So no regression test and checklist needed. Just needs to be paid out. |
Thanks @mananjadhav since the PR reverted I think it's a 50% penalty. Payment summary here - #58650 (comment) Please make sure to request payment in ND. Closing this out! |
No penalities it is a change of plan no any regression read #58650 (comment) 😄 @Christinadobrzyn |
Ah sorry! Thank you! Paying it out in full. Updating the payment summary - #58650 (comment) |
Discussed with @Christinadobrzyn on DM and posting it here as well. The revert wasn’t because of a bug but change in requirement and that it’ll be handled as a larger change in another issue. |
$250 approved for @mananjadhav |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: N/A
Reproducible in staging?: N/A
Reproducible in production?: N/A
Email or phone of affected tester (no customers): N/A
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: N/A
Issue reported by: @garrettmknight
Slack conversation (hyperlinked to channel name): #convert
Action Performed:
1.Submit a few expenses that total $50
2. Report totals $50, system message says ‘submitted $50’
3. Move another $50 expense to the Processing report
4. Report totals $100, report history only shows submitting $50
5. Approve the report
Expected Result:
We shouldn't be duplicating information about the report total when it already exists at the top of the report.
Let's update the system messages to this:
Actual Result:
The submitted and approved system messages include the report total, duplicating the information on the report.
Workaround:
Users can use the product, it's just confusing.
Platforms:
All
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: