Skip to content

chore(site): swap AI add-on table icons (em-dash + plain check)#26467

Open
tracyjohnsonux wants to merge 4 commits into
mainfrom
tj/ai-seat-cell-icons
Open

chore(site): swap AI add-on table icons (em-dash + plain check)#26467
tracyjohnsonux wants to merge 4 commits into
mainfrom
tj/ai-seat-cell-icons

Conversation

@tracyjohnsonux

@tracyjohnsonux tracyjohnsonux commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

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):

Notes
  • 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-labels (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).

Opened by Coder Agents on behalf of @tracyjohnsonux.

Replace the X (XIcon) used when a user is not consuming an AI seat with a
muted em-dash (rendered via — to avoid the U+2014 lint rule) and
replace the CircleCheckIcon used when consuming a seat with the simpler
lucide CheckIcon. Applies to the Users and Organization Members admin
tables, both of which share the AISeatCell component.

Generated with Coder Agents on behalf of @tracyjohnsonux.
@tracyjohnsonux

Copy link
Copy Markdown
Contributor Author

/coder-agents-review

@coder-agents-review

coder-agents-review Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Chat: Review posted | View chat
Requested: 2026-06-17 18:14 UTC by @tracyjohnsonux
Spend: $8.46 / $100.00

Review history
  • R1 (2026-06-17): 11 reviewers, COMMENT. Review

deep-review v0.7.1 | Round 1 | 787392e..c17269b

Last posted: Round 1, no findings, COMMENT. Review

Finding inventory

Findings

# Sev Status Location Summary Round Reviewer Posted

No findings.

Round log

Round 1

Panel (Bisky, Hisoka, Mafu-san, Mafuuu, Pariston, Nami, Ging-ts, Ging-react, Gon, Leorio, Chopper). 0 findings. Reviewed against 787392e..c17269b.

About deep-review

CRF = Coder Review Finding (P0-P4, Nit, Note)

Reviewer Focus
Bisky tests
Chopper ops/errors
Churn-guard change verification
Ging language modernization
Gon naming
Hisoka edge cases
Killua perf
Kite change integrity
Knov contracts
Knuckle SQL
Kurapika security
Law decomposition
Leorio docs
Luffy product
Mafu-san process
Mafuuu contracts
Melody dispatch/pairing
Meruem structural
Nami frontend
Netero mechanical checks
Pariston premise testing
Pen-botter product gaps
Razor verification
Robin duplication
Ryosuke Go arch
Takumi concurrency
Zoro shape

🤖 Managed by Coder Agents.

@coder-agents-review coder-agents-review Bot 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.

Clean, proportional change. Single-file icon swap in a shared component with existing story coverage for both branches. The em-dash entity approach correctly avoids the UTF-8 lint rule while achieving the intended UI, and the added role="img" + aria-label on the text span preserves accessibility.

0 P0-P2. 0 P3-P4. 0 Nit.

Process note (commit message): The commit body describes the mechanical swap ("Replace XIcon with em-dash, replace CircleCheckIcon with CheckIcon") but doesn't explain why these replacements are better. An X icon reads as rejection rather than absence; a muted em-dash better signals "not applicable." A circled check is visually heavy; a plain check is lighter. That reasoning would help a future git log reader. (Leorio)

"Pulled every thread. Boring code gets silence." (Hisoka)

🤖 This review was automatically generated with Coder Agents.

@tracyjohnsonux tracyjohnsonux enabled auto-merge (squash) June 18, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant