Commit Graph

68 Commits

Author SHA1 Message Date
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
Camille Moussu ac9db2b520 [#101] fixed regex for attendee mail cleanup 2025-09-30 06:42:31 +02:00
lenhanphung 7b8a2e74a5 fix prettier 2025-09-25 17:16:12 +07:00
lenhanphung b9d7a8fa6b feat: enhance calendar with view sync, Redux fixes, and dynamic slot label dimming
- Sync calendar view state between Calendar and Menubar components
- Fix Redux serialization errors by using string dates instead of Date objects
- Add null checks for eventResize handler to prevent undefined errors
- Implement dynamic slot label dimming near current time indicator
- Slot labels fade to opacity 0.2 when now indicator is within 15 minutes
- Add smooth CSS transitions for better user experience
- Handle edge cases around midnight for proper time calculation
- Update slot label visibility on view changes and time updates
2025-09-25 17:12:07 +07: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 3dd7e1a985 [#133] added dl event button (#134)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-23 12:33:08 +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 dfecb33236 Fix: prettier
Feat: main grid start at current time
2025-09-19 14:41:51 +07:00
lenhanphung e24aa40cce fix(user): guard openpaasId access during initial render\n\n- Use optional chaining across components reading userData.openpaasId\n- Prevent F5 crash when user data not yet hydrated\n- Cleanup unused imports 2025-09-19 14:29:10 +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 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
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
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
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 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 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 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
Camille Moussu 24c6788c2c [#92] added free busy and missing tests 2025-09-09 17:19:27 +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 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 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 80028b3f26 [#77] added repetition proper display and editing 2025-09-04 15:02:55 +02:00
Camille Moussu a58373854e [#7] removed free/busy field 2025-09-03 16:09:21 +02:00
Camille Moussu b3c05e0aa5 [#7] fixed attendance update when editing event 2025-09-03 11:10:17 +02:00
Camille Moussu a83bf2fd5c [#7] removed timezones from popup and added toggle when select free busy 2025-09-03 10:46:22 +02:00
Camille Moussu ee01e1d027 [#77] added complex ui for repetition, fixed broken tests due to new feature 2025-09-02 18:14:55 +02:00
Camille Moussu b6f55da506 [#7] fixed state update when moving event from calednars 2025-08-29 14:50:52 +02:00
Camille Moussu 64f3ff0aa4 [#7] fixed move destination 2025-08-29 10:21:43 +02:00
Camille Moussu 8ce8839383 [#7] fixed attendee management in the list 2025-08-28 16:45:49 +02:00
Camille Moussu 282cbfc80e [#7] fixed attendee search in full display 2025-08-28 16:27:08 +02:00
Camille Moussu a2b0ab32b7 [#7] added MOVE support for changing calendar for event + missing tests for this PR 2025-08-28 13:08:10 +02:00
Camille Moussu 6669eeb456 [#7] fixed allday implementation to prevent errors with openpaas 2025-08-27 14:55:14 +02:00
Camille Moussu b1c3331518 [#7] added missing complex params to event creation 2025-08-26 16:46:03 +02:00
Camille Moussu 07a17af478 [#7] added selector to add attendee when editing 2025-08-26 15:46:27 +02:00
Camille Moussu 5864875775 [#7] restored refresh after modification 2025-08-26 14:46:10 +02:00
Camille Moussu 502b6d6783 [#7] added saving to editing event 2025-08-26 14:17:14 +02:00
Camille Moussu e8a0ac41ef [#7] skeleton for complexe display 2025-08-25 17:01:18 +02:00
Camille Moussu f3ebd7c107 [#4] added explicit log for 201 2025-08-25 09:49:35 +02:00
Camille Moussu 684fd82027 [#4] event url is now stored and reused when updating event to prevent duplication 2025-08-25 09:47:43 +02:00
Camille Moussu a71d1f12fb [#4] fixed duplication when managing attendance 2025-08-21 15:51:41 +02:00
Camille Moussu b3d85eb15c [#4] added attendance management 2025-08-21 15:49:34 +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