Commit Graph

45 Commits

Author SHA1 Message Date
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 23d50f250d Refactor imports (#470) 2026-01-20 17:33:30 +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 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 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 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
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 193c1a7166 [#337] added timezone loading from backend (#386)
* [#337] added timezone loading from backend

* [#337] changed data structure to allow patching timezone while keeping other datetime params value

* [#337] fixed gap, event create modale sync with settings and added checkbox

* [#337] isBrowserDefaultTimezone is set to true when API return null timezone

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-12-04 15:14:43 +01:00
lenhanphung c408e1818f feat: #333 load language from backend configuration (#377)
* feat: #333 load language from backend configuration

* feat(settings): sync language with user configs api

* Update __test__/features/Settings/SettingsPage.test.tsx

Co-authored-by: Lê Nhân Phụng <lenhanphung@Phung-Mac-M4.local>
Co-authored-by: Benoit TELLIER <btellier@linagora.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-02 10:06:11 +01:00
lenhanphung ffe204d60b refactor: stabilize calendar loading effects and menubar redirect
- Memoize calendar range strings and stabilize effect deps
- Guard updateDarkColor to avoid dispatch loops
- Add resilient cache-clear handling with refs
- Memoize calendar/temp ids to prevent rerenders
- Update event handler hooks with missing deps
- Add guards and dependency fixes across Calendar effects
2025-11-18 10:40:19 +01:00
Camille Moussu 42f5d8e1a9 #204 Error management (#237)
* added error snackbar for api fails
* improved error page to be shown only for userdata errors and to allow retrying
* fixed test breaking only in local because of timezone and reduced warnings for easier reading of tests results
* added error management for failure inside calendars imports
* added error snackbar for api fails
* improved error page to be shown only for userdata errors and to allow retrying
* added error management for failure inside calendars imports

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-10-27 11:23:38 +01:00
lenhanphung f245991816 feat: improve video conference UI in EventModal
- Replace 'Meeting link generated' text with 'Join Visio conference' button
- Button opens video conference link in new tab when clicked
- Use contained variant styling to match Save button appearance
- Maintain copy and delete functionality for meeting links
2025-10-03 14:51:40 +07:00
Camille Moussu 58324cd8e0 [#146] fix error in loading (#147)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-25 16:52:51 +02:00
Camille Moussu 00c0b58032 sidebar availability search (#128)
* [123] added people search in left side bar

* [#123] added toggle temp calendars

* [#123] added tests]

* fixup! [123] added people search in left side bar

* fixup! [#123] added toggle temp calendars

* [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] fixed event creation on Enter

* [#123] added color diff for temp calendars

* fixup! [#123] fixed event creation on Enter

* fixup! [#123] added tests]

* fixup! [#123] added toggle temp calendars

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-24 17:05:45 +02:00
Camille Moussu cd724a30a0 ability to register a shared calendar (#118)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-22 20:45:02 +02:00
lenhanphung cddebad9b7 resolve conflict 2025-09-19 13:40:02 +07: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
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 282cbfc80e [#7] fixed attendee search in full display 2025-08-28 16:27:08 +02:00
Camille Moussu 18b24edd46 Merge pull request #54 from linagora/4-story-manage-attendance
4 story manage attendance
2025-08-25 10:10:37 +02:00
Camille Moussu 4ba8be73b7 [#58] changed the error detection to prevent displaying error on first connection 2025-08-22 12:11:38 +02:00
Camille Moussu cc262d6816 [#4] fix test and imports 2025-08-21 16:00:48 +02:00
Camille Moussu 5e410124cc [#32] changed how userinfo is filled 2025-08-21 15:56:35 +02:00
Camille Moussu cd829703e9 [#4] attendance now change event display 2025-08-21 15:56:34 +02:00
Camille Moussu a71d1f12fb [#4] fixed duplication when managing attendance 2025-08-21 15:51:41 +02:00
Camille Moussu a6c6f944a6 [#50] fixed mailto duplication 2025-08-21 13:18:41 +02:00
Camille Moussu 5cdce4201a [#50] fixed sent invite to appear on invitee calendar 2025-08-21 13:18:41 +02:00
Camille Moussu d7b3d4e077 [#50] added attendee search and tests 2025-08-21 13:18:41 +02:00
Camille Moussu b9d2a16984 [#32] changed how userinfo is filled 2025-08-21 09:27:29 +02:00
Camille Moussu 5f59831be0 [#3] first basic modal for event display 2025-07-25 14:57:53 +02:00
vttran c6f8af36e9 fixup(oidcAuth): generate state during auth call when PKCE is enabled (#46) 2025-07-24 11:22:30 +02:00
Camille Moussu a52ded03fb [#38] Adding several missing tests and correct CI setup 2025-07-18 12:55:42 +02:00
Camille Moussu 6e02373ea0 forgot to remove useless access token in functions 2025-07-16 16:43:08 +02:00
Camille Moussu 7507d09d72 [#34] added ky and condition to reconnect user on refresh 2025-07-16 16:43:07 +02:00
Camille Moussu 4e32e351c4 [#24] changed .env to be a public js file script loaded by index.html 2025-07-08 11:40:42 +02:00
Camille Moussu 7e7043b47e [chores] removed unused imports 2025-07-07 10:42:06 +02:00
Camille Moussu aae4d729f6 [#25] changed loading order + added condition to keep loading screen while loading calendar list 2025-07-04 15:27:25 +02:00
Camille Moussu 29980e1fad [#23]removed client_secret 2025-07-03 15:31:38 +02:00
Camille Moussu 47fad76217 [#21] changed react-script to rebuild 2025-07-03 14:48:19 +02:00
Camille Moussu 65621924a2 [#1] getting the calendars from the api 2025-07-03 14:21:04 +02:00
Camille Moussu 4f5d596b59 [1] added state to add event to calendars 2025-06-30 17:15:24 +02:00
Camille Moussu 624c1b43ca [#1] added base calendar and started to tweak ui 2025-06-27 18:11:23 +02:00
Camille Moussu cceb83519f [#1] Bare Skeleton with redux store, oidc and router-dom 2025-06-25 17:42:54 +02:00