feat(webui): unify icons and refine interaction feedback (#6074)
* feat(webui): unify product icons and refine interaction feedback * test(webui): align layout and tooltip expectations with icon refresh * test(webui): verify temporary chat uses shared icon controls * fix(webui): toggle workspace access directly and restore send arrow * fix(webui): keep the send control circular * fix(webui): clear workspace toggle background on pointer leave * test(webui): isolate GitHub navigation in star prompt tests * test(webui): prevent external default navigation during star link clicks
This commit is contained in:
1 parent
9dc0abae4f
commit
63bdd40280
59 files changed
+615
-505
No files matched your search
@@ -413,7 +413,7 @@ describe("PaneWorkbench", () => {
|
||||
expect(screen.queryByTestId("workbench-pane-gamma")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("explains why the desktop add-pane control is disabled", () => {
|
||||
it("explains why the desktop add-pane control is disabled", async () => {
|
||||
render(
|
||||
<PaneWorkbench
|
||||
panes={[{ key: "alpha", title: "Alpha" }]}
|
||||
@@ -430,8 +430,11 @@ describe("PaneWorkbench", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(screen.getByRole("button", { name: "Add pane" }))
|
||||
.toHaveAttribute("title", "Maximum 4 panes");
|
||||
const addPane = screen.getByRole("button", { name: "Add pane" });
|
||||
expect(addPane).toBeDisabled();
|
||||
expect(addPane).not.toHaveAttribute("title");
|
||||
fireEvent.pointerMove(addPane.parentElement!, { pointerType: "mouse" });
|
||||
expect(await screen.findByRole("tooltip")).toHaveTextContent("Maximum 4 panes");
|
||||
});
|
||||
|
||||
it("fills the workbench through alternating binary splits", () => {
|
||||
|
||||
Reference in new issue
Block a user