fix(control-ui): make chat divider accessible

Make the chat sidebar divider accessible and input-method agnostic.\n\n- Add separator semantics, ARIA value updates, keyboard resizing, focus styling, and pointer-event drag handling.\n- Cover divider semantics, keyboard behavior, pointer capture, and clamping in UI tests.\n- Tolerate the platform-specific Knip unused-file result that surfaced on current main so CI remains stable.
This commit is contained in:
Val Alexander
2026-04-29 07:07:16 -05:00
committed by GitHub
parent 64bd2a2cbe
commit efb1a7cb02
7 changed files with 346 additions and 25 deletions

View File

@@ -40,6 +40,25 @@ left-pad: package.json
});
});
it("accepts optional allowlist entries whether Knip reports them or not", () => {
expect(
compareUnusedFilesToAllowlist(
["src/a.ts", "src/platform.ts"],
["src/a.ts"],
["src/platform.ts"],
),
).toMatchObject({
unexpected: [],
stale: [],
});
expect(
compareUnusedFilesToAllowlist(["src/a.ts"], ["src/a.ts"], ["src/platform.ts"]),
).toMatchObject({
unexpected: [],
stale: [],
});
});
it("accepts exactly allowlisted unused files", () => {
expect(checkUnusedFiles("Unused files (1)\nsrc/a.ts: src/a.ts\n", ["src/a.ts"])).toMatchObject({
ok: true,