Skip to content

fix(react-core): honor chatInputToolbarAddButtonLabel in the add menu tooltip - #6771

Merged
BenTaylorDev merged 1 commit into
mainfrom
ben1/6750-add-button-tooltip-label
Aug 28, 2026
Merged

BenTaylorDev merged 1 commit into
mainfrom
ben1/6750-add-button-tooltip-label

Conversation

@BenTaylorDev

Copy link
Copy Markdown
Contributor

Problem

The add-menu ("+") button in CopilotChat renders its tooltip from a hardcoded string, so labels.chatInputToolbarAddButtonLabel retitles the menu item but leaves the tooltip in English:

<CopilotChat labels={{ chatInputToolbarAddButtonLabel: "上传附件" }} />
// menu item → "上传附件"   ✅
// tooltip   → "Add attachments /"  ❌

That blocks full localization of the chat UI unless you replace the entire add-button slot just to change one string.

packages/react-core/src/v2/components/chat/CopilotChatInput.tsx:1330 (before):

<span>Add attachments</span>

Why this is a bug, not a design choice

Two independent signals say the hardcoded string was an oversight:

  1. Every other tooltip in the v2 chat surface is already label-driven — CopilotChatInput.tsx:1186 renders <p>{labels[labelKey]}</p>, and CopilotChatUserMessage.tsx:303 / CopilotChatAssistantMessage.tsx:255 both render <p>{title}</p>. The add-menu button was the only hardcoded tooltip in the package.
  2. Angular already does it the right way — packages/angular/src/lib/components/chat/copilot-chat-tools-menu.ts:183 derives the same tooltip from chatInputToolbarAddButtonLabel. React was the outlier.

Change

One-line fix: the tooltip now reads the existing label.

<span>{labels.chatInputToolbarAddButtonLabel}</span>

I deliberately reused chatInputToolbarAddButtonLabel rather than adding the chatInputToolbarAddButtonTooltip key the issue also floated:

  • It matches what Angular already ships, so this closes a parity gap instead of opening a new one.
  • A second key adds public API surface for a case nobody has actually hit (menu item and tooltip needing to differ). It can be added later as a non-breaking addition if a real need shows up.
  • The default label is already "Add attachments" (CopilotChatConfigurationProvider.tsx:22), so the rendered default text is unchanged — no visual or snapshot regression.

The / shortcut glyph stays hardcoded: it is a key name, not prose.

Out of scope (flagging, not fixing)

The React default for this label ("Add attachments") differs from Vue's and Angular's ("Add photos or files" — packages/vue/src/v2/providers/types.ts:6, packages/angular/src/lib/chat-config.ts:30). That is a pre-existing cross-framework inconsistency; changing it here would silently alter someone's default string, so I left it alone. Vue's add button has no tooltip at all, so it needs no counterpart change.

Testing

1. New test fails without the fix (mutation-checked, not a self-fulfilling probe).

Run against the unfixed source, the assertion catches the hardcoded string:

FAIL  src/v2/components/chat/__tests__/CopilotChatInput.test.tsx > CopilotChatInput
      > uses the configured add button label for the add menu tooltip
AssertionError: expected 'Add attachments/' to contain 'Upload attachment'

Expected: "Upload attachment"
Received: "Add attachments/"

Worth noting: my first draft of this test used user.hover() + findByRole("tooltip") and failed for the wrong reason (no tooltip ever rendered). This suite mocks @radix-ui/react-tooltip to a passthrough (src/v2/__tests__/setup.ts:92), so tooltip content renders eagerly and there is no real open/close or role="tooltip". The committed test asserts on [data-slot="tooltip-content"] scoped to the add button's tooltip root, which is the convention this mock implies — and it demonstrably fails on unfixed code, as shown above.

2. Target file green with the fix — 56/56.

✓ src/v2/components/chat/__tests__/CopilotChatInput.test.tsx (56 tests) 1050ms

 Test Files  1 passed (1)
      Tests  56 passed (56)

3. Full @copilotkit/react-core suite: no regressions. Baseline at clean HEAD vs. this branch, same worktree, same command:

Tests Passed Failed
HEAD (unfixed) 1514 1505 7
This branch 1515 1506 7

Exactly +1 test and +1 pass — my added test — with the identical 7 failures on both sides. Those 7 pre-existing failures are in CopilotChatView.pinToSend.test.tsx, use-pin-to-send.test.tsx, and three src/v1-deprecated/hooks/__tests__/ files; none touch the add button or labels.

4. Typecheck — zero errors in the touched files.

tsc --noEmit reports 21 pre-existing errors in this worktree, all in the inspector/threads family (use-inspector-thread-override.ts, inspector-thread-override.test.tsx, CopilotKitInspector.tsx, CopilotKitProvider.tsx, use-threads.tsx, CopilotChatMessageView.tsx, CopilotChat.tsx). None in CopilotChatInput.tsx or its test:

$ tsc --noEmit 2>&1 | grep -c 'CopilotChatInput'
0

5. Pre-commit hooks passed in full (not bypassed — no --no-verify):

✔️ check-binaries (0.04 seconds)
✔️ lint-fix (2.16 seconds)
✔️ check-intelligence-env-names (7.97 seconds)
✔️ test-and-check-packages (52.53 seconds)
✔️ commitlint (0.61 seconds)

test-and-check-packages runs nx run-many -t test,publint,attw for the affected package, so react-core's test, publint, and attw all passed. Formatting applied with oxfmt.

Fixes #6750

… tooltip

The add-menu ("+") button's tooltip hardcoded the string "Add attachments",
so `labels.chatInputToolbarAddButtonLabel` only retitled the menu item and
the tooltip stayed English. That blocked full localization of CopilotChat
without replacing the whole add-button slot.

Every other tooltip in the v2 chat surface is already label-driven, and the
Angular implementation already derives this tooltip from the same label, so
this was an oversight rather than a deliberate split.

The "/" shortcut glyph stays hardcoded — it is a key name, not prose.

Fixes #6750

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@6771

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@6771

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@6771

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@6771

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@6771

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@6771

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@6771

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@6771

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@6771

@copilotkit/channels-telegram

pnpm add https://pkg.pr.new/@copilotkit/channels-telegram@6771

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@6771

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@6771

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@6771

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@6771

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@6771

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/@copilotkit/react-textarea@6771

@copilotkit/react-ui

pnpm add https://pkg.pr.new/@copilotkit/react-ui@6771

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@6771

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/@copilotkit/runtime-client-gql@6771

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@6771

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@6771

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@6771

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@6771

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@6771

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@6771

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@6771

commit: 4edbbc3

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: -25 B (0%)

Total Size: 1.55 MB

📦 View Changed
Filename Size Change
packages/react-core/dist/copilotkit-B8ALu2en.cjs 112 kB +112 kB (new file) 🆕
packages/react-core/dist/copilotkit-DQvvk5gs.cjs 0 B -112 kB (removed) 🏆
packages/react-core/dist/copilotkit-hurmJX8j.mjs 111 kB +111 kB (new file) 🆕
packages/react-core/dist/copilotkit-PyPzxJR7.mjs 0 B -111 kB (removed) 🏆
packages/react-core/dist/index.cjs 17 kB +1 B (+0.01%)
packages/react-core/dist/v2/index.cjs 1.32 kB -1 B (-0.08%)
packages/react-core/dist/v2/index.mjs 1.13 kB -1 B (-0.09%)
packages/react-core/dist/v2/index.umd.js 112 kB -8 B (-0.01%)
ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 172 B
packages/a2ui-renderer/dist/a2ui-types.mjs 171 B
packages/a2ui-renderer/dist/index.cjs 943 B
packages/a2ui-renderer/dist/index.mjs 619 B
packages/a2ui-renderer/dist/index.umd.js 12.6 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.49 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.43 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 904 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 492 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 596 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 829 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 419 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.63 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 842 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 432 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.19 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.13 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 984 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 903 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 489 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 579 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 556 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 982 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 580 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 409 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/a2ui-renderer/dist/web-components/_virtual/_rolldown/runtime.cjs 260 B
packages/a2ui-renderer/dist/web-components/_virtual/_rolldown/runtime.mjs 258 B
packages/a2ui-renderer/dist/web-components/adapter.cjs 346 B
packages/a2ui-renderer/dist/web-components/adapter.mjs 335 B
packages/a2ui-renderer/dist/web-components/bound-component.cjs 670 B
packages/a2ui-renderer/dist/web-components/bound-component.mjs 662 B
packages/a2ui-renderer/dist/web-components/catalog/basic/audio-player.cjs 536 B
packages/a2ui-renderer/dist/web-components/catalog/basic/audio-player.mjs 492 B
packages/a2ui-renderer/dist/web-components/catalog/basic/button.cjs 647 B
packages/a2ui-renderer/dist/web-components/catalog/basic/button.mjs 604 B
packages/a2ui-renderer/dist/web-components/catalog/basic/card.cjs 448 B
packages/a2ui-renderer/dist/web-components/catalog/basic/card.mjs 402 B
packages/a2ui-renderer/dist/web-components/catalog/basic/check-box.cjs 743 B
packages/a2ui-renderer/dist/web-components/catalog/basic/check-box.mjs 695 B
packages/a2ui-renderer/dist/web-components/catalog/basic/choice-picker.cjs 1.27 kB
packages/a2ui-renderer/dist/web-components/catalog/basic/choice-picker.mjs 1.24 kB
packages/a2ui-renderer/dist/web-components/catalog/basic/column.cjs 474 B
packages/a2ui-renderer/dist/web-components/catalog/basic/column.mjs 431 B
packages/a2ui-renderer/dist/web-components/catalog/basic/components.cjs 482 B
packages/a2ui-renderer/dist/web-components/catalog/basic/components.mjs 424 B
packages/a2ui-renderer/dist/web-components/catalog/basic/date-time-input.cjs 756 B
packages/a2ui-renderer/dist/web-components/catalog/basic/date-time-input.mjs 714 B
packages/a2ui-renderer/dist/web-components/catalog/basic/divider.cjs 450 B
packages/a2ui-renderer/dist/web-components/catalog/basic/divider.mjs 404 B
packages/a2ui-renderer/dist/web-components/catalog/basic/icon.cjs 504 B
packages/a2ui-renderer/dist/web-components/catalog/basic/icon.mjs 455 B
packages/a2ui-renderer/dist/web-components/catalog/basic/ids.cjs 192 B
packages/a2ui-renderer/dist/web-components/catalog/basic/ids.mjs 190 B
packages/a2ui-renderer/dist/web-components/catalog/basic/image.cjs 624 B
packages/a2ui-renderer/dist/web-components/catalog/basic/image.mjs 578 B
packages/a2ui-renderer/dist/web-components/catalog/basic/index.cjs 465 B
packages/a2ui-renderer/dist/web-components/catalog/basic/index.mjs 526 B
packages/a2ui-renderer/dist/web-components/catalog/basic/list.cjs 534 B
packages/a2ui-renderer/dist/web-components/catalog/basic/list.mjs 483 B
packages/a2ui-renderer/dist/web-components/catalog/basic/modal.cjs 842 B
packages/a2ui-renderer/dist/web-components/catalog/basic/modal.mjs 800 B
packages/a2ui-renderer/dist/web-components/catalog/basic/row.cjs 471 B
packages/a2ui-renderer/dist/web-components/catalog/basic/row.mjs 427 B
packages/a2ui-renderer/dist/web-components/catalog/basic/slider.cjs 701 B
packages/a2ui-renderer/dist/web-components/catalog/basic/slider.mjs 653 B
packages/a2ui-renderer/dist/web-components/catalog/basic/tabs.cjs 780 B
packages/a2ui-renderer/dist/web-components/catalog/basic/tabs.mjs 730 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text-field.cjs 857 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text-field.mjs 814 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text.cjs 553 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text.mjs 501 B
packages/a2ui-renderer/dist/web-components/catalog/basic/utils.cjs 484 B
packages/a2ui-renderer/dist/web-components/catalog/basic/utils.mjs 462 B
packages/a2ui-renderer/dist/web-components/catalog/basic/video.cjs 400 B
packages/a2ui-renderer/dist/web-components/catalog/basic/video.mjs 352 B
packages/a2ui-renderer/dist/web-components/catalog/children.cjs 302 B
packages/a2ui-renderer/dist/web-components/catalog/children.mjs 300 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/button.cjs 629 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/button.mjs 584 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/column.cjs 609 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/column.mjs 559 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/components.cjs 245 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/components.mjs 263 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/index.cjs 724 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/index.mjs 654 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/row.cjs 593 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/row.mjs 544 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text-field.cjs 874 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text-field.mjs 822 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text.cjs 509 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text.mjs 477 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/utils.cjs 291 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/utils.mjs 287 B
packages/a2ui-renderer/dist/web-components/create-catalog.cjs 1.89 kB
packages/a2ui-renderer/dist/web-components/create-catalog.mjs 1.83 kB
packages/a2ui-renderer/dist/web-components/define.cjs 440 B
packages/a2ui-renderer/dist/web-components/define.mjs 341 B
packages/a2ui-renderer/dist/web-components/index.cjs 960 B
packages/a2ui-renderer/dist/web-components/index.mjs 655 B
packages/a2ui-renderer/dist/web-components/node.cjs 1.05 kB
packages/a2ui-renderer/dist/web-components/node.mjs 1.04 kB
packages/a2ui-renderer/dist/web-components/surface.cjs 2.83 kB
packages/a2ui-renderer/dist/web-components/surface.mjs 2.81 kB
packages/core/dist/index.cjs 57.8 kB
packages/core/dist/index.mjs 57.3 kB
packages/core/dist/index.umd.js 61.9 kB
packages/react-core/dist/index.mjs 17 kB
packages/react-core/dist/index.umd.js 65.9 kB
packages/react-core/dist/v2/context.cjs 1.55 kB
packages/react-core/dist/v2/context.mjs 1.47 kB
packages/react-core/dist/v2/headless.cjs 13.7 kB
packages/react-core/dist/v2/headless.mjs 13.1 kB
packages/react-native/dist/chunk-C0xms8kb.cjs 546 B
packages/react-native/dist/components/index.cjs 8.24 kB
packages/react-native/dist/components/index.mjs 8.05 kB
packages/react-native/dist/headless.cjs 642 B
packages/react-native/dist/headless.mjs 380 B
packages/react-native/dist/index.cjs 6.53 kB
packages/react-native/dist/index.mjs 6.15 kB
packages/react-native/dist/polyfills.cjs 195 B
packages/react-native/dist/polyfills.mjs 195 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 332 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 371 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-BnQh3vBz.mjs 2.22 kB
packages/react-native/dist/streaming-fetch-BTESzLKX.cjs 2.27 kB
packages/react-native/dist/useRenderTool-CKEPq7MQ.cjs 2.09 kB
packages/react-native/dist/useRenderTool-l7M-I8rT.mjs 1.95 kB
packages/react-textarea/dist/index.cjs 18.1 kB
packages/react-textarea/dist/index.mjs 17.4 kB
packages/react-textarea/dist/index.umd.js 18.8 kB
packages/react-ui/dist/index.cjs 25.2 kB
packages/react-ui/dist/index.mjs 24.5 kB
packages/react-ui/dist/index.umd.js 26.5 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-prompts.cjs 2.85 kB
packages/shared/dist/a2ui-prompts.mjs 2.85 kB
packages/shared/dist/attachments/utils.cjs 1.74 kB
packages/shared/dist/attachments/utils.mjs 1.7 kB
packages/shared/dist/constants/index.cjs 362 B
packages/shared/dist/constants/index.mjs 345 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/finalize-events.cjs 1.05 kB
packages/shared/dist/finalize-events.mjs 1 kB
packages/shared/dist/index.cjs 2.12 kB
packages/shared/dist/index.mjs 1.76 kB
packages/shared/dist/index.umd.js 22 kB
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/lambda-client.cjs 1.14 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.13 kB
packages/shared/dist/telemetry/sampling.cjs 494 B
packages/shared/dist/telemetry/sampling.mjs 484 B
packages/shared/dist/telemetry/telemetry-client.cjs 1.37 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.31 kB
packages/shared/dist/telemetry/utils.cjs 321 B
packages/shared/dist/telemetry/utils.mjs 277 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.24 kB
packages/shared/dist/utils/console-styling.mjs 1.22 kB
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.42 kB
packages/shared/dist/utils/index.mjs 1.69 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.46 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.45 kB
packages/shared/dist/utils/inspector-visibility.cjs 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/index.cjs 120 kB
packages/web-inspector/dist/index.mjs 120 kB
packages/web-inspector/dist/index.umd.js 164 kB
packages/web-inspector/dist/lib/context-helpers.cjs 862 B
packages/web-inspector/dist/lib/context-helpers.mjs 830 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.79 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.78 kB
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 668 B
packages/web-inspector/dist/lib/inspector-nav.mjs 649 B
packages/web-inspector/dist/lib/onboarding-prompt.cjs 1.3 kB
packages/web-inspector/dist/lib/onboarding-prompt.mjs 1.29 kB
packages/web-inspector/dist/lib/persistence.cjs 2.18 kB
packages/web-inspector/dist/lib/persistence.mjs 2.11 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 4.76 kB
packages/web-inspector/dist/lib/telemetry.mjs 4.62 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 19.2 kB
packages/web-inspector/dist/styles/generated.mjs 19.2 kB

compressed-size-action

@BenTaylorDev
BenTaylorDev marked this pull request as ready for review August 28, 2026 18:54
@BenTaylorDev
BenTaylorDev merged commit addd3f8 into main Aug 28, 2026
40 checks passed
@BenTaylorDev
BenTaylorDev deleted the ben1/6750-add-button-tooltip-label branch August 28, 2026 19:01
github-merge-queue Bot pushed a commit that referenced this pull request Oct 19, 2026
…abels (#7865)

## What does this PR do?

Gives every icon-only button in the prebuilt chat an accessible name
taken from the `labels` config, so screen readers announce it and apps
can translate it.

**React** (`@copilotkit/react-core/v2`): the send/stop, add, voice
(start, cancel, finish), scroll-to-bottom and branch (previous/next)
buttons had no accessible name. Some show a tooltip, but a tooltip only
adds `aria-describedby` while open.
- `CopilotChatInput.SendButton` is named
`chatInputToolbarSendButtonLabel`, or `chatInputToolbarStopButtonLabel`
while it stops a run.
- `CopilotChatInput.AddMenuButton` and `CopilotChatInput.ToolbarButton`
reuse the labels their tooltips already show.
- `CopilotChatView.ScrollToBottomButton` is named
`chatScrollToBottomLabel`.
- `CopilotChatUserMessage.BranchNavigation` names its buttons
`userMessageToolbarPreviousBranchLabel` /
`userMessageToolbarNextBranchLabel`.

**Vue**:
- The send button said "Send message" even while it stops a run; it now
uses the send or stop label.
- The scroll-to-bottom button had no name; it now uses
`chatScrollToBottomLabel`.
- The branch buttons' hard-coded names now come from labels.

**Angular**: the hard-coded send, scroll-to-bottom and branch-button
names now come from `provideCopilotChatLabels`.

New label keys. Each framework keeps the English text it used before as
the default:

| Key | React | Vue | Angular |
| --- | --- | --- | --- |
| `chatInputToolbarSendButtonLabel` | "Send message" | "Send message" |
"Send message" |
| `chatInputToolbarStopButtonLabel` | "Stop" | "Stop" | (no stop state
on this button) |
| `chatScrollToBottomLabel` | "Scroll to bottom" | "Scroll to bottom" |
"Scroll to bottom" |
| `userMessageToolbarPreviousBranchLabel` | "Previous branch" |
"Previous branch" | "Previous message branch" |
| `userMessageToolbarNextBranchLabel` | "Next branch" | "Next branch" |
"Next message branch" |

The change is additive. An `aria-label` passed through a slot still
wins, and nothing changes visually: before and after screenshots of the
repro page are byte-identical, apart from an animated pulse dot. The
reference pages for `useCopilotChatConfiguration` (React, Vue) and
`provideCopilotChatLabels` list the new keys.

One existing test changed: the send-button case in
`CopilotChatView.onClick.e2e.test.tsx` only asserted if it found
`button[aria-label*="Send"]`, which never existed, so it passed without
checking anything. With the label in place it found a disabled button.
It now types into the composer, finds the button by name and asserts the
click.

## Related PRs and Issues

- Fixes #7862
- Same pattern as #6771 (label for the add-menu tooltip).
- The design-refresh PR #7464 edits the same React button components
(class names, icon stroke). The overlap is small, and I'm happy to
rebase onto it, or onto whichever lands first.

## Testing

New tests. Each fails against `main` and passes here, except two that
pass on both by design (the slot `aria-label` override, and Vue's
default "Send message"):

- React:
  - `CopilotChatInput.test.tsx`, "accessible names" (5)
  - `CopilotChatView.scrollToBottomButton.test.tsx` (2)
- `CopilotChatUserMessage.slots.e2e.test.tsx`, "branch navigation
accessible names" (2)
- Vue:
  - `CopilotChatInput.test.ts` (3)
  - `CopilotChatView.test.ts` (1)
  - `CopilotChatUserMessage.test.ts` (1)
- Angular: `copilot-chat-buttons.spec.ts` (1)

Checks:
- `nx run-many -t check-types,test` for `react-core`, `vue` and
`angular`, run one after another: react-core 1907 tests, vue 1185,
angular 542 (1 skipped), all passing, and type checks clean.
- `nx run-many -t build,publint,attw` for the same three: passing.
- `oxlint` and `oxfmt --check` on the changed files: no new warnings.

Browser check: a page built against `@copilotkit/react-core` packed from
this branch, in Chromium 149 via Playwright `ariaSnapshot()`. Repro and
capture script: https://github.com/Mordris/copilotkit-ui-repro

| | 1.79.1 | This branch |
| --- | --- | --- |
| Buttons without a name | 6 of 12 | 0 of 12 |
| Composer (idle) | `- button`, `- button`, `- button [disabled]` | `-
button "Add attachments"`, `- button "Transcribe"`, `- button "Send
message" [disabled]` |
| Composer (running) | `- button` | `- button "Stop"` |
| Same, with German `labels` | unchanged | `"Anhänge hinzufügen"`,
`"Diktieren"`, `"Nachricht senden"`, `"Stoppen"` |

## Checklist

- [x] I have read the [Contribution
Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md)
- [x] If the PR changes or adds functionality, I have updated the
relevant documentation
- [x] If the PR contains a breaking change, the title has `!` (for
example `feat(react-core)!: ...`) and the description has a `BREAKING
CHANGE:` line with migration steps. See
[VERSIONING.md](https://github.com/CopilotKit/CopilotKit/blob/main/VERSIONING.md)
(not a breaking change)
- [x] "Allow edits by maintainers" is checked (lets us help iterate on
your PR directly — faster turnaround for everyone)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Chat button labels are configurable across Angular, React, and Vue,
including send/stop, message-branch navigation, and scroll-to-bottom
controls.
  * Send and stop buttons announce the action currently available.
* **Documentation**
* Configuration references now list the new labels and their default
text.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Laptopmini pushed a commit to Laptopmini/CopilotKit that referenced this pull request Oct 27, 2026
…ed strings through labels (CopilotKit#7867)

## What does this PR do?

Routes the prebuilt chat's remaining hard-coded strings through the
`labels` config, so apps can translate them.

| Key | Default | Where |
| --- | --- | --- |
| `reasoningMessageThinkingLabel` | "Thinking…" | reasoning header while
the model reasons (React, Vue, Angular) |
| `chatInputSlashMenuLabel` | "Slash commands" | name of the
slash-command menu (React, Vue) |
| `chatInputSlashMenuEmptyText` | "No commands found" | its empty state
(React, Vue) |
| `attachmentRemoveButtonLabel` | "Remove attachment" | queued
attachment (React, Vue, Angular) |
| `attachmentPlayVideoButtonLabel` | "Play video" | queued video (React,
Vue) |
| `attachmentPreviewCloseButtonLabel` | "Close preview" | attachment
preview (React, Vue) |
| `modalHeaderCloseButtonLabel` | "Close" | popup and sidebar header
(React, Vue) |
| `modalHeaderThreadsButtonLabel` | "Open threads" | threads drawer
launcher (React, Vue) |
| `sidebarLabel` | "Copilot chat sidebar" | name of the sidebar region
(React, Vue) |

**"Thought for N seconds"** carries a number and plural rules, which a
plain string label can't express. Its English default stays as it is.
The reasoning header slot now also receives `elapsedSeconds` (React;
Vue's `header` and `layout` slots), so an app can render its own text
with correct plurals:

```tsx
<CopilotChat
  messageView={{
    reasoningMessage: {
      header: ({ isStreaming, elapsedSeconds, ...props }) => (
        <CopilotChatReasoningMessage.Header
          {...props}
          isStreaming={isStreaming}
          label={isStreaming ? "Denkt nach…" : `${Math.round(elapsedSeconds)} Sekunden nachgedacht`}
        />
      ),
    },
  }}
/>
```

The change is additive: same English defaults, and no visual change
unless an app sets the new labels. The reference pages for
`useCopilotChatConfiguration` (React, Vue) and
`provideCopilotChatLabels` list the new keys, and the reasoning-messages
guide documents `elapsedSeconds`.

Not included:
- Angular's popup and sidebar close buttons keep their own names ("Close
Copilot chat", "Close Copilot sidebar"). Angular's reasoning message has
no header slot to pass `elapsedSeconds` to.
- The A2UI renderer's own strings ("Building interface", "Retrying
generation…", "Filter options...") are left out, since the A2UI catalog
is being reworked in CopilotKit#7819 / CopilotKit#7829.

## Related PRs and Issues

- Closes CopilotKit#7864
- Same pattern as CopilotKit#6771. Independent of CopilotKit#7865 (the icon-only button
names): the two touch different keys and lines.

## Testing

New tests. Each fails against `main` and passes here:

- React: `CopilotChat.labels.test.tsx` (7). Covers every string above,
plus `elapsedSeconds` reaching a custom header (fake timers: 0, then 3
after three seconds).
- Vue: `CopilotChat.labels.test.ts` (6).
- Angular: `copilot-chat-labels.spec.ts` (2).

Checks:
- `nx run-many -t check-types,test` for `react-core`, `vue` and
`angular`, run one after another: react-core 1905 tests, vue 1186,
angular 543 (1 skipped), all passing, and type checks clean.
- `nx run-many -t build,publint,attw` for the same three: passing.
- `oxlint` and `oxfmt --check` on the changed files: no new warnings.

Browser check: a page built against `@copilotkit/react-core` packed from
this branch, with German `labels`, in Chromium 149 via Playwright. Repro
and capture script: https://github.com/Mordris/copilotkit-ui-repro

| | 1.79.1 | This branch |
| --- | --- | --- |
| Reasoning header (streaming) | "Thinking…" | "Denkt nach…" |
| Slash menu, no matches | `listbox "Slash commands": No commands found`
| `listbox "Befehle": Keine Befehle gefunden` |
| Attachment buttons | "Remove attachment", "Play video" | "Anhang
entfernen", "Video abspielen" |
| Preview close button | "Close preview" | "Vorschau schließen" |
| Same page, English labels | | identical to 1.79.1 (byte-identical
screenshot in light mode) |

## Checklist

- [x] I have read the [Contribution
Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md)
- [x] If the PR changes or adds functionality, I have updated the
relevant documentation
- [x] If the PR contains a breaking change, the title has `!` (for
example `feat(react-core)!: ...`) and the description has a `BREAKING
CHANGE:` line with migration steps. See
[VERSIONING.md](https://github.com/CopilotKit/CopilotKit/blob/main/VERSIONING.md)
(not a breaking change)
- [x] "Allow edits by maintainers" is checked (lets us help iterate on
your PR directly — faster turnaround for everyone)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Chat labels can now be customized across Angular, React, and Vue for
reasoning status, slash-command menus, attachment controls, modal
buttons, and sidebar accessibility names.
* Reasoning headers can access elapsed reasoning time to create
localized labels.
  * Default labels are provided when custom labels are not set.
* **Documentation**
* Updated configuration references and customization guides to cover the
new labels and elapsed-time information.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

🚀 Feature Request: Allow customizing the "Add attachments" tooltip in CopilotChat

2 participants