Repository navigation
Create Time expense Quick Action - #81876
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: The diff is too large to include in this comment (89KB), so I've created a gist for you: 📋 View the translation diff here 📋 Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
| selectOption(() => startDistanceRequest(CONST.IOU.TYPE.TRACK, reportID, requestType, true, undefined, isFromFloatingActionButton), false); | ||
| break; | ||
| case CONST.QUICK_ACTIONS.REQUEST_TIME: | ||
| selectOption(() => startMoneyRequest(CONST.IOU.TYPE.SUBMIT, reportID, requestType, false, undefined, undefined, isFromFloatingActionButton), true); |
There was a problem hiding this comment.
Why are we not allowing skipConfirmation for Time expenses? Was it intentional or is it a mistake?
There was a problem hiding this comment.
it was intentional. I believe we decided to not skip the confirmation page when creating time expenses from quick action.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
|
|
@DylanDylann Per Diem removes the quick action when disabling the feature in App/src/libs/actions/Policy/PerDiem.ts Line 51 in bc80c7b but I believe this is not necessary, since we check if the feature is enabled in QuickActionUtils before showing it: App/src/libs/QuickActionUtils.ts Line 107 in bc80c7b that's why I didn't add this for time tracking. let me know if you want me to remove this logic for Per Diem, so far I left it as is |
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
🚧 @grgia has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
I've been testing this out. I'm going to merge this to close out the project. Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridApp |
|
🚧 @grgia has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.3.19-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.19-5 🚀
|



Explanation of Change
Adds support for time expense creation in quick actions. After creating a time expense, there is now a quick action in the global menu, clicking which starts time request flow targeting the same workspace that was just used. Previously It would show a manual cash expense quick action.
Fixed Issues
$ #81856
PROPOSAL: N/A
Tests
Offline tests
Same as tests, but offline.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Nagranie.z.ekranu.2026-02-10.o.12.32.56.mov
Android: mWeb Chrome
Nagranie.z.ekranu.2026-02-10.o.12.34.58.mov
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Nagranie.z.ekranu.2026-02-12.o.11.40.51.mov