feat(ui): clarification des contrôles d'en-tête DockControls (#42)
Refinement UX suite #26 : clarifie les contrôles DockControls dans l'en-tête des panneaux. Frontend-pur. QA vert : tsc --noEmit exit 0, vitest 62 fichiers / 616 tests passés. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -68,7 +68,7 @@ describe("ProjectsView view docking (#22)", () => {
|
||||
expect(dialog).toBeTruthy();
|
||||
|
||||
// Dock it to the left via the header control.
|
||||
fireEvent.click(within(dialog).getByRole("button", { name: "dock Git left" }));
|
||||
fireEvent.click(within(dialog).getByRole("button", { name: "Ancré à gauche — Git" }));
|
||||
|
||||
// The modal window is gone; the Git view now lives in the left dock column.
|
||||
await waitFor(() =>
|
||||
@ -85,13 +85,13 @@ describe("ProjectsView view docking (#22)", () => {
|
||||
|
||||
openPanelFloating("Git");
|
||||
const dialog = await screen.findByRole("dialog", { name: "Git" });
|
||||
fireEvent.click(within(dialog).getByRole("button", { name: "dock Git left" }));
|
||||
fireEvent.click(within(dialog).getByRole("button", { name: "Ancré à gauche — Git" }));
|
||||
|
||||
const leftDock = await screen.findByRole("complementary", { name: "left dock" });
|
||||
const leftHeader = within(leftDock).getByLabelText("Git panel");
|
||||
// Move it to the right dock from the docked header control.
|
||||
fireEvent.click(
|
||||
within(leftHeader).getByRole("button", { name: "dock Git right" }),
|
||||
within(leftHeader).getByRole("button", { name: "Ancré à droite — Git" }),
|
||||
);
|
||||
|
||||
await waitFor(() =>
|
||||
@ -109,7 +109,7 @@ describe("ProjectsView view docking (#22)", () => {
|
||||
fireEvent.click(
|
||||
within(await screen.findByRole("dialog", { name: "Git" })).getByRole(
|
||||
"button",
|
||||
{ name: "dock Git left" },
|
||||
{ name: "Ancré à gauche — Git" },
|
||||
),
|
||||
);
|
||||
// Dock Agents right.
|
||||
@ -117,7 +117,7 @@ describe("ProjectsView view docking (#22)", () => {
|
||||
fireEvent.click(
|
||||
within(await screen.findByRole("dialog", { name: "Agents" })).getByRole(
|
||||
"button",
|
||||
{ name: "dock Agents right" },
|
||||
{ name: "Ancré à droite — Agents" },
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user