Repository navigation
Group personal and company agents in Account Settings - #103788
Conversation
|
@linhvovan29546 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] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
Bug: This is unrelated to the current PR but was introduced in a [previous PR](#103486). I noticed that the role column is not aligned with the table header. |
|
@MelvinBot Review |
Follow-up review (4 new commits, up to
|
|
@MelvinBot Please check this bug as well: #103788 (comment) |
|
Confirmed: the Role header is missing the padding that the Role cell has. The fix is one line in the column definition. Cause: the Role cell renders
Fix: add the same styling to the Agents {
key: 'role' as const,
label: translate('common.role'),
sortable: true,
width: variables.workspaceMembersRoleColumnWidth,
styling: {
// editableCellHeader matches the padded role cell so the label and value share an edge.
containerStyles: [styles.editableCellHeader],
},
},I'd also restore The new Owner column has no padded cell, so it doesn't need this style. |
@s77rt I’m still not clear on this. Could you please clarify? |
The change is needed for the company-agent in general. The manager of company-agent can copilot into the agent without an explicit copilot share. The code on main does check for that explicit share and if it's not found the user is logged out. |
How can I create a company agent? I assume it should be possible to create one here, rather than in the current PR. So, it looks like we don't have a way to create one right now. |
This is not really an issue. Once you reconnect (or take any action) the BE will return that the session is expired and you will be logged out back to your account |
Yes, you can create a company agent on that PR (the BE changes are already live so you can switch to that and create an agent for testing) Let's keep that change here though because there is another backend PR held on this (and on the fix here). Also the other App PR will get merged next so it does not matter much |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeScreen.Recording.2026-10-17.at.21.58.39.moviOS: HybridAppScreen.Recording.2026-10-17.at.22.04.27.moviOS: mWeb SafariScreen.Recording.2026-10-17.at.21.55.07.movMacOS: Chrome / SafariScreen.Recording.2026-10-17.at.21.44.22.movScreen.Recording.2026-10-17.at.21.44.38.mov |
linhvovan29546
left a comment
There was a problem hiding this comment.
@s77rt NAB: Could you please add a test step for switching Copilot to the PR description so QA doesn't miss it when this lands in staging?
|
🚧 yuwenmemon has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.5.14-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.5.14-3 🚀
Bundle Size Analysis (Sentry): |

This is based on #103486 so let's get that one merged first
Explanation of Change
Added
Ownercolumn to Agents tableFixed Issues
$ #101123
PROPOSAL:
Tests
Test 1: Agent "Owner" column
Test 2: Copilot removal
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari