fix(webui): align automation styling with settings pages
Reuse the Channels search styling and segmented filters, and bring the Skills catalog surface, typography, and compact row spacing to Automations so the feature pages share a consistent visual language. Preserve task dialogs, disclosure motion, search and sort behavior, and the deletion focus regression coverage.
This commit is contained in:
1 parent
5b2f21c431
commit
092410d3f2
3 files changed
+142
-138
No files matched your search
@@ -241,7 +241,7 @@ describe("Settings system domains", () => {
|
||||
renderSettingsView({ initialSection: "automations", initialSettings: settingsPayload(), showSidebar: false });
|
||||
|
||||
const filters = await screen.findByRole("group", { name: "Automations" });
|
||||
expect(filters).toHaveClass("flex-wrap");
|
||||
expect(within(filters).getByRole("button", { name: "All 1" }).parentElement).toHaveClass("segmented-control", "flex-wrap");
|
||||
expect(within(filters).getAllByRole("button")).toHaveLength(4);
|
||||
expect(within(filters).getByRole("button", { name: "All 1" })).toHaveAttribute("aria-pressed", "true");
|
||||
expect(within(filters).queryByRole("button", { name: /System/ })).not.toBeInTheDocument();
|
||||
|
||||
Reference in new issue
Block a user