Skip to content

Commit 049a178

Browse files
authored
refactor(ui): split chat composer (#113338)
* refactor(ui): split chat composer * refactor(ui): align composer split ownership * test(ui): clarify custom combobox inventory
1 parent 4e9cba2 commit 049a178

14 files changed

Lines changed: 2657 additions & 2449 deletions

‎config/max-lines-baseline.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ ui/src/pages/chat/chat-state.ts
10791079
ui/src/pages/chat/chat-thread.test.ts
10801080
ui/src/pages/chat/chat-thread.ts
10811081
ui/src/pages/chat/chat-view.test.ts
1082-
ui/src/pages/chat/components/chat-composer.ts
10831082
ui/src/pages/chat/components/chat-message.test.ts
10841083
ui/src/pages/chat/components/chat-message.ts
10851084
ui/src/pages/chat/components/chat-model-controls.ts

‎ui/src/components/web-awesome-migration.node.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ describe("Web Awesome control ownership", () => {
4545

4646
it("limits custom comboboxes to dynamic suggestion surfaces", async () => {
4747
// Web Awesome Core has no combobox; its combobox is a paid Pro component.
48+
// This inventory tracks literal ARIA roles, not Web Awesome elements that own roles internally.
4849
expect(await matchingFiles(/<[a-z][^>]*\srole=["'](?:combobox|listbox|option)["']/u)).toEqual([
4950
"components/command-palette.ts",
50-
"pages/chat/components/chat-composer.ts",
51+
"pages/chat/components/chat-composer-slash-menu.ts",
5152
"pages/chat/components/chat-model-controls.ts",
5253
]);
5354
});

‎ui/src/i18n/.i18n/raw-copy-baseline.json‎

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)