Commit Graph

24 Commits

Author SHA1 Message Date
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