Commit Graph

386 Commits

Author SHA1 Message Date
Camille Moussu 2fa8a7f16a [#451] added websocket connexion (#453)
* [#451] added websocket connexion

* [#451] added tests

* [#451] add missing cleanup for web socket causing memory leaks
2026-01-14 15:17:29 +01:00
lenhanphung 8b3afc1737 - Replace avatar image from API with gradient avatar from twake-mui (#457)
- Display 2-letter initials (e.g., "JD" for "John Doe") instead of single letter
- Add getInitials helper function in avatarUtils for reusability
- Update Avatar in PeopleSearch, CalendarSearch, and Menubar components
- Remove avatarUrl prop usage across all Avatar components
2026-01-13 14:44:42 +01:00
lenhanphung 00266d2701 [#452] UI/update event extend mode (#454)
* Update event modal extend mode UI consistency

- Fix label font-size and fontWeight in extended mode to match normal mode
- Replace Lock icon with LockOutline icon for visibility toggle buttons
- Add displayEmpty prop to notification select to show default value

* Replace video icon with outlined variant for consistency

- Update VideocamIcon to VideocamOutlinedIcon in event form fields
- Update VideocamIcon to VideocamOutlinedIcon in event preview modal
2026-01-13 14:39:40 +01:00
lenhanphung 2482e9f957 Fix button style, button type (#450) 2026-01-13 11:36:10 +01:00
Camille Moussu aaaa2599ed [chores] updated packages to fix vulerability (#456) 2026-01-13 11:08:26 +01:00
Camille Moussu 478a0e0eb0 405 back reload token with synctokens (#436)
* [#405] added syncToken in calendar params and fetch with sync token

* [#405] changed reload to work with sync-token

* [#405] fixup promise handling, added calendar adding and removing hanlding with refresh

* [#405]  fixed event expansion calls

* [#405 & refactor] added helperfunction to get base event uid + refactored synctoken updates management

* [#405] added pMap lib to process event expansion

* [#405] added flag for no synctoken / new synctoken
2026-01-13 11:06:34 +01:00
Camille Moussu bcc3019e4b Revert "[#451] added websocket connexion"
This reverts commit 47525a5e21.
2026-01-12 09:25:23 +01:00
Camille Moussu 47525a5e21 [#451] added websocket connexion 2026-01-09 16:24:13 +01:00
lenhanphung 54af9a8e81 Merge pull request #435 from linagora/feat/migration-twake-ui
Feat/migration twake UI
2026-01-08 13:50:00 +07:00
lenhanphung 994ea1c45e fix url endcoding 2026-01-08 13:31:13 +07:00
Rene Cordier ecc844de0a Update Jenkinsfile for npm auth with github package registry 2026-01-08 11:42:11 +07:00
lenhanphung aa9920dbbb roll back translate and add translate key 2026-01-08 11:42:10 +07:00
lenhanphung 24f8895baa Update avatar component 2026-01-08 11:41:38 +07:00
lenhanphung 462ad6d250 chore: update twake-mui dependency and use radius.lg for create event button 2026-01-08 11:41:37 +07:00
lenhanphung 5f0479e34a implement twake mui 2026-01-08 11:40:40 +07:00
Camille Moussu 9ff75056c7 [#397 bis] added participation management on event from thunderbird (#432)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-01-07 11:45:17 +01:00
Camille Moussu e59d878e6c [#419] removed duplicate adornment and ugly padding (#428)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-01-05 11:48:05 +01:00
Camille Moussu 6839353f34 [#418] improved retry logic to prevent loading loop (#427)
* [#418] improved retry logic to prevent loading loop

* [#418] added FullJitter algorithm

Co-authored-by: Benoit TELLIER <btellier@linagora.com>
2025-12-19 12:24:34 +01:00
Camille Moussu 90d6058b0f [#425] Event title modification of all day event alter event dates (#431)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-18 09:09:02 +01:00
Camille Moussu 403517e827 [#430] removed red from canceled event icon (#433) 2025-12-17 22:13:38 +01:00
lenhanphung a935d2bc43 372 drag and drop multiple days event to use normal mode instead of extended mode (#407)
- When dragging from allday slot: open normal mode with allday checked, show start date and end date
- When dragging from week/month view grid: open normal mode with allday checked, show 4 fields (start date, start time, end date, end time)
- Update DateTimeFields logic to support displaying time fields when allday=true and hasEndDateChanged=true for multiple days events

Add setHasEndDateChanged(false) to resetAllStateToDefault function to prevent stale state when:
- User creates multi-day event from grid (sets hasEndDateChanged = true)
- Closes the modal
- Opens modal again for a single-day event

This ensures hasEndDateChanged is properly reset to false when modal is closed or reset.

Fix drag and drop logic: keep allday=false when dragging from week view

- Remove setAllDay(true) when dragging multiple days from week view grid
- Keep allday=false to show time fields for week view drag scenarios
- Add comprehensive test cases for drag and drop scenarios
- Test cases cover allday slot and week view drag scenarios
- Prevent regressions with test coverage for display logic
2025-12-17 10:28:11 +01:00
Camille Moussu 89103b5787 [#420] passed a new param to people search to customize slotprops (#424)
* [#420] passed a new param to people search to customize slotprops

* Added back function lost in rebase

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-17 07:29:01 +01:00
Camille Moussu a28f41fab9 [#415] added keyword field highligh on empty search (#423)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-16 14:09:09 +01:00
Camille Moussu 1a60850637 [#378] addressed code rabbit out of scope comments (#422)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-16 14:06:16 +01:00
Camille Moussu c81153a119 [#523] changed search bar to work like an autocomplete (#406)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-15 22:10:17 +01:00
Benoit TELLIER f413bd832b DRY - PeopleSearch onKeyDown: handleEnterKey 2025-12-15 15:33:07 +01:00
Benoit TELLIER 071c04654e Apply @Crash comment to avoid boolean flags 2025-12-15 15:33:07 +01:00
Benoit TELLIER 2494a558a6 Address nitpicks 2025-12-15 15:33:07 +01:00
lenhanphung 627e9bf44b feat(DateTimeFields): implement free typing time input with dropdown
- Replace default TimePicker field with custom EditableTimeField
- Allow free typing with multiple formats (HH:mm, HHmm, H, etc.)
- Show dropdown on click while maintaining typing capability
- Center-align time input text
2025-12-15 15:33:07 +01:00
lenhanphung 12776d36a4 Add small prop to PeopleSearch components for reduced height
- Add small prop support to PeopleSearch component
- Pass small prop to PeopleSearch in AttendeeSearch
- Use small prop in EventFormFields Participants field
- Use small prop in TempCalendarsInput for left sidebar
2025-12-15 15:33:07 +01:00
Lê Nhân Phụng 1347583e9a Update DateTimeFields: improve UI layout and adjust time change logic
- Add separator '-' between start time and end time in normal mode
- Fix layout logic: keep single row for allday events in normal mode
- Remove auto-adjustment of start time when end time changes
- Update test case to match new behavior
2025-12-15 15:33:07 +01:00
Lê Nhân Phụng a541111f88 test: add delay wait for TimePicker handler in test case
- Add 150ms delay wait after time input change to ensure handler completes
- Fixes test case that was failing due to 0.1s delay in handleStartTimeChangeWithClose
2025-12-15 15:33:07 +01:00
Lê Nhân Phụng 8b88faffe2 feat: remove labels from date/time fields and auto-close TimePicker dropdown
- Remove label prop from all DatePicker and TimePicker components
- Add aria-label to inputProps for accessibility and testing
- Auto-close TimePicker dropdown when selecting an option
- Add 0.1s delay before calling time change handlers after closing dropdown
- Add test case to verify aria-label attributes
2025-12-15 15:33:07 +01:00
Lê Nhân Phụng e4d3722992 feat: update TimePicker to single column with 30-minute steps 2025-12-15 15:33:07 +01:00
Lê Nhân Phụng c885d18fb5 feat(ui): update TimePicker behavior to hide icon and open on text click 2025-12-15 15:33:07 +01:00
Lê Nhân Phụng 3025672b49 feat: make date fields read only 2025-12-15 15:33:07 +01:00
Camille Moussu d68b4146d3 [#397] Consider the calendar owner as the organizer when no organizer (#416)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-12 18:00:27 +01:00
Camille Moussu 1de59f3794 [#408] added ordering priority to personnal event (#413)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-12 17:58:48 +01:00
Camille Moussu 22d674c6b5 [#4180] added support for instant event (#417)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-12 17:33:33 +01:00
lenhanphung 6161e295ce Improve: #368 error message when user has no public calendars (#412)
- Add translation key 'userDoesNotHavePublicCalendars' to all locale files (en, fr, vi, ru)
- Update ErrorSnackbar to support translation keys in error messages with params
- Update getTempCalendarsListAsync to throw error with translation key format instead of hardcoded message
- Error message now displays user-friendly translated text: '{User Name} does not have public calendars'
2025-12-12 17:32:36 +01:00
Camille Moussu aa7d032aef [#367] added custom placeholder to people search (#411)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-11 18:56:46 +01:00
Camille Moussu f863bb8194 394 search block empty field search on enter (#401)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-11 18:35:59 +01:00
Camille Moussu a4b4f6d11c [#384] added visio join button (#403)
* [#384] added visio join button
2025-12-11 11:42:07 +01:00
Camille Moussu e8b1b72901 [#341] added show week number toggle (#399)
* [#341] added show week number toggle
2025-12-11 11:41:38 +01:00
Camille Moussu 3cb445ea79 [#340] show declined event in settings (#398)
* [#340] show declined event in settings


Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-09 11:11:20 +01:00
Camille Moussu 2f2ee369fc [#525] adopted twake-i18n (#404)
* [#525] adopted twake-i18n 

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-09 11:10:44 +01:00
lenhanphung a5093f3fc4 feat: #524 implement logo click navigation to current week view (#402)
- Add logo click handler to navigate to current week view from any view (month, day, or week)
- Update MainTitle component to accept calendarRef and view change callbacks
- Implement handleLogoClick that changes view to week and navigates to current week
- Add comprehensive test cases for logo click behavior from all view types

Co-authored-by: Lê Nhân Phụng <lenhanphung@Phung-Mac-M4.local>
2025-12-09 11:08:25 +01:00
lenhanphung bd33a93040 feat: #339 Add email notification toggle setting and update tests (#387) 2025-12-08 10:54:24 +01:00
Camille Moussu 1056220719 [#339] added API calls to timezone selectors (#396)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-07 07:43:00 +01:00
Camille Moussu 7567bfbd7b [#385] added reccuring icons (#400)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-07 07:42:17 +01:00