Skip to content

[Due for payment 2026-07-28] Tags - No empty state when search result is empty #96253

Closed

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.4.35-1
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #95308
Email or phone of affected tester (no customers): sjnodijsodiodosjsoj@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.5 / Chrome
App Component: Workspace Settings

Action Performed:

Precondition:

  • Workspace has independant tags.
  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Tags.
  3. Open any tag.
  4. Enter anything on search field that will not return result.

Expected Result:

Empty state will appear when search result is empty.

Actual Result:

Empty state does not appear when search result is empty.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7209588_1784185462735.3.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Mita Rachim
Bug ID: 7209588

Issue OwnerCurrent Issue Owner: @Krishna2323

Activity

  1. added
    DeployBlockerCash
    Bug
    on Jul 16, 2026
  2. applause-bot commented on Jul 16, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/dd9350e910482d1a2d78a76e2f8a3c64d8d3dc9524e54b9e6ec660b22532323d

  3. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #95308

  4. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Jul 16, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. MelvinBot commented on Jul 16, 2026

    @MelvinBot
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    On Workspace Settings → Tags → open a tag list (independent tags), searching for a term that returns no matches shows a blank list instead of a "No results found" empty state.

    What is the root cause of that problem?

    Regression from #95308. The new WorkspaceViewTagsTable never composes a <Table.NoResultsState /> child.

    The generic <Table> does not render an empty state itself — it only computes an isEmptyResult flag and exposes it via context (Table.tsx:252-253). A <Table.NoResultsState /> child must be present to consume that flag and render the UI (TableNoResultsState.tsx:23-28).

    The tags table composes only FilterBar/Header/Body and omits it, so filtering to zero results renders nothing:

    What changes do you think we should make in order to solve the problem?

    Add <Table.NoResultsState /> to the composed children in WorkspaceViewTagsTable, matching the report-fields sibling:

    <Table.FilterBar label={translate('workspace.tags.findTag')} />
    <Table.NoResultsState />
    <Table.Header />
    <Table.Body />
    Additional notes & secondary defect
    • RoomMembersTable (index.tsx:102-104) also omits <Table.NoResultsState /> and likely has the same latent bug — worth verifying/fixing in the same PR.
    • WorkspaceViewTagsTable also early-returns null when tags.length === 0 (index.tsx:88-90), and the parent page gates mounting on tagRows.length > 0 (DynamicWorkspaceViewTagsPage.tsx:439). This is a separate no-data concern; for the reported search-empty bug, only the <Table.NoResultsState /> addition is required (the table is mounted with a non-empty tags prop, so isEmptyResult is what governs the search case).
    • Confidence: High — this is a static composition bug, verified by direct source comparison against the working sibling table.

    Next Steps for Contributor+ team:
    To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/96253) to create a draft PR.
    To refine: @MelvinBot <your feedback>
    To reject: Explain why you are rejecting Melvin's proposal.

  7. added
    Reviewing
    on Jul 16, 2026
  8. Krishna2323 commented on Jul 16, 2026

    @Krishna2323
    Contributor

    PR is ready for review: #96289

    cc: @luacmartins @JS00001 @situchan

  9. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  10. IuliiaHerets commented on Jul 16, 2026

    @IuliiaHerets

    Issue is not reproducible on Windows 11/ Chrome in v9.4.35-3

    96253.mp4
  11. removed
    DeployBlockerCash
    on Jul 16, 2026
  12. added
    Daily
    and removed
    Reviewing
    Hourly
    on Jul 21, 2026
  13. melvin-bot commented on Jul 21, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. changed the title [-]Tags - No empty state when search result is empty[/-] [+][Due for payment 2026-07-28] Tags - No empty state when search result is empty[/+] on Jul 21, 2026
  15. melvin-bot commented on Jul 21, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.40-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-07-28. 🎊

    For reference, here are some details about the assignees on this issue:

    • @Krishna2323 requires payment through NewDot Manual Requests
  16. melvin-bot commented on Jul 21, 2026

    @melvin-bot

    @Krishna2323 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero 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]

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

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions