Polish issue chat actions and overflow

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-04-06 11:43:45 -05:00
parent f593e116c1
commit 8ada49f31b
2 changed files with 42 additions and 22 deletions

View file

@ -51,12 +51,15 @@ vi.mock("./MarkdownEditor", () => ({
MarkdownEditor: ({
value = "",
onChange,
placeholder,
}: {
value?: string;
onChange?: (value: string) => void;
placeholder?: string;
}) => (
<textarea
aria-label="Issue chat editor"
placeholder={placeholder}
value={value}
onChange={(event) => onChange?.(event.target.value)}
/>
@ -158,6 +161,7 @@ describe("IssueChatThread", () => {
const editor = container.querySelector('textarea[aria-label="Issue chat editor"]') as HTMLTextAreaElement | null;
expect(editor).not.toBeNull();
expect(editor?.placeholder).toBe("Reply");
act(() => {
const valueSetter = Object.getOwnPropertyDescriptor(