Repository navigation
Admin: say whose each Bot is on a skill's Bots, an app's By Bot and the other lists of every Bot - #2818
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 23:01
…he other lists of every Bot Every person has their own copy of the Bots OpenBot starts with, all under one name, so Admin's lists of every Bot in the organization drew "General Assistant" once per person with nothing to tell them apart. #2813 fixed Available to on a UI component; the same identical rows were on a skill's page, on an app's By Bot, on each of its tools' pages, in Check-ins, and in the one-line names approval rules, Activity, Learning, the grant dialog and the computers page use. - BotSwitchRows becomes BotRows, which takes what each row holds (a switch, a link, a count) and still draws the owner's picture and name, "Yours", "For everyone in the organization", and gathers each person's copy under one row that opens. The component page keeps BotSwitchRows. - A skill's Bots, an app's By Bot, a tool's Bots and Check-ins use it. By Bot's rows still open the Bot's page for the app, which now says whose the Bot is; so does a Bot's check-in breakdown. - Where a Bot is one word in a sentence, a menu or a picker, a name more than one Bot has says whose each is: "General Assistant (Sam Lee)", with the address when two people share a name (botLabels). useBotNames, the approval rule editor's Bot picker, Learning's per-Bot rows and picker, the audit filter's Bot menu and the grant dialog read it. - Outside Admin a person's own list keeps its rows by name alone. Check-ins counts per Bot, and its list doesn't carry an owner, so whose each is comes from the list of every Bot the screen already has (owner from #2808); no API change. Tests: app/tests/bot-owner-lists.test.tsx renders each screen against 180 people with their own General Assistant, two people called Sam Lee, one with no name, a Bot for everyone and two people's Bots of one name (6 of 6 fail on main, pass here). app/tests/bot-owner-lists-layout.test.tsx draws each screen beside Available to in Chromium and WebKit, light and dark, at 1440 and 390.
davidmckayv
force-pushed
the
waste/botowners
branch
from
December 2, 2026 23:30
88f2422 to
c5eea63
Compare
7 tasks done
This was referenced Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #2813, which fixed Available to on a UI component. Reads
Bot.ownerfrom #2808.Screenshots of every screen below, Chrome and WebKit, light and dark, desktop (1440) and phone (390), beside the fixed UI components page: https://claude.ai/artifact/NwBz9Dqm8qttDxE1hKgbjC
The bug
Every person has their own copy of the Bots OpenBot starts with, all under one name, so Admin's lists of every Bot in the organization drew "General Assistant" once per person, with nothing to say whose each was. #2813 fixed it on a UI component's Available to. The same identical rows were in these other places:
Searched every screen under Admin and Settings for lists of Bots. Settings and every other screen a person uses lists only what they can see: their own Bots and the ones made for everyone, never somebody else's copy, so it has no identical rows from this and is unchanged.
The fix
BotSwitchRowsbecomesBotRows, which takes what each row holds (a switch, a count and a chevron that opens a screen) and draws whose the Bot is the way Available to does: the owner's picture and name, "Yours", or "For everyone in the organization", with each person's copy gathered under one row that opens ("62 people each have one. On for 3 of 62."), yours first, and the sign-in address telling two people of the same name apart. Available to keepsBotSwitchRows, now built on it.useBotNamesgives it, so approval rules, Activity and Computers have it; the rule editor's Bot picker, Learning, the grant dialog and Activity's filter menu read the same labels.No API change. Check-ins' own list carries no owner, so whose each Bot is comes from the list of every Bot in the organization, which every one of these screens already reads and which names each Bot's owner since #2808. A Bot deleted since keeps its name and says nothing of whose it was.
Built from the app's own
PageRows,Item,Collapsible,SwitchandPersonAvatar, with nothing new in tokens or primitives.Tests
app/tests/bot-owner-lists.test.tsxrenders a skill's page, an app's page, a tool's page, one person's Bot's page and Check-ins under Admin, against an organization of 180 people each with their own General Assistant, two people both called Sam Lee, one with no name, a Bot made for everyone and two people's Bots with the same name. It asserts the copies are gathered under one row, that every copy names its owner (yours first, the two Sams by address), that no two switches have the same name, that switching one copy writes to that Bot only, that each By Bot copy links to its own Bot, and that the one-line names are all different. Red on main (6 of 6 fail), green here.app/tests/bot-owner-lists-layout.test.tsxdraws the skill's page (closed and open), the app's By Bot, a tool's page, one person's Bot's page and Check-ins, opened, beside Available to, in Chromium and WebKit, light and dark, at 1440 and 390: no sideways scroll, nothing cut off, no name or address clipped, no copy without an owner, every request answered. 56 of 56 pass. Added to the browser job in CI.app/tests/check-ins-admin.test.tsxnow answers the list of Bots, which Check-ins reads to say whose each Bot is.Changelog
Admin.