Commit Graph

399 Commits

Author SHA1 Message Date
lenhanphung 5ae838c425 UI/update sidebar (#480)
* update minicalendar

* update left sidebar

* chore: update twake-mui to version 1.1.4

- Update @linagora/twake-mui from local file to npm package 1.1.4
- Add margin to TempCalendarsInput section in sidebar
- Remove margin from PeopleSearch component (moved to parent)

* Changed wording on my calendars and event creation button

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-02-02 10:02:23 +01:00
Camille Moussu 0a8051870a [#469] fixed mail to attendees string (#484) 2026-01-30 15:51:04 +01:00
Camille Moussu 83fae6f1c2 [#448] added reconnection logic to websocket (#472)
* [#448] added reconnection logic to websocket

* [#448] added test

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-27 14:54:03 +01:00
Camille Moussu d966a9eb2f [FIX] fixed broken test after rebase (#485)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-01-27 14:38:26 +01:00
Camille Moussu dafac94aec [#449] added debounce for websocket updates (#476)
* [#449] added debounce for websocket updates

* [#449] changed behavior to have disableable debounce + changed debounced messages data storage to be handled by websocket Gate
2026-01-26 11:15:37 +01:00
Camille Moussu 1fc85e141e [#475] fixed calendars selection persistence (#479) 2026-01-26 11:14:42 +01:00
lenhanphung 7058f1c2d6 Feat/update login flow reload page (#467)
* update spacing event modal

* update spacing create calendar modal

* fix evenchip description color

* using variant instead of sx

* update login flow

* fix: add useEffect import back to Calendar.tsx
2026-01-26 11:13:26 +01:00
Camille Moussu 18c0ffb8bf [#471] updated package-lock to remove vulneb (#473) 2026-01-22 09:49:51 +01:00
Camille Moussu 00742119be [#446] removed direct state update (#468) 2026-01-21 15:17:49 +01:00
Camille Moussu 23d50f250d Refactor imports (#470) 2026-01-20 17:33:30 +01:00
lenhanphung aeb8670895 UI/update global UI (#459)
* Update loading screen to use Lottie animation

- Replace simple logo with Lottie animation from loadercalendar.lottie
- Center animation on screen with full viewport coverage
- Set animation width to 175px
- Install @lottiefiles/dotlottie-react package

* update spacing event modal

* add twake workplace logo to loading screen

* update spacing create calendar modal

* fix evenchip description color

* using variant instead of sx
2026-01-20 09:14:03 +01:00
Camille Moussu 00c3c0d6f0 444 use websocket to trigger reloads (#458)
* [#444] added refresh on sync token calendar update

* [#444] added refresh on register and tests

* [#444] extracted logic for useEffects and updates

* [#444] refactored code structure to use absolute paths
2026-01-19 09:09:23 +01:00
lenhanphung 80110bdf52 #461 Fix color picker for calendar modify modal (#462) 2026-01-15 15:38:46 +01:00
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