mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Updates the icons in the **AI add-on** column for the admin tables on `/deployment/users` and `/organizations/.../members`. - Not consuming a seat: `XIcon` → muted em-dash (`text-content-disabled`). - Consuming a seat: `CircleCheckIcon` → plain `CheckIcon` from `lucide-react` (no circle, still `text-content-success`). Both tables share `site/src/modules/users/AISeatCell.tsx`, so the single-file change covers `UsersTable.tsx` and `OrganizationMembersTable.tsx`. ## Screenshot Users admin table on a local dogfood build of this branch (`/deployment/users`): <!-- Drag-and-drop the screenshot here to attach it to the PR. --> <details> <summary>Notes</summary> - The em-dash is rendered via the JSX entity `—` rather than a literal `U+2014` character, so it does not trip `make lint/emdash` (see `AGENTS.md` / `scripts/check_emdash.sh`). The browser still renders an em-dash. - Kept the existing `aria-label`s (`Consuming AI seat` / `Not consuming AI seat`) and added `role="img"` on the em-dash span so screen readers still announce the state. - No callers other than `UsersTable.tsx` and `OrganizationMembersTable.tsx` use `AISeatCell` (verified via search). </details> > Opened by Coder Agents on behalf of @tracyjohnsonux.