Skip to content

Make agent card actions consistent text links - #2053

Merged
asim merged 1 commit into
mainfrom
codex/agent-action-links
Oct 8, 2026
Merged

asim merged 1 commit into
mainfrom
codex/agent-action-links

Conversation

@asim

@asim asim commented Oct 8, 2026

Copy link
Copy Markdown
Member

Replace Chat and Connect icons with labelled links. Apply the shared link-button styling to Chat, Connect, Edit and Remove. Remove retains its POST form, CSRF token and confirmation, styled as a text link rather than a bordered button.

Validated agent/app tests, formatting and diff checks.

@asim
asim merged commit 01a4090 into main Oct 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T10:32:39.885019Z 5e1642c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e1642c8ec

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread agent/roster_page.go
Comment on lines +374 to +376
b.WriteString(`<a class="link-button" href="` + e.Chat + `">Chat</a>`)
}
b.WriteString(`<a href="/agent/connect?id=` + html.EscapeString(e.ID) + `" aria-label="Connect to ` + html.EscapeString(e.Name) + `" title="Connect"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="m9 15 6-6M8 16l-1 1a4 4 0 0 1-6-6l4-4a4 4 0 0 1 6 0m2 10a4 4 0 0 0 6 0l4-4a4 4 0 0 0-6-6l-1 1"/></svg></a>`)
b.WriteString(`<a class="link-button" href="/agent/connect?id=` + html.EscapeString(e.ID) + `">Connect</a>`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep agent names in accessible action labels

When a screen-reader user navigates the roster through its links list, every row now exposes identical Chat and Connect accessible names because these replacements remove the previous agent-specific aria-label values. The surrounding .directory-row and .directory-list divs do not establish a labelled group, so users cannot tell which agent an action targets without leaving link navigation; keep the visible text while retaining labels such as Chat with <name> and Connect to <name>.

Useful? React with 👍 / 👎.

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