From 4aebf65b894b995a3cd16d0ec53a5554b4b3fb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Mon, 11 May 2026 14:56:34 +0400 Subject: [PATCH] ui: stop importing phosphor icons with bare-name aliases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a rule to contrib/claude/ui.md requiring the Icon-suffixed exports (e.g. EyeIcon) instead of aliased bare names (Eye as IconEye), and fix TrackerResourceRow to follow it. Signed-off-by: Émile Ré --- .../resources/_components/TrackerResourceRow.tsx | 5 ++--- contrib/claude/ui.md | 12 ++++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/resources/_components/TrackerResourceRow.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/resources/_components/TrackerResourceRow.tsx index b6b4dad5c..c1dfba6be 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/resources/_components/TrackerResourceRow.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/resources/_components/TrackerResourceRow.tsx @@ -12,7 +12,7 @@ // OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -import { Eye as IconEye, EyeSlash as IconEyeSlash } from "@phosphor-icons/react"; +import { EyeIcon, EyeSlashIcon } from "@phosphor-icons/react"; import { formatError, type GraphQLError } from "@probo/helpers"; import { useTranslate } from "@probo/i18n"; import { @@ -54,7 +54,6 @@ const trackerResourceFragment = graphql` description excluded lastDetectedAt - updatedAt } `; @@ -352,7 +351,7 @@ export function TrackerResourceRow({ resourceKey, connectionId }: TrackerResourc className="p-1 rounded cursor-pointer" title={resource.excluded ? __("Include") : __("Exclude")} > - {resource.excluded ? : } + {resource.excluded ? : }