
Pedro CastroandMorgan
975fb21d86
feat(atoms): add ListEventTypes atom to enable event type management (#25047) (#25113)
* feat: add ListEventTypes atom (#25047)
* feat: add ListEventTypes atom for Platform (#25047)
- Add EventTypeListItem component in @calcom/features
- Add ListEventTypesPlatformWrapper with delete functionality
- Implement useAtomGetAllEventTypes hook
- Update backend to include slug, description, length
- Add 11 unit tests (65% coverage)
- Add 3 i18n keys
No breaking changes. Backward compatible.
* refactor(eventtypes): improve EventTypeListItem readability
- Extract EventTypeContent and EventTypeActions sub-components
- Add formatEventTypeDuration helper (90min → '1h 30m')
- Use Badge for duration display (consistency with EventTypeDescription)
- Use polymorphic Wrapper component (DRY)
- Add comprehensive tests
- Reduce main component size
Addresses @volnei feedback
* refactor: replace window.confirm with ConfirmationDialog
- Replace native window.confirm with ConfirmationDialogContent
- Update test mocks for Dialog components
- Fix HTML nesting (div instead of p for Badge container)
- Follows Cal.com pattern from AvailabilitySettings
Addresses @ThyMinimalDev feedback
* fix: add aria-label to options button for accessibility
* test: update getBulkEventTypes test to include new fields (description, slug, length)
* refactor: move EventTypeListItem to atoms package
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
2025-12-18 12:24:41 -03:00
..
2025-11-28 12:43:37 +00:00
2025-11-04 15:55:09 +00:00
2025-12-18 12:24:41 -03:00
2025-12-15 10:43:22 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-12-15 10:43:22 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-12-04 05:45:17 +00:00
2025-12-02 02:18:25 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-21 20:02:03 +01:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-07 14:42:29 +00:00
2025-10-07 15:12:22 +00:00
2025-09-24 22:20:49 +09:00
2025-11-25 17:32:28 -03:00
2025-11-20 18:02:18 +02:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-12-15 10:43:22 +00:00
2025-09-24 22:20:49 +09:00
2025-12-12 18:55:19 +00:00
2025-09-24 22:20:49 +09:00
2025-12-04 05:49:34 +00:00
2025-11-25 17:32:28 -03:00
2025-12-04 05:36:24 +00:00
2025-10-14 09:25:07 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-11-18 00:00:42 +02:00
2025-11-20 18:02:18 +02:00
2025-12-15 10:43:22 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-11-25 17:32:28 -03:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-12-18 09:36:22 +02:00
2025-11-11 23:56:51 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-11-28 09:14:06 +01:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-11-25 17:32:28 -03:00
2025-04-28 18:11:29 -03:00
2025-09-24 22:20:49 +09:00
2025-11-25 17:32:28 -03:00
2025-09-24 22:20:49 +09:00
2025-11-28 09:14:06 +01:00
2025-11-25 17:32:28 -03:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-11-11 14:21:10 +02:00
2025-09-24 22:20:49 +09:00
2025-12-11 11:31:59 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-21 20:02:03 +01:00
2022-06-24 09:38:17 -06:00
2022-06-24 09:38:17 -06:00
2025-09-12 19:02:17 +00:00
2025-12-09 17:56:20 +00:00
2025-12-09 17:56:20 +00:00
2025-12-02 02:18:25 +00:00
2025-12-02 02:18:25 +00:00
2025-12-02 02:18:25 +00:00
2025-12-02 02:18:25 +00:00
2025-12-02 02:18:25 +00:00
2023-10-10 09:46:04 +05:30
2025-12-02 02:18:25 +00:00
2023-08-24 13:38:15 -07:00
2024-05-31 16:07:09 +00:00
2024-12-04 15:07:30 +00:00
2025-09-12 19:02:17 +00:00
2025-09-08 08:38:46 -03:00
2023-10-03 11:52:19 -07:00
2025-03-05 14:58:02 -03:00
2025-11-07 10:50:00 +00:00
2025-11-20 18:02:18 +02:00
2025-12-01 09:14:05 +00:00
2023-12-20 13:29:23 -05:00
2023-08-29 11:32:20 +05:30
2023-04-26 12:03:34 +01:00
2023-10-10 09:46:04 +05:30
2025-10-10 07:11:46 -03:00
2025-09-06 09:39:26 -03:00
2025-09-06 09:39:26 -03:00
2025-12-01 14:04:24 +04:00
2025-09-24 22:20:49 +09:00
2025-08-28 10:05:36 -03:00
2025-10-09 14:02:12 +00:00
2025-09-19 10:16:56 -03:00
2025-03-03 15:53:28 -03:00
2025-09-14 12:51:05 +00:00
2025-11-21 15:51:23 +00:00
2025-11-21 15:51:23 +00:00
2025-09-12 19:02:17 +00:00
2025-09-12 05:57:09 -03:00