Commit Graph

150 Commits

Author SHA1 Message Date
lenhanphung ae52f88faf fix(CalendarSelection): keep hook order stable by moving useState before conditional return in CalendarAccordion 2025-09-19 14:21:52 +07:00
lenhanphung b049158c4e fix: resolve merge conflict and format code 2025-09-19 13:40:02 +07:00
lenhanphung 7d46aef1fa test: add edge case tests for Menubar and eventUtils
- Add comprehensive edge case tests for Menubar avatar display logic
- Add timezone fallback edge case tests for eventUtils
- Cover null/undefined/empty string scenarios for user data
- Cover invalid/missing timezone scenarios with UTC fallback
- Ensure robust error handling and graceful degradation
2025-09-19 13:40:02 +07:00
lenhanphung a053318bc0 style: fix prettier formatting issues
- Fix formatting in Calendar.css, Calendar.tsx
- Fix formatting in Menubar.tsx
- Fix formatting in eventUtils.ts
2025-09-19 13:40:02 +07:00
lenhanphung 127417e154 fix(menubar): improve user avatar display logic
- Add null safety checks for user object
- Use optional chaining for safer property access
- Add fallback for empty email/name values
2025-09-19 13:40:02 +07:00
lenhanphung 0d662358cd fix: add timezone fallback for event creation
- Fix timezone lookup error in calendarEventToJCal
- Add UTC fallback when timezone not found
2025-09-19 13:40:02 +07:00
lenhanphung c701fadcf4 Update css for main calendar - week layout 2025-09-19 13:40:02 +07:00
lenhanphung cddebad9b7 resolve conflict 2025-09-19 13:40:02 +07:00
Camille Moussu 8a7d2f742a calendar list display improvments (#115)
* [#60] added collapsible groups

* [#60] factorized code and fixed tests

* fixup! [#60] added collapsible groups

* fixup! [#60] added collapsible groups

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-18 18:01:08 +02:00
Camille Moussu b8cef20b9e [fix] added missing import for openpaas id and calendars (#120)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-17 17:16:47 +02:00
Camille Moussu f640cac8ac update cal details (#113)
* [#65] added button to access cal details

* [#65] added proppatch call

* [#65] added tests

* fixup! [#65] added proppatch call

* [#65] added trimming to name and desc

* fixup! [#65] added proppatch call

* fixup! [#65] added proppatch call

* fixup! [#65] added proppatch call

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-17 15:05:27 +02:00
Camille Moussu 5522673342 remove user mail from mail list when sending mail to attendees (#110)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-15 17:17:54 +02:00
lenhanphung 72cd8c6597 Merge pull request #112 from linagora/fix/auth-flow
fix(auth): preserve session on reload and correct 401 redirect flow
2025-09-15 16:46:42 +07:00
Camille Moussu 2a84eba84b [#64] fixed css and empty name bug 2025-09-15 10:25:39 +02:00
Camille Moussu b6f8097769 [#64] added missing test file 2025-09-15 10:25:39 +02:00
Camille Moussu 06984ded1a [#64] added tests and fixed broken ones 2025-09-15 10:25:39 +02:00
Camille Moussu 9d43c15ee0 [#64] added creation modal to list and api call 2025-09-15 10:25:39 +02:00
Camille Moussu d1140a47b2 [#104] added css to make long title prettier (#111)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-15 10:24:37 +02:00
lenhanphung a4394e6a25 fix(auth): preserve session on reload and correct 401 redirect flow
- Save PKCE params to sessionStorage.redirectState on 401 instead of overwriting tokenSet

- Persist userData in sessionStorage after OIDC callback for later hydration

- Hydrate Redux (tokens + userData) from sessionStorage on app start to avoid forced re-login

- Keep SPA single route '/' behavior unchanged; only improves auth robustness

Files: src/utils/apiUtils.ts, src/features/User/LoginCallback.tsx, src/features/User/HandleLogin.tsx
2025-09-15 11:46:20 +07:00
Camille Moussu d76775c7d2 [#106] added prettier check to jenkins and prettified files (#109)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-12 11:05:52 +02:00
Camille Moussu 3b87965bed Merge pull request #102 from linagora/72-event-action-duplicate-event
72 event action duplicate event
2025-09-11 18:29:58 +02:00
Camille Moussu 3f683cad2f [#72] removed unused import 2025-09-11 18:23:00 +02:00
Camille Moussu 7b5e03ac7e [#72] show event duplicator in the event preview 2025-09-11 18:22:59 +02:00
Camille Moussu 48c17b1a0f [#72] removed debug tools from test 2025-09-11 18:22:11 +02:00
Camille Moussu 1a086e9384 [#72] added tests 2025-09-11 18:22:11 +02:00
Camille Moussu 8f2277b278 [#72] added duplicate button and fixed tests broken by new interaction between components 2025-09-11 18:22:11 +02:00
Camille Moussu 2291e64731 Merge pull request #103 from linagora/73-event-action-mail-to-attendees
73 event action mail to attendees
2025-09-11 18:21:18 +02:00
Camille Moussu cd2504fb4c Merge pull request #105 from linagora/63-button-to-reload-the-calendar
reload button
2025-09-11 14:57:20 +02:00
Camille Moussu 4b31d34414 [#63] added reload button and corresponding tests 2025-09-11 14:42:38 +02:00
Camille Moussu e486c9637e [#73] added tests 2025-09-11 12:19:17 +02:00
Camille Moussu 61ca0ce198 [#73] added button to send mail 2025-09-11 11:41:31 +02:00
ducdonghiem 4b71a6e3c7 ISSUE-91 add lock icon indication for private events (#98) 2025-09-11 09:17:54 +02:00
Camille Moussu fbf4cf418c Merge pull request #100 from linagora/92-manage-event-trnsparency
manage transparency
2025-09-10 11:38:06 +02:00
Camille Moussu 24c6788c2c [#92] added free busy and missing tests 2025-09-09 17:19:27 +02:00
Camille Moussu 8eaee8bbda Merge pull request #99 from linagora/78-add-valarm-support
Add valarm support
2025-09-09 15:58:28 +02:00
DNgMinh 54709ac994 Set calendar week to start on Monday (#94) 2025-09-09 15:35:39 +02:00
Camille Moussu 3e9530a0a5 [#78] fixed undefined email 2025-09-09 14:52:51 +02:00
Camille Moussu 3d48cd7fd7 [#78] fixed f5 update 2025-09-09 11:53:13 +02:00
Camille Moussu 94a18dd845 [#78] added tests 2025-09-09 11:53:13 +02:00
Camille Moussu b87b77beef [#78] added valarm support 2025-09-09 11:53:12 +02:00
Camille Moussu 18413ab203 Merge pull request #95 from linagora/77-implement-complex-repetition-ui
implement complex repetition ui
2025-09-09 11:50:37 +02:00
Camille Moussu 6562351a2f [#77] blocked resize and DnD on recurring events 2025-09-09 11:48:43 +02:00
Camille Moussu 37ab51784c [#77] added event start day selected by default when repetition is set to weekly 2025-09-08 11:23:24 +02:00
Camille Moussu 353d6761b4 [#77] event date modification doesnt duplicate anymore 2025-09-08 09:37:01 +02:00
Camille Moussu 2f071303de [#77] fixed delete refresh issue and added more tests 2025-09-05 16:41:05 +02:00
Camille Moussu 0549a77d92 [#77] fixed when getEventAsync is dispatched to prevent missing data 2025-09-05 13:07:51 +02:00
Camille Moussu 8efeea8102 [#77] added tests and fixed bug 2025-09-05 12:36:58 +02:00
Camille Moussu 6de3280851 [#77] fixed occurrences other typo, augmented the match window to update the calendar 2025-09-04 18:06:32 +02:00
Camille Moussu 88b36efbf3 [#77] fixed occurences typo 2025-09-04 15:56:52 +02:00
Camille Moussu 80028b3f26 [#77] added repetition proper display and editing 2025-09-04 15:02:55 +02:00