-
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
[$250] QAB - Quick action shows the old title "Track distance" for distance expense in self DM #55456
Comments
Triggered auto assignment to @jliexpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-19 14:36:34 UTC. 🚨 Edited by proposal-police: This proposal was edited at 2025-01-19 14:36:34 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.QAB - Quick action shows the old title "Track distance" for distance expense in self DM Bug 1
Bug 2
What is the root cause of that problem?Bug1
Bug 2 (per diem) The call stack for perdiem: Lines 1340 to 1348 in b59f23b
What changes do you think we should make in order to solve the problem?Bug 1
Lines 838 to 841 in 86b9c79
Bug 2:
Line 990 in b59f23b
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can add test that validates the quick action type is perdiem after creating perdiem expense What alternative solutions did you explore? (Optional) |
|
Job added to Upwork: https://www.upwork.com/jobs/~021881123172239037305 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Upwork job price has been updated to $125 |
@Expensify/design I think this one makes sense, but I'd like to confirm this is ok for the rename:
|
Yeah, I think it makes sense to map the QAB actions to the Global create actions. What if we used our dot separator pattern for the QAB labels? Like so:
Thoughts @Expensify/design @trjExpensify @JmillsExpensify @jamesdeanexpensify ? |
I don't mind that at all and I recon it's probably the right way to go especially from a systems perspective. I will say I really like the human and straight forward string of
|
I see what you are saying but I don't love the variability of the words we're using there... some are expenses, some are requests, some track, some create, etc... I could get down with something like:
Thoughts? |
Yeah that's a fair point. I guess I just think words such as I think the above works well for me, but keen to hear what the others think. |
@shawnborton Does this change apply for quick actions created my track expense and money request or are we making the change for track expense only? Currently we are displaying the copy below for money request(create expense) types scanReceipt: 'Scan receipt',
recordDistance: 'Record distance',
requestMoney: 'Create expense', And this copy for track expense trackManual: 'Create expense',
trackScan: 'Create expense for receipt',
trackDistance: 'Track distance', |
Part of me thinks we'd use the same language everywhere, the only difference is that a "tracked" expense ends up in your personal space, which would be denoted by the icon on the right side of the QAB row. From my personal space, I don't even see the langauge for Track anymore anyways: Maybe @trjExpensify knows how that works now though? Where and when would you see Track language in the app now? |
Love that, yup that makes sense. |
I think we should keep the I think probably "Track distance" is the most colloquial term for the action there, we just couldn't use it before because of the whole "Track expense" flow, hence why we rolled with "Record distance". So I would vote for the below personally: Manual: |
I initially really loved Shawn's idea of using the dot separator pattern, but after reading through the thread I think I've come around to what Tom is saying above. Now that we're banishing the idea of "tracking an expense" being tied to your personal space, I think what Tom has laid out makes the most sense/will jive with users the best. |
Yeah same, I can totally get down with what Tom is suggesting. I think it feels much more natural and succinct than what I was suggesting. @trjExpensify what are you thinking for per diem though? |
In the doc it just had |
I like |
Okay cool, based on the above the copy for As for this issue, I think we can focus on these things:
How does that sound to everyone? |
Works for me 👍 |
Sorry for not making it clear. I will clean it up in a minute. |
Thanks. Looking forward to it. |
@mananjadhav I have tried to make my proposal clear. I hope it is clear now. It might be confusing since we are trying to handle two bugs. 1. Updating, and consolidating the qab copy for manual, scan, and distance money request as well as track expense, and 2. Creating QAB support for perdiem requests. Currently, when creating perdiem request quick action will not be updated with perdiem quick action and retain the previous quick action type. |
Thanks for the revisions. This looks better. @etCoderDysto's proposal looks good to me. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
What are we cleaning up exactly? From what I understand there are still 3 different QAB options we display. |
@arosiclair yes, we have 3 different QAB options - manual, scan and distance. But, depending on if the action is money request or track expense action, we are displaying different copies for the three quick action types. money request actions copy scanReceipt: 'Scan receipt',
recordDistance: 'Record distance',
requestMoney: 'Create expense', track expense actions copy trackManual: 'Create expense',
trackScan: 'Create expense for receipt',
trackDistance: 'Track distance', The refactor is to remove the copy for track actions from here, and use the money request actions copy for track expense actions too. That means if a user creates track manual expense they will see 'Create expense' as qab title which is reference by |
Yeah, Andrew we used to have If you use
*Yes, this used to be the QAB label name for distance in the Track flow, but we like it better than "Record distance", which we only chose because the "Track" flow existed. |
Alright proposal LGTM then 👍 |
📣 @etCoderDysto 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@mananjadhav @arosiclair @jliexpensify @etCoderDysto this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Not overdue, this is being worked on! |
@mananjadhav, @arosiclair, @jliexpensify, @etCoderDysto Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@etCoderDysto What's the ETA on the PR? |
@mananjadhav sorry for the delay. I am working on the PR. PR will be ready for review by tomorrow. |
@jliexpensify @trjExpensify I am assuming based on the new context of including the per diem and code refactor can we bump the pay back to the original price of $250? |
Upwork job price has been updated to $250 |
I think that's reasonable. |
@mananjadhav PR is ready for review. I have some issues to fix while the pr is reviewed, and a BE support for per diem qab is added. I have commented about the issues here. I will fix them while BE support is being added for per diem qab |
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.87-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Result:
Expected Result:
Since "track expense" is renamed to "create expense", "Track distance" in Quick action should be renamed to "Create expense for distance", which is coherent with Quick action for "Create expense" (Step 6) and "Create expense for receipt" (Step 9)
Actual Result:
Quick action still shows the old title "Track distance" for distance expense in self DM
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6717987_1737263039838.20250119_125142.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mananjadhavThe text was updated successfully, but these errors were encountered: