diff --git a/apps/web/playwright/icons.e2e.ts b/apps/web/playwright/icons.e2e.ts index ab68bf289e..834304fe0d 100644 --- a/apps/web/playwright/icons.e2e.ts +++ b/apps/web/playwright/icons.e2e.ts @@ -2,9 +2,15 @@ import { expect } from "@playwright/test"; import { test } from "./lib/fixtures"; -test("Icons render properly", async ({ page }, testInfo) => { +// Set a consistent viewport size across all environments +test.use({ + viewport: { width: 1265, height: 1320 }, // Match the expected dimensions +}); + +test("Icons render properly", async ({ page }) => { await page.goto("/icons"); await expect(page).toHaveScreenshot("icons.png", { + maxDiffPixelRatio: 0.05, fullPage: true, }); }); diff --git a/apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web-linux.png b/apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web-linux.png index f718f515b1..21ae38f8c4 100644 Binary files a/apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web-linux.png and b/apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web-linux.png differ diff --git a/apps/web/public/icons/sprite.svg b/apps/web/public/icons/sprite.svg index 58ec216eb8..949437c333 100644 --- a/apps/web/public/icons/sprite.svg +++ b/apps/web/public/icons/sprite.svg @@ -596,6 +596,11 @@ + + + + + diff --git a/packages/features/ee/organizations/pages/settings/attributes/attributes-list-view.tsx b/packages/features/ee/organizations/pages/settings/attributes/attributes-list-view.tsx index 00caf04f7c..408c9f9701 100644 --- a/packages/features/ee/organizations/pages/settings/attributes/attributes-list-view.tsx +++ b/packages/features/ee/organizations/pages/settings/attributes/attributes-list-view.tsx @@ -157,7 +157,7 @@ function OrganizationAttributesPage() { ) : (
- +

{t("add_attributes")} diff --git a/packages/ui/components/icon/icon-list.mjs b/packages/ui/components/icon/icon-list.mjs index 0c32fea285..c8513f1ed7 100644 --- a/packages/ui/components/icon/icon-list.mjs +++ b/packages/ui/components/icon/icon-list.mjs @@ -119,6 +119,7 @@ export const lucideIconList = new Set([ "sun", "sunrise", "sunset", + "tags", "terminal", "trash-2", "trash", diff --git a/packages/ui/components/icon/icon-names.ts b/packages/ui/components/icon/icon-names.ts index 3f11b3f77d..a08e8f9041 100644 --- a/packages/ui/components/icon/icon-names.ts +++ b/packages/ui/components/icon/icon-names.ts @@ -120,6 +120,7 @@ export type IconName = | "sun" | "sunrise" | "sunset" + | "tags" | "terminal" | "trash-2" | "trash"