Skip to content

[No QA] [Payment due @ahmedGaber93] [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns - #94500

Merged
mjasikowski merged 6 commits into
mainfrom
claude-docsColumnPickerUpdate
Jul 15, 2026
Merged

mjasikowski merged 6 commits into
mainfrom
claude-docsColumnPickerUpdate

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Why this change

PR Expensify/App#94124 unified the two expense column pickers and added four transaction-level columns to the single-report Columns picker (r/:reportID/settings/columns): Posted, Attendees, Per attendee, and Original amount (Report Details went from 18 → 22 columns).

The help article Managing Expenses in a Report previously listed only Attendees and Per attendee as additional columns available in that picker.

What changed

Updated the "How to view and use the expense table" section to list all four columns now available in the single-report Columns picker, with the condition under which each renders:

  • Attendees / Per attendee — when attendee tracking is available
  • Posted — when the expense has a posting date
  • Original amount — when the expense was converted from another currency

Column names use the exact UI labels verified against src/languages/en.ts.

Scope


@ahmedGaber93, please review the files changed and confirm they reflect the current behavior. Then mark this PR Ready for review.

…list

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@MelvinBot MelvinBot added the HelpDot Apply this label if the issue relates to ExpensifyHelp label Jun 24, 2026
- Workspace violations (if applicable)

Additional columns such as **Attendees** and **Per attendee** can be enabled via the **Columns** picker when attendee tracking is available.
Additional columns such as **Posted**, **Attendees**, **Per attendee**, and **Original amount** can be enabled via the **Columns** picker. **Attendees** and **Per attendee** appear when attendee tracking is available, **Posted** shows when the expense has a posting date, and **Original amount** shows when the expense was converted from another currency.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@twisterdotcom, coming from #93522, I don’t believe we need those columns here. Could you please confirm?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@twisterdotcom WDYT? ^

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t believe we need those columns here

Why not @ahmedGaber93? The point of adding them is that they show everywhere.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

@twisterdotcom I think Attendees and Per attendee is just examples, not a complete list.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@twisterdotcom WDYT? ^

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have added a bunch more columns. I don't think we need to call anything specific out - we are going to show the columns if they have data or not. So we shouldn't say:

Each report includes an expense table showing:

  • Date
  • Merchant
  • Category
  • Amount
  • Workspace violations (if applicable)

Additional columns such as Posted, Attendees, Per attendee, and Original amount can be enabled via the Columns picker. Attendees and Per attendee appear when attendee tracking is available, Posted shows when the expense has a posting date, and Original amount shows when the expense was converted from another currency.

We should say:

Each report includes an expense table showing the following default columns:

  • Receipt
  • Date
  • Merchant
  • Reimbursable
  • Card
  • Description
  • Total
  • Amount
  • Category
  • Workspace violations, if applicable

Additional columns can be enabled from the Columns picker:

  • Attendees
  • Billable
  • Category GL code
  • Custom field 1
  • Custom field 2
  • Exchange rate
  • International reimbursement IDs
  • MCC
  • Per attendee
  • Posted
  • Purchase amount
  • Tag
  • Tag GL code
  • Tax
  • Tax code
  • Tax rate
  • Withdrawal ID

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelvinBot Please update the docs according to the above comment #94500 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — pushed d3ba2c7.

Restructured the section to drop the per-column conditional wording and instead list the full default columns and the complete Columns picker list exactly as you suggested. See Managing-Expenses-in-a-Report.md:98.

@stephanieelliott stephanieelliott changed the title Docs updates for E/A#94124 add Posted and Original amount report columns [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns Jul 6, 2026
…eview

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@OSBotify

This comment has been minimized.

@ahmedGaber93

Copy link
Copy Markdown
Contributor

@MelvinBot Mark this PR ready for review.

@MelvinBot
MelvinBot marked this pull request as ready for review July 8, 2026 21:49
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Done — this PR is now marked Ready for review. 🚀

- Category
- Workspace violations, if applicable

Additional columns can be enabled from the Columns picker:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming/UI referencing violation: The Columns picker is a named UI element and must be bold per the Core UI Referencing and Button/Tab Naming Standards in HELPSITE_NAMING_CONVENTIONS.md (the prior text already bolded it as **Columns** picker). Suggest: Additional columns can be enabled from the **Columns** picker:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelvinBot implement tihs comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — pushed 6d5461c.

Bolded the named UI element: Additional columns can be enabled from the **Columns** picker: per the Core UI Referencing standard. See Managing-Expenses-in-a-Report.md:109.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3ba2c7800

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- MCC
- Per attendee
- Posted
- Purchase amount

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the actual Original amount column label

The report details picker exposes ORIGINAL_AMOUNT for report views and maps it to common.originalAmount, so the option users see is Original amount, not Purchase amount. As written, this help article omits the newly added Original amount column and sends users looking for a non-existent picker option in this report table.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelvinBot implement tihs comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — pushed c5db5e1. Replaced Purchase amount with Original amount in the Columns picker list.

Verified against the source of truth src/CONST/index.ts:6669-6705 (COLUMN_AVAILABILITY, from which REPORT_DETAILS_CUSTOM_COLUMNS is derived): the report-view picker exposes ORIGINAL_AMOUNT → Original amount. Purchase amount (common.purchaseAmount) is only a Search filter label, not a report-view picker column — so this comment was correct.

⚠️ While verifying, I found the list has more entries that aren't report-view picker columns. These are not in COLUMN_AVAILABILITY with reportView: true, so they can't appear in this picker:

  • Custom field 1, Custom field 2, International reimbursement IDs — flagged in the sibling suggestion above (correct).
  • Tag GL code — not flagged by any bot, but there is no such column; only CATEGORY_GL_CODE (Category GL code) exists.

The accurate set of report-view picker columns (labels from getSearchColumnTranslationKey) is: Receipt, Date, Posted, Merchant, Description, Card, Category, Category GL code, Attendees, Per attendee, Tag, Exchange rate, Original amount, Reimbursable, Billable, MCC, Tax code, Tax rate, Tax, Amount, Total, Withdrawal ID.

I only implemented this comment (Original amount) to stay in scope. Reply @MelvinBot implement this on the sibling suggestion, or tell me to align the whole list with the source of truth (which would also drop Tag GL code), and I'll push it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelvinBot Please undo this change since columns list on staging already have Purchase amount

Comment on lines +114 to +117
- Custom field 1
- Custom field 2
- Exchange rate
- International reimbursement IDs

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove unavailable picker columns

ReportDetailsColumnsPage builds the report Columns picker only from CONST.SEARCH.REPORT_DETAILS_CUSTOM_COLUMNS, and that fixed report-view list does not include custom-field or international-reimbursement columns. Users following these bullets will try to enable Custom field 1, Custom field 2, or International reimbursement IDs, but those options cannot appear in this picker.

Useful? React with 👍 / 👎.

@ahmedGaber93 ahmedGaber93 Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those coulmns already exist on columns list on staging

Screenshot 2026-07-09 at 1 11 04 AM

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR updates the "How to view and use the expense table" section in Managing-Expenses-in-a-Report.md to reflect the unified Columns picker from #94124. It replaces a short, partial column list with a complete default-columns list plus a full list of additional columns available in the single-report Columns picker. The content is accurate and column labels match the UI strings in src/languages/en.ts (e.g., Per attendee, Purchase amount, Withdrawal ID, International reimbursement IDs). The intent is sound, but the diff introduces a duplicated sentence and drops bold formatting on UI labels.

Scores Summary

  • Readability: 6/10 - The two lists are clean and scannable, but the change leaves a redundant pair of sentences back-to-back ("Each report includes a table showing all attached expenses." immediately followed by "Each report includes an expense table showing the following default columns:").
  • AI Readiness: 8/10 - Task-based heading is unchanged and appropriate, the feature name (Columns picker) is used, and the expanded, explicit column lists improve retrieval for column-name queries. Article metadata is unchanged by this PR, so it is outside the diff.
  • Style Compliance: 5/10 - Column names and the picker label are no longer bolded. The previous text used Attendees, Per attendee, and Columns picker; the new content renders "Columns picker" and all column names unbolded, which conflicts with the UI-label formatting rules in HELPSITE_NAMING_CONVENTIONS.md.

Key Findings

  • Duplicate lead-in sentence: lines 96 and 98 now say nearly the same thing. One should be removed so the section flows directly into the default-columns list.
  • Lost bold on UI labels: "Columns" (the picker) and the individual column names are UI elements. Per the naming conventions, UI element references should be bolded and use exact UI text. The prior version bolded these; the new version does not.
  • Vague picker access: "Additional columns can be enabled from the Columns picker" does not state how to open the picker. Consider a brief, deterministic navigation phrase.
  • PR description vs. diff mismatch: the description highlights "Original amount" and "Posted", but the diff lists "Purchase amount" and "Posted" (no "Original amount"). Worth confirming the intended set matches shipped behavior.
  • Positive: Column labels are verified against en.ts and are exact; the expanded lists are accurate and materially more useful than the previous partial list.

Recommendations

  • Remove the redundant sentence so the section opens once with the default-columns list.
  • Restore bold formatting on the picker label (Columns) and, ideally, on the column names to match UI-label conventions.
  • Add a short deterministic instruction for opening the Columns picker rather than "from the Columns picker".
  • Reconcile the PR description column set ("Original amount") with the diff actual list ("Purchase amount").

Files Reviewed

  • docs/articles/new-expensify/reports-and-expenses/Managing-Expenses-in-a-Report.md - Accurate content expansion; needs de-duplication of the lead-in sentence and restored UI-label bolding.

Note: Detailed line-by-line feedback has been provided as inline comments.

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@OSBotify

This comment has been minimized.

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@OSBotify

This comment has been minimized.

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Done — reverted in e955bc5.

Restored Purchase amount (and removed Original amount) in the Columns picker list so it matches the label currently shown on staging. See Managing-Expenses-in-a-Report.md:122.

@melvin-bot melvin-bot Bot changed the title [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns [Payment due @ahmedGaber93] [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns Jul 8, 2026
@melvin-bot

melvin-bot Bot commented Jul 8, 2026

Copy link
Copy Markdown

🎯 @ahmedGaber93, thanks for reviewing and testing this PR! 🎉

A payment issue will be created for your review once this PR is deployed to production.
E/E issue linked to the PR - no internal issue.

If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created.

@ahmedGaber93

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
Android: mWeb Chrome
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari

@ahmedGaber93

Copy link
Copy Markdown
Contributor

@MelvinBot Please merge main into this

@github-actions github-actions Bot changed the title [Payment due @ahmedGaber93] [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns [No QA] [Payment due @ahmedGaber93] [No QA] Docs updates for E/A#94124 add Posted and Original amount report columns Jul 8, 2026
@OSBotify

This comment has been minimized.

@ahmedGaber93

Copy link
Copy Markdown
Contributor

@MelvinBot Please merge main branch into this

…erUpdate

Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Merged main into claude-docsColumnPickerUpdate — clean merge, no conflicts. Pushed as 0cb1424.

The branch is now up to date with main and all existing commits/authorship are intact.

@OSBotify

OSBotify commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

A preview of your ExpensifyHelp changes have been deployed to https://30258c5f.helpdot.pages.dev ⚡️

Updated articles:

@ahmedGaber93

Copy link
Copy Markdown
Contributor

@mjasikowski could you please review and megre this since it related to #94124? Thanks!

@mjasikowski
mjasikowski merged commit 02b8e0c into main Jul 15, 2026
23 checks passed
@mjasikowski
mjasikowski deleted the claude-docsColumnPickerUpdate branch July 15, 2026 09:34
@OSBotify OSBotify mentioned this pull request Jul 16, 2026
94 tasks done
@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/mjasikowski in version: 9.4.35-1 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.4.35-6 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HelpDot Apply this label if the issue relates to ExpensifyHelp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants