Repository navigation
Merge main into working branch - #84193
Conversation
Update the unit test name to reflect the asserted behavior that TAG_OUT_OF_POLICY is not added when a policy requires tags but has no enabled tags.
Prevent single-level tag validation from adding or retaining MISSING_TAG when a policy has no enabled tags, matching Auth behavior. Add tests for no-enabled-tag scenarios, including cleanup of stale missingTag violations.
Ensure single-level tag validation removes existing TAG_OUT_OF_POLICY when a transaction tag is cleared to an empty string, matching empty-tag flows. Add regression tests for empty-string tag cleanup with enabled and fully disabled policy tags.
Add alignItemsCenter to the TextWithIconCell container View so that the 12px category/tag icons are vertically centered relative to multi-line text, matching the alignment used in TransactionPreviewContent. Co-authored-by: Yuwen Memon <yuwenmemon@users.noreply.github.com>
Updated avatar rendering logic for workspace task reports to correctly handle subscript avatars based on the presence of chatReportID. Adjusted related utility functions and added comprehensive tests to cover new scenarios, including nested task reports.
…2-better-existing-acc-detection
[No QA] Update Expensify-Home-Overview.md to add Assigned cards section
…nment-ci-check [NoQA] Enable ELF alignment CI check
|
|
||
| return ( | ||
| <View style={styles.flexRow}> | ||
| <Text style={{color: theme.text, fontSize: variables.fontSizeNormal, lineHeight: variables.fontSizeNormalHeight, paddingHorizontal: 8}}>{CONST.DOT_SEPARATOR}</Text> |
There was a problem hiding this comment.
❌ CONSISTENCY-2 (docs)
The value 8 for paddingHorizontal is a magic number. The codebase already defines this spacing as styles.ph2 (padding horizontal 8). Using the named style constant improves readability and ensures consistency if the spacing value ever changes.
Replace the inline paddingHorizontal: 8 with the existing theme style:
// Before
<Text style={{color: theme.text, fontSize: variables.fontSizeNormal, lineHeight: variables.fontSizeNormalHeight, paddingHorizontal: 8}}>
// After — extract to a style object using styles.ph2 or define a named constant
<Text style={[{color: theme.text, fontSize: variables.fontSizeNormal, lineHeight: variables.fontSizeNormalHeight}, styles.ph2]}>Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.
HelpDot Documentation ReviewOverall AssessmentThis PR merges The primary reviewable change is from PR #83525, which adds coverage for the Assigned cards section to the Expensify Home Overview article. The other file changes (+10/-15 for Statement Matching, +4/-4 for Unapproved Spend, +4/-0 for Using Search) represent smaller refinements being brought into the branch from main. Scores Summary
Key FindingsPositive aspects:
Issues to address:
Recommendations
Files Reviewed
Note: This review focused on the documentation changes being merged from main into the helpsite-integration-error-revamp branch. The primary content addition is the Assigned cards section in the Home Overview article (from PR #83525). Scores and findings are based only on the proposed changes and the final state of the files being merged. |
| description: Learn what you’ll see on Home and how it helps you understand what needs attention, get oriented, and stay informed when you sign in. | ||
| keywords: [Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection] | ||
| internalScope: Audience is all Expensify members. Covers what Home is and what appears on it, including the For you, Discover, Announcements, and Time-sensitive sections. Does not cover how to complete actions like submitting, approving, paying, exporting, or fixing expenses. | ||
| keywords: [New Expensify, Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection, assigned cards. Expensify Card limit, available limit, available balance] |
There was a problem hiding this comment.
YAML metadata typo: There is a period (.) instead of a comma (,) after "assigned cards" in the keywords list. This breaks the keyword list parsing.
| keywords: [New Expensify, Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection, assigned cards. Expensify Card limit, available limit, available balance] | |
| keywords: [New Expensify, Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection, assigned cards, Expensify Card limit, available limit, available balance] |
| @@ -23,8 +23,9 @@ Workspace Admins with: | |||
|
|
|||
| ## Where to find Statement Matching and Reconciliation | |||
| Go to: | |||
| - **Reports > Reconciliation > Expensify Card** — match Expensify Card withdrawals with your bank statement | ||
| - **Reports > Reconciliation > Reimbursements** — match reimbursement payments with your bank statement | ||
|
|
||
| --- |
| @@ -38,7 +39,7 @@ The Statement Matching view shows: | |||
| - **Total footer** showing the sum of transactions for the statement period | |||
|
|
|||
|
Note: Please disregard the three "test" inline comments on Statement-Matching-and-Reconciliation.md lines 25, 30, and 40 -- those were probe comments to identify diff boundaries. Actual review comments follow. |
| 1. Open **Reports > Reconciliation > Card statements**. | ||
| 2. Apply the **Feed** filter for the correct card account. | ||
| 3. Use the **Posted** filter with **Last statement**. | ||
| 4. Compare the **Total** footer with your card statement. |
|
|
||
| **Steps:** | ||
| 1. Open **Reports > Accounting > Statement**. | ||
| 1. Open **Reports > Reconciliation > Card statements**. |
|
Correction to previous note: Please also disregard the "test-probe" inline comments on Statement-Matching-and-Reconciliation.md at lines 42 and 45. These were used to identify diff boundaries. The actual review findings follow below as proper inline comments. |
| https://help.expensify.com/articles/new-expensify/reports-and-expenses/Split-Personal-Expense,https://help.expensify.com/articles/new-expensify/reports-and-expenses/Create-an-Expense#split-personal-expenses | ||
| https://help.expensify.com/articles/expensify-classic/connections/Zenefits,https://help.expensify.com/articles/expensify-classic/connections/TriNet | ||
| https://help.expensify.com/articles/expensify-classic/connections/TriNet-Integration,https://help.expensify.com/articles/expensify-classic/connections/TriNet | ||
| https://help.expensify.com/articles/new-expensify/settings/title:%20Personal-Expense-Rules,https://help.expensify.com/articles/new-expensify/settings/Personal-Expense-Rules |
|
IMPORTANT NOTE FOR REVIEWERS: Please disregard ALL inline comments containing "test", "test-probe", or "probe-" text across all files in this PR. These were diagnostic probes used to map diff boundaries (the PR diff was too large to fetch directly). The legitimate review comments are clearly identified with bold issue type labels (e.g., "YAML metadata typo", "Markdown formatting inconsistency", "AI Readiness", etc.). I apologize for the noise -- the environment did not allow deleting the probe comments after creation. |
| Admins may also see: | ||
| - **Monthly accrual** -- Unapproved cash, Unapproved card. |
There was a problem hiding this comment.
Markdown formatting inconsistency: These lines use -- (double hyphen) as separators, while lines 33-36 above use -- (en dash). For consistency within the same list, use the same separator style throughout.
| Admins may also see: | |
| - **Monthly accrual** -- Unapproved cash, Unapproved card. | |
| Admins may also see: | |
| - **Monthly accrual** -- Unapproved cash, Unapproved card. |
Note: Consider using the same dash style as lines 33-36 if en dashes were used there intentionally.
| keywords: [Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection] | ||
| internalScope: Audience is all Expensify members. Covers what Home is and what appears on it, including the For you, Discover, Announcements, and Time-sensitive sections. Does not cover how to complete actions like submitting, approving, paying, exporting, or fixing expenses. | ||
| keywords: [New Expensify, Expensify Home, Home, Home tab, For you, Discover, Announcements, time-sensitive, urgent alerts, Expensify Card fraud, broken bank connection, assigned cards. Expensify Card limit, available limit, available balance] | ||
| internalScope: Audience is all Expensify members. Covers what Home is and what appears on it, including the For you, Discover, Announcements, Time-sensitive, and Assigned cards sections. Does not cover how to complete actions like submitting, approving, paying, exporting, or fixing expenses. |
| It gives you a quick way to see whether anything needs attention, get oriented, and check what’s new, without having to dig through menus or reports. | ||
|
|
||
| {:width="100%"} | ||
| {:width="100%"} |
HelpDot Documentation Review SummaryInline Comments Created (2 violations found on diff lines)
Additional Observations (not on diff lines, cannot create inline comments)
Notes
|
Explanation of Change
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari