Repository navigation
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 bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
It looks like this PR adds a search filter or column. Please double check the following:
|
|
Mhm, good question. I don't see why we wouldn't add a filter for it. We have
You should be able to sort on this column when displayed in the table. 👍 |
|
@QichenZhu 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] |
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 16c5db99c2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Both should be a follow-up imo |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
I found an offline defect, likely a frontend bug.
For reference, the report table view shows the last known value $54.69, which is stale but somewhat better. bug.mov |
|
This looks a bit tight, not sure if that's just the default stuff though. I wonder if we could get away with saying
|
|
…erted-amount-column

Explanation of Change
Adds an optional Converted amount column to expense searches (Spend > Expenses), with sorting and a filter. The column shows each expense in its workspace's output currency, using the
policyConvertedAmountandpolicyCurrencyfields from Search. Expenses without a workspace, such as unreported expenses, show their own amount and currency. An expense created offline, or one whose amount, currency or report is edited, shows its own amount until the next search returns the converted value. The table header reads Converted, while the column picker and the filter say Converted amount. The column is off by default and is not offered in the single-report view.Clicking the column header sorts by the converted amount (
sortBy:convertedAmount). The Converted amount filter sits above Purchase amount and works the same way. A bare value compares each expense in its own workspace currency, and a value with a currency, such asconvertedAmount>"50.00 USD", converts the amount to that currency first.columns:converted-amounttyped in the search bar now maps back to the column.Fixed Issues
$ #106537
PROPOSAL: #106537 (comment)
Tests
Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari