Skip to content

Workspace - RBR is not aligned #84426

Closed
Closed

Description

@nlemma

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.3.32-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/folder/13176902/test-cases/41237410
Email or phone of affected tester (no customers): -
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: MacOS Monterey 12.7.4 / Chrome
App Component: Workspace Settings

Action Performed:

Precondition: workspace with Accounting enabled. Reduce window size to < 1024 pixels width.

  1. Go to Accounting > try to connect (e.g. SageIntacct or NetSuit) with incorrect credentials
  2. Go to Workspaces tab

Expected Result:

RBR circle is vertically aligned

Actual Result:

RBR circle is vertically not aligned

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7095646_1772806858283.Screen_Recording_2026-03-06_at_16.15.10.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @bfitzexpensify

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Mar 6, 2026
  2. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    Triggered auto assignment to @marcochavezf (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Mar 6, 2026

    @melvin-bot

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

  5. github-actions commented on Mar 6, 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. OSBotify commented on Mar 6, 2026

    @OSBotify
    Contributor

    Investigation Summary

    Classification: Frontend bug
    Causing PR: #82210 - "Update badge styles" by @abzokhattab (High confidence)
    Related Issues: None

    Recommendation: REVERT

    PR #82210 updated badge styles across the app, including removing styles.badgeBordered from badges in WorkspacesListRow.tsx. This styling change has affected the vertical alignment of the RBR (Red Brick Road) indicator in workspace rows when the window width is less than 1024 pixels (narrow layout).

    Labels: No label changes needed - this is a frontend bug, so DeployBlockerCash is correctly applied.

    Detailed Analysis

    Evidence

    PR #82210 merged on 2026-03-04 and is included in the current staging deploy (9.3.32-1). The issue is reproducible on staging but not production, confirming it was introduced in this deploy cycle.

    The PR made the following change to WorkspacesListRow.tsx:

    - badgeStyles={[styles.alignSelfCenter, styles.badgeBordered]}
    + badgeStyles={styles.alignSelfCenter}

    Verification

    Files affected:

    • /home/runner/_work/App/App/src/pages/workspace/WorkspacesListRow.tsx (lines 206, 222)
    • /home/runner/_work/App/App/src/styles/index.ts (badge style definitions)

    Confirmed changes in PR #82210:

    1. Removed styles.badgeBordered from workspace badges
    2. The old badgeBordered style had minHeight: 28 and specific padding
    3. The new defaultBadge style has minHeight: 24 (4px smaller)

    Root Cause

    The RBR indicator is rendered in a flex container at line 230 of WorkspacesListRow.tsx:

    <View style={[styles.flexRow, styles.gap2, styles.alignItemsCenter, isNarrow && styles.workspaceListRBR]}>

    When isNarrow is true (window width < 1024px), the workspaceListRBR style is applied, which includes:

    • flexDirection: "column" (overrides flexRow)
    • justifyContent: "flex-start"
    • marginTop: 10

    The badge style changes in PR #82210 altered the height and spacing of badges in the workspace row. The removal of badgeBordered style (which had minHeight: 28 and paddingHorizontal: 12) in favor of defaultBadge style (which has minHeight: 24 and paddingHorizontal: 8) changed the overall layout dimensions, causing the RBR indicator to become misaligned in narrow layouts where the complex flexbox interactions occur.

  7. 9 remaining items

  8. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Mar 6, 2026
  9. melvin-bot commented on Mar 16, 2026

    @melvin-bot

    @aimane-chnaif Huh... This is 4 days overdue. Who can take care of this?

  10. melvin-bot commented on Mar 18, 2026

    @melvin-bot

    @aimane-chnaif Still overdue 6 days?! Let's take care of this!

  11. melvin-bot commented on Mar 19, 2026

    @melvin-bot

    @aimane-chnaif 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  12. melvin-bot commented on Mar 20, 2026

    @melvin-bot

    @aimane-chnaif 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  13. melvin-bot commented on Mar 23, 2026

    @melvin-bot

    @aimane-chnaif 12 days overdue now... This issue's end is nigh!

  14. melvin-bot commented on Mar 24, 2026

    @melvin-bot

    @aimane-chnaif 12 days overdue now... This issue's end is nigh!

  15. aimane-chnaif commented on Mar 24, 2026

    @aimane-chnaif
    Contributor

    Awaiting payment cc: @bfitzexpensify

  16. bfitzexpensify commented on Mar 25, 2026

    @bfitzexpensify
    Contributor

    Payment summary:

    @aimane-chnaif due $250 via Upwork - offer sent

  17. aimane-chnaif commented on Mar 26, 2026

    @aimane-chnaif
    Contributor

    @bfitzexpensify accepted thanks

  18. bfitzexpensify commented on Mar 27, 2026

    @bfitzexpensify
    Contributor

    Payment complete

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

Metadata

Metadata

Labels

BugDailyEngineeringReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions