feat/add-tooltip-to-assigned-badge (#27262)

This commit is contained in:
Dhairyashil Shinde authored and GitHub committed 2026-01-26 22:43:13 +00:00
1 parent 43d05f4426
commit 17cc9358d7
2 files changed
+11 -6

No files matched your search

@@ -214,9 +214,11 @@ const Item = ({
</Badge> </Badge>
)} )}
{showAssignedBadge && ( {showAssignedBadge && (
<Badge variant="blue" className="ml-2" data-testid="assigned-badge"> <Tooltip content={t("you_are_assigned_to_this_event")}>
{t("assigned")} <Badge variant="blue" className="ml-2" data-testid="assigned-badge">
</Badge> {t("assigned")}
</Badge>
</Tooltip>
)} )}
</div> </div>
); );
@@ -256,9 +258,11 @@ const Item = ({
</Badge> </Badge>
)} )}
{showAssignedBadge && ( {showAssignedBadge && (
<Badge variant="blue" className="ml-2" data-testid="assigned-badge"> <Tooltip content={t("you_are_assigned_to_this_event")}>
{t("assigned")} <Badge variant="blue" className="ml-2" data-testid="assigned-badge">
</Badge> {t("assigned")}
</Badge>
</Tooltip>
)} )}
</div> </div>
<EventTypeDescription <EventTypeDescription
@@ -1001,6 +1001,7 @@
"hidden": "Hidden", "hidden": "Hidden",
"readonly": "Read only", "readonly": "Read only",
"assigned": "Assigned", "assigned": "Assigned",
"you_are_assigned_to_this_event": "You are assigned to this event",
"one_time_link": "One-time link", "one_time_link": "One-time link",
"plan_description": "You're currently on the {{plan}} plan.", "plan_description": "You're currently on the {{plan}} plan.",
"plan_upgrade_invitation": "Upgrade your account to the PRO plan to unlock all of the features we have to offer.", "plan_upgrade_invitation": "Upgrade your account to the PRO plan to unlock all of the features we have to offer.",