Skip to content

[Codex review] feat(message): add reply actions and quote previews - #1

Merged
minwookshin merged 1 commit into
codex-review-base/upstream-492from
codex/message-reply-356
Sep 22, 2026
Merged

minwookshin merged 1 commit into
codex-review-base/upstream-492from
codex/message-reply-356

Conversation

@minwookshin

Copy link
Copy Markdown
Owner

Companion review for vercel#492.

This pull request shares the upstream contribution's codex/message-reply-356 head branch. Follow-up fixes pushed to that branch update both pull requests.

The base snapshots upstream main at 6a9d5b1822ffb10bba4bd97175f01edd7d8651cd; the initial contribution head is 3b3d1fc9bf44649efaa06704ade84071370cc906.

This PR is for Codex review in the connected fork. The linked upstream PR remains the contribution target; leave this companion PR unmerged.

@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: 3b3d1fc9bf

ℹ️ 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 on lines +220 to +227
<MessageAction
label={label}
onClick={handleClick}
onPointerCancel={handlePointerCancel}
onPointerDown={handlePointerDown}
{...props}
>
{children ?? <ReplyIcon className="size-4" />}

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 Avoid duplicating the accessible name for text children

When a consumer supplies visible text as children without an explicit aria-label—for example, <MessageReply>Respond</MessageReply>—the default label="Reply" is still passed to MessageAction, which renders it in an additional sr-only span. The resulting accessible name is therefore “Respond Reply” rather than the visible label, causing duplicated or contradictory announcements for screen-reader users. This is especially likely because the documentation explicitly recommends passing children to customize the action.

Useful? React with 👍 / 👎.

@minwookshin
minwookshin merged commit 5678517 into codex-review-base/upstream-492 Sep 22, 2026
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