[Due for payment 2026-12-08] [$175] Display options icon (eyeball) is missing from some mobile tables like Per diem
If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.
**Version Number:**9.5.41-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: @shawnborton Slack conversation (hyperlinked to channel name): expensify_bugs
Action Performed:
- Navigate to https://staging.new.expensify.com/
- Go to any workspace with Per diem/Taxes >
- Tap Per diem/Taxes page
Expected Result:
User should see Display options icon (eyeball)
Actual Result:
Display options icon (eyeball) is missing on the page
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
- [x] Android: App
- [ ] Android: mWeb Chrome
- [x] iOS: App
- [ ] iOS: mWeb Safari
- [ ] iOS: mWeb Chrome
- [ ] Windows: Chrome
- [ ] MacOS: Chrome / Safari
Screenshots/Videos
https://github.com/user-attachments/assets/128192e5-a97e-4b28-9c7f-8bf9662e452b
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022123077415725097415
- Upwork Job ID: 2123077415725097415
- Last Price Increase: 2026-11-18
Issue Owner
Current Issue Owner: @Krishna2323
Triggered auto assignment to Contributor-plus team member for initial proposal review - @gijoe0295 (External)
Job added to Upwork: https://www.upwork.com/jobs/~022123077415725097415
Proposal
What is the root cause of that problem?
Per diem and Taxes explicitly force alphabetical sorting in narrow and medium layouts. The shared Display options component hides itself whenever that sorting lock is active—even though an eyeball button is already implemented.
Confidence: Medium. Confirmed in current code; not reproduced in the browser or checked against version 9.5.41-0.
Code evidence and alternatives checked
- Both tables configure
narrowLayoutSortColumn: Per diem:141–159, Taxes:155–175. - That setting suppresses the trigger through an explicit visibility condition:32–60, rather than CSS or missing page wiring.
- Merely exposing the button would leave sorting ineffective: the sorting middleware:99–119 overrides user choices.
- The affected layout includes medium widths:212–218. Empty tables separately hide the toolbar:81–98, so verification needs populated tables.
What changes do you think we should make in order to solve the problem?
Remove narrowLayoutSortColumn from these two tables, retaining initialSortColumn. This enables the existing eyeball control and functional sorting, while preserving alphabetical order initially.
Confirm that mobile sorting is intended to replace the existing lock. Verify populated Per diem and Taxes tables at narrow, medium, and wide widths; test sort field, direction, reset, and resizing. Preserve empty-table behavior.
What alternative solutions did you explore? (Optional)
Changing the shared visibility guard alone would expose an ineffective control and affect other tables with intentional sorting locks.
Next Steps for Contributor+ team:
To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/107274) to create a draft PR.
To refine: @MelvinBot <your feedback>
To reject: Explain why you are rejecting Melvin's proposal.
Proposal
Please re-state the problem that we are trying to solve in this issue.
On narrow (mobile) layouts, the Display options (eyeball) button is missing from some workspace tables, such as Per diem and Taxes, so users can't change how the table is sorted there.
What is the root cause of that problem?
This is caused by the shared Table component's narrowLayoutSortColumn prop, not by anything in a single page. When a table passes that prop and shouldUseNarrowTableLayout is true:
- The sorting middleware ignores the user's sort and forces
{columnKey: narrowLayoutSortColumn, order: ASC}: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Table/middlewares/sorting.ts#L107-L111 - Because sorting is locked,
shouldShowTableDisplaySettingsTriggerhides the eyeball on purpose (isSortingLockedByLayout). The filter bar uses the same check: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Table/TableFilterBar/TableDisplaySettingsTrigger.tsx#L32-L37 https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Table/TableFilterBar/index.tsx#L34
Six tables pass narrowLayoutSortColumn today, so the eyeball is missing on mobile in all six, not just Per diem and Taxes:
- Per diem: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspacePerDiemTable/index.tsx#L155-L156
- Taxes: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspaceTaxesTable/index.tsx#L163-L164
- Distance rates: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspaceDistanceRatesTable/index.tsx#L214-L215
- Spend rules: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspaceSpendRulesTable/index.tsx#L117-L118
- Category rules: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspaceCategoryRulesTable/index.tsx#L120-L121
- Expense defaults: https://github.com/Expensify/App/blob/94337cb2d6c84e36ea01b7d2bdaa2aa0025cd8b8/src/components/Tables/WorkspaceExpenseDefaultsTable/index.tsx#L130-L131
In every one of them, narrowLayoutSortColumn has the same value as initialSortColumn. So the prop doesn't change the default order. Its only effect is to lock sorting and hide the eyeball on mobile.
What changes do you think we should make in order to solve the problem?
- Remove
narrowLayoutSortColumnfrom all six tables above. KeepinitialSortColumn, so the default mobile order stays the same (alphabetical by name, destination, card, or condition). - Once nothing uses it, remove the lock from the shared Table: the
narrowLayoutSortColumnbranch inresolveActiveSorting(narrow layout keeps returninguserSorting, as it already does for tables without the prop), theisSortingLockedByLayoutcheck inshouldShowTableDisplaySettingsTrigger, and the prop/context field intypes.ts,TableContext.tsxandTable.tsx. Then no other table can hit this bug again. - After this, narrow layouts behave like the tables that already show the eyeball on mobile: the eyeball opens Sort by / Sort order, and the choice is applied.
How this differs from the existing MelvinBot proposal
Melvin's proposal finds the same mechanism but only changes Per diem and Taxes. Distance rates, Spend rules, Category rules and Expense defaults have the same narrowLayoutSortColumn and would still be missing the eyeball on mobile (the issue says "some mobile tables like Per diem"). This proposal fixes all six and removes the now-unused lock, so the bug can't come back through that prop.
What specific scenarios should we cover in automated tests to prevent reoccurrence of this issue?
- Unit test for
shouldShowTableDisplaySettingsTrigger: it returns true on a narrow layout whenever the table has at least one sortable column. - Unit test for the sorting middleware: on a narrow layout, after
updateSorting({columnKey: 'rate', order: 'desc'}),activeSortingequals the user's choice, and the initial order isinitialSortColumnascending.
What alternative solutions did you explore? (Optional)
Keep the prop but treat it as a default only (use it until the user picks a sort, then respect the user's choice). That works too, but it duplicates initialSortColumn in every current use, so removing it is simpler.
Contributor details
Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~01be5d412b545fdf18
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
Proposal
Please re-state the problem that we are trying to solve in this issue.
On narrow and medium (mobile/tablet) layouts, the Display options (eyeball) trigger is missing from several workspace tables — including Per diem, Taxes, Distance rates, Spend rules (Card restrictions), Category rules, Require fields, and Expense defaults — preventing users from changing the sort column or sort direction on mobile.
What is the root cause of that problem?
There are three coupled issues across Table, WorkspaceTaxesTable, and sorting.ts (which is why simply deleting narrowLayoutSortColumn alone introduces a sort/UI desynchronization on Taxes and on conditional columns in narrow layouts):
-
narrowLayoutSortColumnlocks sorting and hides the eyeball across 6 table components (7 workspace screens):WorkspacePerDiemTable(index.tsx:156),WorkspaceTaxesTable(index.tsx:164),WorkspaceDistanceRatesTable(index.tsx:215),WorkspaceSpendRulesTable(index.tsx:118),WorkspaceCategoryRulesTable(index.tsx:121, which also powersWorkspaceRequireFieldsTable), andWorkspaceExpenseDefaultsTable(index.tsx:131) all passnarrowLayoutSortColumnwith the exact same column asinitialSortColumn. WhenshouldUseNarrowTableLayout(shouldUseNarrowLayout || isMediumScreenWidth) istrue:shouldShowTableDisplaySettingsTrigger(src/components/Table/TableFilterBar/TableDisplaySettingsTrigger.tsx:32-37andTableFilterBar/index.tsx:34) setsisSortingLockedByLayout = shouldUseNarrowTableLayout && !!narrowLayoutSortColumnand hides the eyeball button.resolveActiveSorting(src/components/Table/middlewares/sorting.ts:106-111) overridesuserSortingwith{columnKey: narrowLayoutSortColumn, order: CONST.SEARCH.SORT_ORDER.ASC}.
-
WorkspaceTaxesTablestripstaxCodefromtaxTableColumnson narrow layouts (src/components/Tables/WorkspaceTaxesTable/index.tsx:59-60, 86): UnlikeWorkspaceCategoriesTable(index.tsx:76-92),WorkspaceTagsTable(index.tsx:100-118),WorkspaceMembersTable(index.tsx:138-184), andWorkspaceDistanceRatesTable(index.tsx:86-99) — which all keep their conditional sortable columns incolumnswhenever the workspace has data for them while hiding the visual cell inside the*TableRowcomponent —WorkspaceTaxesTable/index.tsx:60,86gatestaxTableColumnsonshouldShowTaxCodeCell(!shouldUseNarrowTableLayout && shouldShowTaxCodeColumn) instead ofshouldShowTaxCodeColumn.- On narrow/medium layouts,
TableHeader.tsx:192(!shouldUseNarrowTableLayout),TableRow.tsx:227(!shouldUseNarrowTableLayoutCSS grid),useDynamicColumnWidths(Table.tsx:281), andshouldUseTableSemantics(tableAccessibility.ts:150-152,aria-colcount) are all already disabled, andWorkspaceTaxesTableRow.tsx:66independently computes its ownshouldShowTaxCodeCellfor the card layout andaccessibilityLabel. - If
narrowLayoutSortColumnis removed without changingWorkspaceTaxesTable/index.tsx:86toshouldShowTaxCodeColumn, sorting Taxes by Tax code (Descending) on wide layout and resizing to narrow keepsactiveSorting = {columnKey: 'taxCode', order: 'desc'}whileTableDisplaySettingsPopoverComponent.tsx:95(sortableColumns.find(...) ?? sortableColumns.at(0)) falls back toName • Descending— displaying a false sort label in the eyeball menu while rows remain ordered bytaxCode, and preventing mobile users from sorting byTax code.
- On narrow/medium layouts,
-
Narrow-layout bypass in
resolveActiveSorting(sorting.ts:106-117) & cleared-column fallback inTableDisplaySettingsPopoverComponent.tsx:95:- Once
WorkspaceTaxesTableusesshouldShowTaxCodeColumn(matching every other workspace table;WorkspaceTagsTableonly gatestagCountwhich hassortable: false), no table drops sortable columns solely for narrow layout. Keepingif (shouldUseNarrowTableLayout) { return userSorting; }inresolveActiveSorting(sorting.ts:106-110) skips the missing-column fallback at lines114-116(if (userSorting.columnKey && !columnKeys.includes(userSorting.columnKey))), leaving narrow tables sorted by a deleted conditional column (e.g. after removing the last date-bounded rate inDistance rates) instead of resetting to{columnKey: initialSortColumn, order: initialSortOrder}. - In
TableDisplaySettingsPopoverComponent.tsx:95, resolvingactiveColumnviaactiveSorting.columnKey ?? defaultSorting.columnKeyalignssortByTitlewithopenSortBy()(line 114) whenactiveSorting.columnKeyisundefined(after resetting a header on wide layout) on tables whoseinitialSortColumn(name,card,condition) is notsortableColumns.at(0)(status,type).
- Once
What changes do you think we should make in order to solve the problem?
- Remove
narrowLayoutSortColumnfrom the 6 workspace tables and the sharedTableAPI:- Remove
narrowLayoutSortColumnfromWorkspacePerDiemTable,WorkspaceTaxesTable,WorkspaceDistanceRatesTable,WorkspaceSpendRulesTable,WorkspaceCategoryRulesTable(also fixingWorkspaceRequireFieldsTable), andWorkspaceExpenseDefaultsTable, preservinginitialSortColumn. - Remove
narrowLayoutSortColumnandisSortingLockedByLayoutfromsrc/components/Table/types.ts,TableContext.tsx,Table.tsx,TableDisplaySettingsTrigger.tsx,TableFilterBar/index.tsx, andmiddlewares/sorting.ts.
- Remove
- Keep
taxCodesortable on narrow layouts inWorkspaceTaxesTable(src/components/Tables/WorkspaceTaxesTable/index.tsx:59-60, 86):- Gate the
taxCodeentry intaxTableColumnsonshouldShowTaxCodeColumn(matchingWorkspaceCategoriesTable), leavingWorkspaceTaxesTableRow.tsx:66(shouldShowTaxCodeCell) untouched so narrow card layout and VoiceOver/TalkBack labels remain unchanged.
- Gate the
- Unify
resolveActiveSortingandTableDisplaySettingsPopoverComponentfallback:- In
src/components/Table/middlewares/sorting.ts, remove theif (shouldUseNarrowTableLayout)early return inresolveActiveSortingso conditional columns removed fromcolumnKeyscleanly fall back to{columnKey: initialSortColumn, order: initialSortOrder}on all screen widths. - In
src/components/Table/TableFilterBar/TableDisplaySettingsPopoverComponent.tsx:95, matchactiveColumnagainstactiveSorting.columnKey ?? defaultSorting.columnKeybefore falling back tosortableColumns.at(0).
- In
- Automated tests:
- Extend
tests/unit/components/Table/useSortingTest.tsandtests/ui/TableTest.tsxto cover: (a) eyeball visibility and interactive sorting (Sort by+Sort order+Reset) on narrow/medium layouts, (b)WorkspaceTaxesTablewide-to-narrow resize while sorted bytaxCodepreserving both row order andTax codelabel without rendering ataxCodecell on narrow cards, and (c) narrow-layout fallback toinitialSortColumnwhen a conditional column disappears fromcolumnKeys.
- Extend
What alternative solutions did you explore? (Optional)
- Removing
narrowLayoutSortColumnwithout updatingWorkspaceTaxesTable(taxTableColumns) andresolveActiveSorting: Exposes the eyeball icon, but leaves Taxes unable to sort byTax codeon mobile, causesTableDisplaySettingsPopoverComponentto misreportNamewhen resizing from a desktopTax codesort, and leaves narrow tables stuck on stale conditional sort keys when the underlying data loses that column.
@MelvinBot The root cause looks right, but please research this further and update the proposal to cover the following:
-
Scope:
narrowLayoutSortColumnis set to the same value asinitialSortColumnin four additional tables:WorkspaceDistanceRatesTable,WorkspaceSpendRulesTable,WorkspaceCategoryRulesTable(also used by Require fields), andWorkspaceExpenseDefaultsTable. The sort option is missing on narrow and medium layouts in these tables too. Please check each one and clarify whether it should be included in the fix. If any should remain locked, explain why. -
Why the lock was added: Use
git log -S narrowLayoutSortColumn, the PRs that introduced it in each table, andcontributingGuides/TABLE.mdto investigate why each table was locked. Determine whether those reasons still apply now that the Display options trigger renders for every table. For reference, #103897 (issue #103578) removed the same lock fromWorkspaceExpensifyCardsTableafter we agreed that sorting should be allowed there. -
Taxes regression after unlocking:
WorkspaceTaxesTableincludes thetaxCodecolumn only when!shouldUseNarrowTableLayout && shouldShowTaxCodeColumn. On narrow layouts,resolveActiveSortinginsrc/components/Table/middlewares/sorting.tsreturnsuserSortingwithout falling back to another column.This means that if a user sorts by Tax code (descending) on a wide layout and then resizes or rotates a tablet to a narrow layout, the rows remain sorted by Tax code, while the Display options popover shows "Name • Descending" (because
TableDisplaySettingsPopoverComponentfalls back tosortableColumns.at(0)).The current lock hides this inconsistency, but removing it exposes the issue. Please confirm this behavior and propose a fix. Also check whether any other affected table removes a sortable column on narrow layouts.
-
Shared code: If no table uses
narrowLayoutSortColumnafter this change, please determine whether we should remove the prop, the context field, theisSortingLockedByLayoutcheck, the corresponding branch inresolveActiveSorting, and the documentation inTABLE.md. List every file that would need to change. Also explain whether removing this logic would affect tables that don't currently use the lock. -
Tests: List all unit tests that should be added or updated, including
shouldShowTableDisplaySettingsTrigger, the sorting middleware tests, and the Taxes resize case.
Proposal
What is the root cause of that problem?
narrowLayoutSortColumn deliberately forces ascending sorting and hides Display options on narrow and medium layouts. All six remaining consumers set it to their initialSortColumn.
Removing only the visibility check would expose a control whose selections the sorting middleware ignores. Removing only the table props would unlock sorting, but expose the Taxes resize inconsistency you identified.
Verification: Confirmed through code and introducing PR history; not reproduced in a browser, and no tests were executed.
What changes do you think we should make in order to solve the problem?
1. Include all six tables
Remove their locks while retaining initialSortColumn:
| Table | Initial column retained | Recommendation |
|---|---|---|
| Per diem | destination |
Unlock |
| Taxes | name |
Unlock, with the column fix below |
| Distance rates | name |
Unlock |
| Spend rules / Card restrictions | card |
Unlock |
| Category rules | condition |
Unlock; also fixes Require fields and Flag for review, which delegate to this table |
| Expense defaults | condition |
Unlock |
I found no technical requirement to keep any of these locked. Spend rules’ default-rule placement and Expense defaults’ section ordering are enforced independently by their comparators, so user sorting does not remove those safeguards.
Retaining initialSortColumn preserves the initial order. Resize behavior intentionally changes: a user’s selected wide-layout sort remains active instead of temporarily switching to the forced narrow-layout sort.
Why the locks were introduced—and whether those reasons still apply
I used git log -S narrowLayoutSortColumn, the introducing PRs and their reviews, and the table guide.
| Table | Introducing PR | What the evidence establishes |
|---|---|---|
| Distance rates | Replace workspace mileage rate list with table UI | Explicit responsive behavior: force Name ascending when narrow, restore the wide sort afterward. A human review requested centralizing this behavior in shared middleware. |
| Spend rules; Expense defaults | Add tabbed Rules page layout and restructure General tab | Added with the new tables. No explicit table-specific requirement to prohibit mobile sorting was found. |
| Taxes | Update the policy taxes table to the new style | Added during migration to shared Table. No explicit permanent mobile-sorting restriction was found. |
| Per diem | Migrate workspace per diem page to the new Table component | Added during migration. No explicit permanent mobile-sorting restriction was found. |
| Category rules and its wrappers | Move category-based creation into Rules; add Require fields and Flag for review | Added with the shared Rules table. No distinct mobile-lock rationale was found. |
For the latter five tables, preserving the existing compact-list order is an inference, not a documented product decision.
The later Add bulk actions for company cards change introduced automatic Display controls but intentionally excluded locked narrow tables. The table guide:45 documents that exception: hiding the control avoids offering ineffective sorting.
The new control addresses the practical need for users to inspect/change their compact-layout sort; it does not automatically rescind the original restriction. Unlocking all six should therefore be an explicit scope decision.
The precedent is Allow sorting the Expensify Card table on narrow layouts, following the agreement to allow Cards sorting. That agreement covered Cards, not advance approval for these six.
Independent safeguards and inherited scope:
2. Fix Taxes by retaining its logical Tax code column
Your resize analysis is correct after unlocking:
- Wide layout stores
taxCode/ descending. - Narrowing removes
taxCodefrom the columns. - The middleware preserves that user sort.
- The Taxes comparator still sorts by Tax code.
- The popover cannot find that column, substitutes Name, and retains Descending.
For example, rows Alpha/Z, Bravo/A, Charlie/M remain ordered Alpha, Charlie, Bravo, despite the menu saying Name • Descending.
Recommended fix: Include taxCode in the logical column definitions whenever shouldShowTaxCodeColumn is true, regardless of layout. Remove the parent’s now-unused layout-dependent cell condition. Keep the row component’s existing narrow-layout visual and accessibility hiding unchanged.
That preserves the selected sort, keeps Tax code available in Display options, and does not add a Tax code cell to narrow cards.
Of the six affected tables, only Taxes drops a sortable column because of layout. Distance rates has conditional tax/date columns, but those depend on workspace data/settings, not width; the other four have layout-independent column definitions.
Taxes evidence
3. Remove the obsolete lock API—but preserve the separate narrow-layout fallback policy
After removing these six assignments, no production consumer remains. Remove the prop, context field, middleware argument, forced-sort expression, visibility restriction, and documentation.
Important distinction: Do not silently delete the entire narrow-layout early return from resolveActiveSorting. Without a lock, that branch already preserves userSorting when its column is absent. Applying the wide-layout missing-column fallback everywhere would change existing unlocked tables too.
For example, Members drops sortable columns through layout-dependent parent props:453–465. Removing the bypass would change its compact-layout ordering.
Therefore:
- Lock removal alone: no sorting behavior change for already-unlocked tables.
- Removing the complete narrow branch: broader behavior change requiring a separate decision and regression coverage.
- Recommended here: remove only the lock-specific override, retain the narrow
return userSorting, and fix Taxes’ logical columns.
Complete production/documentation file list: 13 files
Remove the assignments in:
- WorkspacePerDiemTable/index.tsx:160–172
- WorkspaceTaxesTable/index.tsx:65–106 — also fix logical Tax code availability and remove the lock.
- WorkspaceDistanceRatesTable/index.tsx:208–220
- WorkspaceSpendRulesTable/index.tsx:112–124
- WorkspaceCategoryRulesTable/index.tsx:115–128
- WorkspaceExpenseDefaultsTable/index.tsx:123–135
Remove shared plumbing/documentation in: 7. Table/types.ts:255–256 8. Table/Table.tsx:176 — destructuring, middleware argument, and context value. 9. Table/TableContext.tsx:113–114 — field and default. 10. Table/middlewares/sorting.ts:68–145 11. TableDisplaySettingsTrigger.tsx:21–56 12. TableFilterBar/index.tsx:31–35 13. contributingGuides/TABLE.md:45
No wrapper, row-component, or popover change is required for this approach. Keep layout-dependent compact-button rendering and empty-table toolbar behavior.
4. Automated tests
| Test location | Add/update |
|---|---|
New shouldShowTableDisplaySettingsTriggerTest.ts beside the existing Table unit tests |
Predicate returns true with any sortable column; false for empty/all-nonsortable columns. Make it columns-only after removing lock arguments. |
| useSortingTest.ts:28–115 | Initial column/order; user-selected alternate column descending; actual processed order; wide → narrow → wide preservation; reset to defaults; cache invalidation on column changes. Explicitly preserve wide missing-column fallback and narrow stored-sort behavior. Test column reappearance and that derived fallback does not emit a user-change callback. Keep existing cache tests. |
| TableTest.tsx:3063–3303 | Parameterize wide, narrow, and medium-only layouts. Assert the accessible Display button exists on populated sortable tables without filters; Sort by/order Apply changes rows and summary; dismissing unapplied changes does not; Sort by Reset restores both defaults, while Sort order Reset preserves the column. Preserve no-sortable-column and empty-table visibility behavior. |
New WorkspaceTaxesTableTest.tsx beside TableTest.tsx |
Use real sorting/context and deliberately conflicting Name/Tax-code order. Select Tax code descending wide, resize the same mounted instance through medium/narrow/back wide, and assert actual rows, summary, and selected option remain Tax code descending. Test starting narrow/medium, changing direction, and resetting. Tax code remains selectable but its row cell/accessibility content stays hidden on compact layouts. With shouldShowTaxCodeColumn=false, it is absent from options at every width. |
| WorkspaceExpensifyCardsExportAccountColumnTest.tsx:173–183 | Remove obsolete lock-prop mock/capture/assertion; retain the initial Name-sort regression assertion. |
What alternative solutions did you explore? (Optional)
- Show the button only: rejected; sorting remains locked.
- Remove the six assignments only: incomplete; exposes the Taxes mismatch and leaves unused shared API.
- Apply missing-column fallback on every layout: potentially useful separately, but changes existing unlocked tables and unnecessarily resets Taxes’ chosen sort on resize.
- Change only the popover label: insufficient; Tax code would still disappear from compact-layout sorting choices.
Next Steps for Contributor+ team:
To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/107274) to create a draft PR.
To refine: @MelvinBot <your feedback>
To reject: Explain why you are rejecting Melvin's proposal.
@MelvinBot implement this
⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai.
@MelvinBot implement this
🤖 Web test steps verification results: ❌ fail
Browser verification was blocked by a blank app page and unavailable session; this is not a confirmed product regression.
| Step | Status |
|---|---|
Verify compact Display options, Taxes resize sorting, and sorting/reset across affected tablesThe app rendered no inspectable content, so browser behavior could not be verified.![]() |
❌ |
Implemented and committed locally as e5bfd8b13b:
- Unlocked all six tables and removed the unused lock API/documentation.
- Preserved Tax code sorting across layouts without displaying compact Tax code cells.
- Preserved existing fallback behavior for other tables.
- Added sorting, visibility, reset, and resize regression coverage.
Checks: 248 targeted tests passed, along with lint, typecheck, formatting, and Storybook smoke tests. Code review found no actionable issues. The full test suite exceeded five minutes without completing.
No branch was pushed and no PR was created. The run reached its step limit after a shallow-history problem prevented finding the merge base; fetching more history timed out.
Remaining: restore sufficient Git history, verify the final diff, push the commit, and create the draft PR assigned to Krishna2323. Browser verification also remains blocked.
view run · no recording available
@MelvinBot implement this and open a draft PR assigned to me.
To stay within the run limit:
- Skip browser verification. I'll test on the PR.
- Run only the targeted tests (
tests/unit/components/Table/useSortingTest.ts,tests/ui/TableTest.tsx, and the new Taxes and trigger tests), plus lint and typecheck on changed files. Don't run the full suite. - Branch from the latest
origin/mainand don't compute a merge base or fetch full history. If you need a diff, compare againstorigin/maindirectly. - Push and open the draft PR as soon as the targeted checks pass. Leave QA steps and screenshots for me.
Created draft PR Allow sorting workspace tables on compact layouts, assigned to Krishna2323.
- All six tables unlocked; Taxes resize sorting fixed.
- 109 targeted tests, changed-file lint, and app/Jest typechecks passed.
- Browser verification and full suite skipped as requested. QA steps and screenshots are left for you.
@Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick!
@Krishna2323
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.5.55-6 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
- https://github.com/Expensify/App/pull/107495
If no regressions arise, payment will be issued on 2026-12-08. :confetti_ball:
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]