-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2025-01-13] Expense - Inconsistency in category and tax change system message when editing category #54559
Comments
Triggered auto assignment to @Beamanator ( |
Triggered auto assignment to @bfitzexpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
commented in the slack thread about the PR i think is responsible - prooobs this doesn't need to be a blocker 🤔 cc @bernhardoj @MonilBhavsar in case y'all can take a look |
Agree, functionality isn't affected by this regression ! |
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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Discrepancy in system messages for category and tax changes during category edits What is the root cause of that problem?The inconsistency arises due to the logic implemented in the following section of the code: App/src/libs/ModifiedExpenseMessage.ts Lines 326 to 329 in 918488a
The system categorizes changes into three types:
This logic results in inconsistencies when displaying messages: If a category is set for the first time, it appears on the second line. Examples of Current Behavior
What changes do you think we should make in order to solve the problem?Replace App/src/libs/ModifiedExpenseMessage.ts Lines 326 to 334 in 918488a
With
Replace App/src/libs/ModifiedExpenseMessage.ts Lines 84 to 103 in 918488a
with
Note: What alternative solutions did you explore? (Optional) |
Downgrading to "not a blocker" due to some convos in slack - in this thread Still discussing if this is a real issue or not @ijmalik thanks for your proposal, I am still checking if this is a bug or not, will open it up for reviewing your proposal if we agree this is a bug 🙏 |
Handling this in #54579 |
@Beamanator, @MonilBhavsar, @bfitzexpensify Huh... This is 4 days overdue. Who can take care of this? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.80-6 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-01-13. 🎊 |
@Beamanator / @MonilBhavsar @bfitzexpensify @Beamanator / @MonilBhavsar 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] |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
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: 9.0.78-2
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests
Action Performed:
Precondition:
Expected Result:
In Step 10, 12 and 14, when setting, changing and removing category from the expense, the system message should be consistent.
Actual Result:
When setting category (step 10), the system message starts with tax rate first, then category. The messages appear in two lines.
When changing category (step 12), the system message starts with category first, then tax rate. Both messages appear in one line.
When removing category (step 14), the system message starts with tax rate first, then category. The messages appear in two lines.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6701996_1735111142157.20241225_151152.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @bfitzexpensifyThe text was updated successfully, but these errors were encountered: