Commit Graph

43 Commits

Author SHA1 Message Date
Camille Moussu 6a6fdf963c [chores] updated package-lock.json (#737) 2026-04-03 09:26:08 +02:00
lethemanh cadfa70e60 #708 apply strictier linting rules (#717)
* #708 apply strictier linting rules and fix simple eslint bugs

* #708 fix eslint errors relate to promise

* #708 fix eslint import/no-extraneous-dependencies

* #708 fix eslint errors of react-hook

* #708 enable eslint check for typescript

---------

Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
2026-04-01 17:15:10 +02:00
Camille Moussu 7cf3f094a1 [chores] update package-lock.json 2026-03-30 11:20:41 +02:00
Camille Moussu 51f7d0ed35 [chores] updated package.json (#719)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-03-26 22:09:23 +01:00
Camille Moussu 8c3fa4bc1b added integration for calendar to have twake top bar (#576) 2026-02-25 11:01:09 +01:00
Camille Moussu 9cc6625e84 updated package.json (#580)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-02-25 10:06:12 +01:00
Camille Moussu 494a73dae2 [chore] updated package.json (#547) 2026-02-12 12:09:02 +01:00
lenhanphung 1e312c1c8b Fix/time picker glitch (#542)
* update twake-mui

* #537 fix time picker glitch
2026-02-12 11:03:55 +01:00
Camille Moussu d6e464afad [#421] added eslint check to CI (#534)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2026-02-10 10:41:37 +01:00
lenhanphung af53ad158a Bump local twake-mui lockfile to 1.1.8.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-05 17:38:41 +07:00
lenhanphung 41c839f38b update header bar 2026-02-05 17:20:00 +07:00
lenhanphung ec258f4d42 restyle current date state 2026-02-05 17:08:51 +07:00
lenhanphung 201f9c722b Use @linagora/twake-mui 1.1.6 from registry 2026-02-05 17:08:51 +07:00
lenhanphung da0dba423e update normal mode event createa update modal 2026-02-05 17:08:51 +07:00
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 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 18c0ffb8bf [#471] updated package-lock to remove vulneb (#473) 2026-01-22 09:49:51 +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
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 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 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 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
Camille Moussu 36bc027d6d [#82] added cozy-ui for internationnalisation (#267)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-11-06 15:46:58 +01:00
Camille Moussu 34363562cc Color picker rework (#232)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-10-24 01:20:56 +02:00
Camille Moussu 0f82711d7d [#83] Change minicalendar lib to MUI (#211)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-10-16 10:36:59 +02:00
Camille Moussu 770257c03b [#154] added timezone component to change timezone of calendar (#207)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-10-14 15:25:28 +02:00
Camille Moussu 26e69091d9 [#137] added duration management when no end + added moment library to manage duration 2025-10-10 11:19:09 +02:00
lenhanphung 3870bceb6d feat: prepare project for cozy-ui migration (#157)
* feat: prepare project for cozy-ui migration

Build Configuration
- Add Stylus support via @rsbuild/plugin-stylus
- Add SVGR support via @rsbuild/plugin-svgr
- Update rsbuild.config.ts with custom configuration
- Add historyApiFallback for SPA routing

ESLint Configuration
- Create .eslintrc.json with react-app configuration
- Remove eslintConfig from package.json

CSS to Stylus Migration
Convert all 5 CSS files to Stylus (.styl) format:
  - src/App.css to src/App.styl
  - src/index.css to src/index.styl
  - src/components/Calendar/Calendar.css to src/components/Calendar/Calendar.styl
  - src/components/Calendar/CustomCalendar.css to src/components/Calendar/CustomCalendar.styl
  - src/components/Menubar/Menubar.css to src/components/Menubar/Menubar.styl
- Update all imports from .css to .styl
- Preserve all styling rules and values

MUI Styling Cleanup
- Replace all MUI sx props with standard style props across 15+ components
- Convert MUI spacing units (mr: 2 to marginRight: 16px)
- Convert MUI shorthand props (p: 2 to padding: 16px, mb: 1 to marginBottom: 8px)
- Remove MUI-specific syntax (&.Mui-checked selectors)
- Maintain exact visual appearance

FullCalendar Fixes
- Comment out problematic CSS rule in CustomCalendar.styl
- Fix display issues with timegrid slot labels

Files Modified
- Config: rsbuild.config.ts, .eslintrc.json, package.json
- Styling: 5 CSS to Stylus conversions, 15+ component sx to style updates
- Components: All components using MUI sx props updated

Development Workflow
- Continue using existing development commands
- Stylus files are now the source of truth for styling
- MUI components work with standard style props
- ESLint uses familiar react-app rules

Dependencies Added
- @rsbuild/plugin-stylus
- @rsbuild/plugin-svgr
2025-10-01 17:31:18 +02:00
Crash-- 63ddbacf19 fix: Build issue on Mac ARM
Since the project is actually only used on Linux,
npm didn't have installed packaged needed for
Mac ARM.

I just needed to force install rspack to get the
needed packages. I took the opportunity to upgrade
rspack version.

It fixes:

```
npm run start

> front@0.1.0 start
> PORT=5000 rsbuild dev

node:internal/modules/cjs/loader:1410
  const err = new Error(message);
              ^

Error: Cannot find module '@rspack/binding-darwin-arm64'
```
2025-09-01 10:23:03 +02:00
Camille Moussu b1ceebfc7d [#31]added two function to setup data to be sent and put function 2025-07-24 14:16:54 +02:00
Camille Moussu 41e8d88841 [#38]added missing tests 2025-07-18 17:29:53 +02:00
Camille Moussu a52ded03fb [#38] Adding several missing tests and correct CI setup 2025-07-18 12:55:42 +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 47fad76217 [#21] changed react-script to rebuild 2025-07-03 14:48:19 +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