chore: v3 fixed filters, new profile view (#19312)

* fixed filters with badge

* aligned recurrence in bookings

* removed new badge

* new profile view

* fixed try for free button

* fixed form input
This commit is contained in:
Peer Richelsen authored and GitHub committed 2025-02-18 12:23:30 +00:00
1 parent 47435c36ff
commit 4a493c0a0e
7 files changed
+17 -19

No files matched your search

@@ -20,14 +20,16 @@ export function FilterToggle({ setIsFiltersVisible }: FilterToggleProps) {
return (
<Button color="secondary" onClick={toggleFiltersVisibility} className="mb-4" StartIcon="filter">
<Tooltip content={t("filters")}>
<div className="mx-2">{t("filters")}</div>
</Tooltip>
{(teamIds || userIds || eventTypeIds) && (
<Badge variant="gray" rounded>
{(teamIds ? 1 : 0) + (userIds ? 1 : 0) + (eventTypeIds ? 1 : 0)}
</Badge>
)}
<div className="flex items-center">
<Tooltip content={t("filters")}>
<div className="mx-2">{t("filters")}</div>
</Tooltip>
{(teamIds || userIds || eventTypeIds) && (
<Badge variant="gray" rounded>
{(teamIds ? 1 : 0) + (userIds ? 1 : 0) + (eventTypeIds ? 1 : 0)}
</Badge>
)}
</div>
</Button>
);
}
@@ -9,7 +9,6 @@ import {
} from "@calcom/features/ee/organizations/context/provider";
import { KBarTrigger } from "@calcom/features/kbar/Kbar";
import { classNames } from "@calcom/lib";
import { Badge } from "@calcom/ui";
import { TeamInviteBadge } from "../TeamInviteBadge";
import type { NavigationItemType } from "./NavigationItem";
@@ -92,8 +91,6 @@ const getNavigationItems = (orgBranding: OrganizationBranding): NavigationItemTy
name: "routing",
href: "/routing",
icon: "split",
badge: <Badge variant="green">NEW</Badge>,
isCurrent: ({ pathname }) => pathname?.startsWith("/routing") ?? false,
moreOnMobile: true,
},