Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

feat: replace accept checkmark icon with Accept button in notifications (#5685)

Oleg Isonen7120443088ea
diff --git a/apps/builder/app/shared/notifications/notification-popover.tsx b/apps/builder/app/shared/notifications/notification-popover.tsx
index 9a3433e8b6..6eaef396c2 100644
--- a/apps/builder/app/shared/notifications/notification-popover.tsx
+++ b/apps/builder/app/shared/notifications/notification-popover.tsx
@@ -3,6 +3,7 @@ import { useRevalidator } from "@remix-run/react";
import { useStore } from "@nanostores/react";
import {
Box,
+ Button,
Flex,
IconButton,
List,
@@ -19,12 +20,7 @@ import {
theme,
toast,
} from "@webstudio-is/design-system";
-import {
- BellIcon,
- BellDotIcon,
- CheckMarkIcon,
- XIcon,
-} from "@webstudio-is/icons";
+import { BellIcon, BellDotIcon, XIcon } from "@webstudio-is/icons";
import { nativeClient } from "~/shared/trpc/trpc-client";
import { $notifications, refreshNotifications } from "./subscription";
import type { Notifications } from "~/shared/polly/types";
@@ -79,15 +75,9 @@ const NotificationRow = ({
{notification.description}
</Text>
<Flex gap="1" shrink={false}>
- <Tooltip content="Accept">
- <IconButton
- aria-label="Accept"
- onClick={onAccept}
- disabled={isLoading}
- >
- <CheckMarkIcon />
- </IconButton>
- </Tooltip>
+ <Button color="neutral" onClick={onAccept} disabled={isLoading}>
+ Accept
+ </Button>
<Tooltip content="Decline">
<IconButton
aria-label="Decline"