feat: add assigned badge to team event types (#27036)

* feat: add assigned badge to team event types

Add an 'Assigned' badge to Round Robin and Collective event types
when the current user is a host/participant of the event type.
This provides visibility to users without edit permissions that
they are included in the rotation.

Changes:
- Add isCurrentUserHost flag in getEventTypesFromGroup handler
- Display blue 'Assigned' badge in event types listing view
- Add i18n translation for 'assigned' text

Co-Authored-By: [email protected] <[email protected]>

* refactor: remove redundant isTeamEvent check for assigned badge

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
This commit is contained in:
devin-ai-integration[bot]and[email protected] authored and GitHub committed 2026-01-22 10:16:22 +01:00
1 parent 3b8b2299af
commit 2a98693dcd
3 files changed
+168 -321

No files matched your search

@@ -987,6 +987,7 @@
"url": "URL",
"hidden": "Hidden",
"readonly": "Read only",
"assigned": "Assigned",
"one_time_link": "One-time link",
"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.",