Skip to content

Keep the Workspaces row menu attached to its button after a window resize - #105236

Merged
marcochavezf merged 3 commits into
mainfrom
claude-workspaceThreeDotsMenuResizeReposition
Nov 2, 2026
Merged

marcochavezf merged 3 commits into
mainfrom
claude-workspaceThreeDotsMenuResizeReposition

Conversation

@MelvinBot

@MelvinBot MelvinBot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Previously, when the three-dot menu on the Workspaces page was open and the browser window was resized, the menu could remain in its original position instead of following its button.

This change fixes the issue by recalculating the popover's position after the workspace row is resized, ensuring the menu stays correctly aligned with its three-dot button.

Fixed Issues

$ #104764
PROPOSAL: #104764 (comment)

Tests

  1. Open Expensify and go to Workspaces.
  2. Click the three-dot menu on any workspace.
  3. Keep the menu open.
  4. Resize the browser window wider and narrower.
  5. Verify the menu stays aligned with its three-dot button.
  6. Close and reopen the menu.
  • Verify that no errors appear in the JS console

Offline tests

  1. Open Workspaces while online.
  2. Enable Force offline.
  3. Open a workspace's three-dot menu.
  4. Resize the browser window wider and narrower.
  5. Verify the popover remains aligned with its button.
  6. Disable Force offline.

QA Steps

Same as tests.

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover 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 tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I verified any copy / text that was added to the app 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 tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • 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.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user 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.

Screenshots/Videos

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

…esize

Co-authored-by: Maruf Sharifi <marufsharifi@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team October 28, 2026 08:05
@melvin-bot melvin-bot Bot added Melvin-Test-Android Melvin-Test-Web Triggers Melvin to run the testing steps of the PR on web labels Oct 28, 2026
@MelvinBot

Copy link
Copy Markdown
Contributor Author

I created this PR from an upstream branch since I don't have push access to your fork.

To take ownership of this branch and be able to push updates, run:

git remote add upstream https://github.com/Expensify/App.git
git fetch upstream claude-workspaceThreeDotsMenuResizeReposition
git checkout -b claude-workspaceThreeDotsMenuResizeReposition upstream/claude-workspaceThreeDotsMenuResizeReposition
git push -u origin claude-workspaceThreeDotsMenuResizeReposition

Then you can close this PR and open a new one from your fork.

@MelvinBot

MelvinBot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Web test steps verification results: ✅ pass

On dev NewDot web (PR head f0c2966), the Workspaces list three-dots popover stayed anchored to its button when the window was widened (1280px → 1800px) and narrowed (1800px → 1100px) within the wide layout. The PR's Tests section is still a TODO, so these steps come from the linked issue's reproduction steps.
Popover re-anchored after narrowing to 1100px

Step Status
Workspaces list page shows at least one workspace row with a three-dots menuSettings > Workspaces showed one workspace row with the Workspaces, Owner, and Workspace type columns and a three-dots (More) button.
Workspaces list with one workspace row and three-dots button
✅
Clicking the three-dots menu opens a popover anchored next to the buttonThe popover opened with Go to workspace, Duplicate workspace, and Delete workspace, directly below and left of the three-dots button at 1280px.
Three-dots popover open at 1280px width
✅
Popover follows the button when the window is widened (1280px → 1800px)The popover stayed open and moved right from about x=917–1216 to x=1435–1738, tracking the three-dots button as the table widened.
Popover re-anchored after widening to 1800px
✅
Popover follows the button when narrowed within the wide layout (1800px → 1100px)The popover stayed open and moved left to about x=725–1037, matching the button's new position. Column headers were still shown, so the layout stayed wide.
Popover re-anchored after narrowing to 1100px
✅
No errors appear in the JS consoleNot checked directly: the web test driver can't read the browser console. As a proxy, every network request in the session returned 200 and no error UI appeared.
⚠️

view run · view recording

@MelvinBot

Copy link
Copy Markdown
Contributor Author

The failing check is unrelated to this PR, so I didn't push a fix.

Analysis: validate-perf-tests fails on the Reassure test [ReportActionsList] should re-render when an unrelated transaction is written (tests/perf-test/ReportActionsListRowWrites.perf-test.tsx). The render count differs by 0.6, and the allowed deviation is 0.

Evidence:

  • This PR changes only ThreeDotsMenu and the Workspaces list table. Nothing under src/pages/inbox/report/ uses ThreeDotsMenu.
  • The same test fails with the same 0.6 difference on unrelated branches today, for example krishna2323/issue-101117, dylann/101573-report-anchored-dropdown, and fix/105081.
  • The fractional difference means the render count changes between runs, which points to a flaky test.

Check independent approval also fails, but it only needs a reviewer approval.

Next step: Rerun the failed validate-perf-tests job. I couldn't start the rerun from here.


view run

@MelvinBot

MelvinBot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Android test steps verification results: ⚠️ partial

On Android, the Workspaces list and its three-dots menu work in portrait, and Go to workspace navigates correctly. I couldn't test the rotation steps (Android's version of a window resize) because the test environment blocks device rotation. Those steps are untested, not failed.
Workspace Overview page after tapping Go to workspace

Step Status
Workspaces list shows at least one workspace row with a three-dots menuThe Workspaces screen showed one workspace row with a three-dots (More) button.
Workspaces list with one workspace row and three-dots button
✅
Tapping the three-dots button opens a correctly positioned menuThe menu opened as a bottom sheet with Go to workspace, Duplicate workspace, and Delete workspace. This is the expected narrow-layout presentation on Android.
Three-dots bottom sheet menu open in portrait
✅
Menu stays anchored or closes cleanly after rotating to landscapeNot run: the test environment blocks device rotation, so I couldn't rotate the emulator.
⚠️
Menu works after rotating back to portrait (for example, Go to workspace navigates)Rotation not run, for the same reason. Without rotation, tapping Go to workspace in the open menu navigated to the workspace settings page.
Workspace Overview page after tapping Go to workspace
⚠️
App does not crash or show an error during these stepsThe app stayed in the foreground the whole time, and no error screens appeared.
✅

view run · view recording

@marufsharifi

Copy link
Copy Markdown
Contributor

@MelvinBot, replace the PR Author checklist with the verified one below:

PR author checklist

<!-- If necessary, assign reviewers that know the area or changes well. Feel free to tag any additional reviewers you see fit. -->

### Explanation of Change
<!-- Explain what your change does and how it addresses the linked issue -->

Previously, when the three-dot menu on the Workspaces page was open and the browser window was resized, the menu could remain in its original position instead of following its button.

This change fixes the issue by recalculating the popover's position after the workspace row is resized, ensuring the menu stays correctly aligned with its three-dot button.



### Fixed Issues
<!---
1. Please postfix `$` with a URL link to the GitHub issue this Pull Request is fixing. For example, `$ https://github.com/Expensify/App/issues/<issueID>`.
2. Please postfix  `PROPOSAL:` with a URL link to your GitHub comment, which contains the approved proposal (i.e. the proposal that was approved by Expensify).  For example, `PROPOSAL: https://github.com/Expensify/App/issues/<issueID>#issuecomment-1369752925`

Do NOT add the special GH keywords like `fixed` etc, we have our own process of managing the flow.
It MUST be an entire link to the github issue and your comment proposal ; otherwise, the linking and its automation will not work as expected.

Make sure this section looks similar to this (you can link multiple issues using the same formatting, just add a new line):

$ https://github.com/Expensify/App/issues/<issueID>
$ https://github.com/Expensify/App/issues/<issueID(comment)>

Do NOT only link the issue number like this: $ #<issueID>
--->
$ https://github.com/Expensify/App/issues/104764
PROPOSAL: https://github.com/Expensify/App/issues/104764#issuecomment-6374212275


<!--- 
If you want to trigger adhoc build of hybrid app from specific Mobile-Expensify PR please link it like this:

MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/<PR-number>

--->

### Tests
<!---
Add a numbered list of manual tests you performed that validates your changes work on all platforms, and that there are no regressions present.
Add any additional test steps if test steps are unique to a particular platform.
Manual test steps should be written so that your reviewer can repeat and verify one or more expected outcomes in the development environment.

For example:
1. Click on the text input to bring it into focus
2. Upload an image via copy paste
3. Verify a modal appears displaying a preview of that image
--->
1. Open Expensify and go to Workspaces.
2. Click the three-dot menu on any workspace.
3. Keep the menu open.
4. Resize the browser window wider and narrower.
5. Verify the menu stays aligned with its three-dot button.
6. Close and reopen the menu.

- [x] Verify that no errors appear in the JS console

### Offline tests
<!---
Add any relevant steps that validate your changes work as expected in a variety of network states e.g. "offline", "spotty connection", "slow internet", etc. Manual test steps should be written so that your reviewer and QA testers can repeat and verify one or more expected outcomes. If you are unsure how the behavior should work ask for advice in the `#expensify-open-source` Slack channel.
--->
1. Open Workspaces while online.
2. Enable Force offline.
3. Open a workspace's three-dot menu.
4. Resize the browser window wider and narrower.
5. Verify the popover remains aligned with its button.
6. Disable Force offline.

### QA Steps
<!---
Add a numbered list of manual tests that can be performed by our QA engineers on the staging environment to validate that your changes work on all platforms, and that there are no regressions present.
Add any additional QA steps if test steps are unique to a particular platform.
Manual test steps should be written so that the QA engineer can repeat and verify one or more expected outcomes in the staging environment.

For example:
1. Click on the text input to bring it into focus
2. Upload an image via copy paste
3. Verify a modal appears displaying a preview of that image

It's acceptable to write "Same as tests" if the QA team is able to run the tests in the above "Tests" section.
--->
Same as tests.

- [x] Verify that no errors appear in the JS console

### PR Author Checklist
<!--
This is a checklist for PR authors. Please make sure to complete all tasks and check them off once you do, or else your PR will not be merged!
-->

- [x] I linked the correct issue in the `### Fixed Issues` section above
- [x] I wrote clear testing steps that cover the changes made in this PR
    - [x] I added steps for local testing in the `Tests` section
    - [x] I added steps for the expected offline behavior in the `Offline steps` section
    - [x] I added steps for Staging and/or Production testing in the `QA steps` section
    - [x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    - [x] 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)
    - [x] I tested this PR with a [High Traffic account](https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#high-traffic-accounts) against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
- [x] I included screenshots or videos for tests on [all platforms](https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#make-sure-you-can-test-on-all-platforms)
- [x] I ran the tests on **all platforms** & verified they passed on:
    - [x] Android: Native
    - [x] Android: mWeb Chrome
    - [x] iOS: Native
    - [x] iOS: mWeb Safari
    - [x] MacOS: Chrome / Safari
- [x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
- [x] I verified any copy / text that was added to the app 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)
- [x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
- [x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like `Avatar`, I verified the components using `Avatar` are working as expected)
- [x] If new assets were added or existing ones were modified, I verified that:
    - [x] The assets are optimized and compressed (for SVG files, run `npm run compress-svg`)
    - [x] The assets load correctly across all supported platforms.
- [x] 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.
- [x] 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)
- [x] 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.
- [x] 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.
- [x] 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:
    - [x] I verified that all the inputs inside a form are aligned with each other.
    - [x] I added `Design` label and/or tagged `@Expensify/design` so the design team can review the changes.
- [x] If the PR adds or modifies the UI:
    - [x] I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    - [x] I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    - [x] I verified all new/changed elements have meaningful accessible names and roles.
    - [x] I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
- [x] I added [unit tests](https://github.com/Expensify/App/blob/main/tests/README.md) for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
- [x] 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.

### Screenshots/Videos
<details>
<summary>Android: Native</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>Android: mWeb Chrome</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>iOS: Native</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>iOS: mWeb Safari</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>MacOS: Chrome / Safari</summary>

<!-- add screenshots or videos here -->

</details>



@MelvinBot

Copy link
Copy Markdown
Contributor Author

I replaced the PR description with the version you provided.

  • The new Tests, Offline tests, and QA Steps sections are in place.
  • Every PR Author Checklist item is now checked.
  • Your shorter Explanation of Change replaced the earlier detailed one, which included the AI Tests list. The PR edit history still has the earlier text if you want any of it back.

view run

@marufsharifi

Copy link
Copy Markdown
Contributor

@MelvinBot resolve the conflicts.

…DotsMenuResizeReposition

Co-authored-by: Maruf Sharifi <marufsharifi@users.noreply.github.com>

# Conflicts:
#	src/components/Tables/WorkspaceListTable/WorkspaceRowThreeDotsMenu.tsx
@MelvinBot

Copy link
Copy Markdown
Contributor Author

I resolved the merge conflict by merging main into this branch. The PR now shows as mergeable.

The only conflict was in WorkspaceRowThreeDotsMenu.tsx. main added a session value that the Leave and Unarchive menu items now use. I kept that change and kept this PR's menu ref, which the row passes in.

  • npm run typecheck: passed
  • ThreeDotsMenuUpdateMenuPositionTest, WorkspaceListPageTest, LeaveWorkspaceFlowTest and TransferOwnershipFlowTest: passed (19 tests)

@MelvinBot

Copy link
Copy Markdown
Contributor Author

No fix needed. All code checks now pass on the latest commit (5630002a), including Jest Unit Tests and Reassure Performance Tests.

The only failing check is Check independent approval. It fails until a reviewer approves the PR, so a code change can't fix it.

Details
  • The earlier Reassure failure on f0c2966f was a flaky render count in ReportActionsList (27 → 27.6), which this PR doesn't touch. It passed on the rerun after the main merge.

@marufsharifi

Copy link
Copy Markdown
Contributor

@MelvinBot mark this as ready to review

@MelvinBot
MelvinBot marked this pull request as ready for review October 30, 2026 12:59
@MelvinBot
MelvinBot requested a review from a team as a code owner October 30, 2026 12:59
@MelvinBot

Copy link
Copy Markdown
Contributor Author

This PR is now marked as ready for review.


view run

@melvin-bot
melvin-bot Bot requested review from marufsharifi and removed request for a team October 30, 2026 12:59
@melvin-bot

melvin-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

@marufsharifi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot
melvin-bot Bot requested a review from JmillsExpensify October 30, 2026 13:00
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T13:03:27.065005Z 5630002 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@melvin-bot
melvin-bot Bot removed the request for review from a team October 30, 2026 13:00
};

useImperativeHandle(threeDotsMenuRef as React.RefObject<{hidePopoverMenu: () => void; isPopupMenuVisible: boolean; onThreeDotsPress: () => void}> | undefined, () => ({
const updateMenuPosition = () => {

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.

❌ CONSISTENCY-3 (docs)

The new updateMenuPosition function duplicates the exact guard-and-measure logic already present in the useLayoutEffect below it: both check if (!getMenuPosition || !isPopupMenuVisible) return; and then call getMenuPosition().then((value) => setPosition(value)). Keeping two copies of this reposition logic means a future change (e.g. to the guard or to how the measured value is applied) has to be made in both places.

Have the effect reuse the function instead of re-implementing it:

const updateMenuPosition = () => {
    if (!getMenuPosition || !isPopupMenuVisible) {
        return;
    }
    getMenuPosition().then((value) => {
        setPosition(value);
    });
};

// ...

useLayoutEffect(() => {
    updateMenuPosition();
    // eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps -- reposition on window/menu-state changes
}, [windowWidth, windowHeight, shouldSelfPosition, getMenuPosition, isPopupMenuVisible]);

Reviewed at: 5630002 | Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.

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.

Fixed in b03b007. The useLayoutEffect now calls updateMenuPosition() and depends on it instead of repeating the guard and measure logic.

I left out the suggested eslint-disable comment. Disabling react-hooks rules makes React Compiler skip the component, and lint passes without it.


view run

@marufsharifi

Copy link
Copy Markdown
Contributor

@MelvinBot validate and address the Ai review comment.

Co-authored-by: Maruf Sharifi <marufsharifi@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team as a code owner October 31, 2026 06:20
@MelvinBot

Copy link
Copy Markdown
Contributor Author

I fixed the AI review comment about duplicated code in b03b007. The comment was valid: the useLayoutEffect in ThreeDotsMenu/index.tsx repeated the logic in updateMenuPosition. The effect now calls updateMenuPosition() instead.

I left out the suggested eslint-disable comment because it would make React Compiler skip the component.

  • npm run lint-changed, npm run typecheck, and the React Compiler check: passed
  • ThreeDotsMenuUpdateMenuPositionTest, WorkspaceListPageTest, and WorkspaceListPageDuplicateScrollTest: passed (8 tests)

Codex found no issues on the previous commit.


view run

@melvin-bot
melvin-bot Bot requested review from marcochavezf and removed request for a team October 31, 2026 06:21
@melvin-bot

melvin-bot Bot commented Oct 31, 2026

Copy link
Copy Markdown

@marcochavezf Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@marufsharifi

marufsharifi commented Oct 31, 2026 •

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 any copy / text that was added to the app 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 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
    • 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
    • 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 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.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • 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
Screen_Recording_20261031_131922_Expensify.Dev.mp4
Android: mWeb Chrome
Screen_Recording_20261031_130119_Chrome.mp4
iOS: HybridApp
Screen.Recording.2026-10-31.at.2.23.50.PM.mov
iOS: mWeb Safari
Screen.Recording.2026-10-31.at.2.26.09.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2026-10-31.at.2.48.18.PM.mov

@JmillsExpensify JmillsExpensify left a comment

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.

LGTM

@marcochavezf
marcochavezf merged commit da99b1d into main Nov 2, 2026
46 of 48 checks passed
@marcochavezf
marcochavezf deleted the claude-workspaceThreeDotsMenuResizeReposition branch November 2, 2026 23:59
@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚧 marcochavezf has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@OSBotify OSBotify mentioned this pull request Nov 3, 2026
99 tasks done
@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/marcochavezf in version: 9.5.31-0 🚀

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

@MelvinBot

Copy link
Copy Markdown
Contributor Author

No help site update needed — this PR only keeps the workspace menu aligned with its button when resizing the browser, restoring expected behavior without changing any documented workflow.

@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/marcochavezf in version: 9.5.31-0 🚀

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

@OSBotify

OSBotify commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀

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

Bundle Size Analysis (Sentry):

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

Labels

Melvin-Test-Android Melvin-Test-Web Triggers Melvin to run the testing steps of the PR on web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants