You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-05-29] [Due for payment 2026-05-28] Hide non-applicable Account menu items for agent accounts #90248
When the owner co-pilots into an agent account, several account-level menu items in the Initial Settings page do not apply to a bot account.
In src/pages/settings/InitialSettingsPage.tsx, gate the following entries on !isAgentAccount (using the useIsAgentAccount() hook):
Subscription
Wallet
Preferences
Agents
Security > Security options
The rest of the entries remain available. This follows the same isAgentAccount ? [] : [...] spread pattern already used for beta-gated items in this file.
Manual Test Steps
As the agent owner, copilot into the agent account.
Open Account.
Verify the sections listed above are not visible.
Verify Profile, Troubleshoot, Security, Sign out, etc are still visible.
Return to the owner account and confirm the hidden entries reappear for a regular account.
Automated Tests
A test that renders InitialSettingsPage for an agent and asserts the expected items are absent, and that they are present for a non-agent account.
changed the title [-]Hide non-applicable Account menu items for agent accounts[/-][+][Due for payment 2026-05-28] Hide non-applicable Account menu items for agent accounts[/+]on May 21, 2026
Contributor+: @ShridharGoel due $375 via NewDot - 2 PRs, one without tests
@NicolasBonet it looks like @ShridharGoel reviewed the two linked PRs above so the best practice is to assign them here so I can pay. I just did so now.
I'm guessing we don't need a test case update, if we so... please comment/reopen.
Activity
[-]Hide non-applicable Account menu items for agent accounts[/-][+][Due for payment 2026-05-28] Hide non-applicable Account menu items for agent accounts[/+]melvin-bot commentedon May 21, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".3 remaining items
melvin-bot commentedon May 26, 2026
@NicolasBonet Eep! 4 days overdue now. Issues have feelings too...
NicolasBonet commentedon May 27, 2026
I don't know what else to do in here, @mallenexpensify could you please tell me if I need to do something?
mallenexpensify commentedon May 29, 2026
Payment Summary
Contributor+: @ShridharGoel due $375 via NewDot - 2 PRs, one without tests
@NicolasBonet it looks like @ShridharGoel reviewed the two linked PRs above so the best practice is to assign them here so I can pay. I just did so now.
I'm guessing we don't need a test case update, if we so... please comment/reopen.
garrettmknight commentedon Jun 1, 2026
$375 approved for @ShridharGoel