Commit Graph

85 Commits

Author SHA1 Message Date
lenhanphung 57cc656d83 fix: sync calendar view state between Calendar and Menubar components
- Add onViewChange callback to CalendarAppProps interface
- Update CalendarLayout to manage currentView state and pass callbacks
- Modify Menubar to receive currentView from parent instead of local state
- Sync view changes when clicking day headers in week view
- Ensure dropdown in Menubar updates when calendar view changes
2025-09-25 17:11:24 +07:00
lenhanphung 3a9b87a41c fix: prettier 2025-09-25 17:11:24 +07:00
lenhanphung 5a9a34d0d3 fix: infinity loop cause by change layout, adjust style 2025-09-25 17:11:22 +07:00
lenhanphung 48ca3fb834 UI: adjust main layout 2025-09-25 17:10:58 +07:00
lenhanphung 7b0ff24c47 style: fix scroll table main grid 2025-09-25 17:10:58 +07:00
lenhanphung 0f74ddfc27 fix: update tests for new Menubar UI implementation
- Remove refresh button test from Calendar.test.tsx
- Update Menubar tests to pass required props (calendarRef, onRefresh, currentDate)
- Update Calendar tests to pass calendarRef prop
- Remove outdated test cases from MiniCalendarColor.test.tsx that tested old headerToolbar
- Format code with prettier
2025-09-25 17:10:58 +07:00
lenhanphung 12dc0d7fe1 feat: move headerToolbar functionality to Menubar component
- Remove headerToolbar from FullCalendar and set to false
- Create CalendarLayout component to manage state between Menubar and Calendar
- Add navigation controls (prev/today/next) to Menubar left-menu using MUI ButtonGroup
- Add current date/time display (April 2024 format) to Menubar left-menu
- Add view selector (Month/Week/Day) to Menubar right-menu using MUI Select
- Implement real-time date synchronization between Calendar and Menubar
2025-09-25 17:10:56 +07:00
lenhanphung 5f02f77769 style: hidden first slot label 2025-09-25 17:09:20 +07:00
lenhanphung 3815a13ef9 feat(calendar): update week start day and scroll time
- Change firstDay from 0 (Sunday) to 1 (Monday) to start week on Monday
- Update scrollTime from current time to 12:00 PM for better user experience
- Remove dynamic scroll calculation in favor of fixed noon position
2025-09-25 17:09:20 +07:00
lenhanphung 98b1f59a8b feat: customize now indicator arrow to display current time 2025-09-25 17:09:20 +07:00
lenhanphung e6bb665c87 add font Inter
update UI cho main grid calendar. add hover css and state. click able on header cell
2025-09-25 17:09:18 +07:00
lenhanphung 3e96034b92 style: Split custom main calendar css 2025-09-25 17:08:46 +07:00
Camille Moussu 20a31ea8e0 [#384] fixed scrollbar (#143)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-25 11:26:43 +02:00
Camille Moussu 2c78a037a9 allow external attendees (#141)
* [#122] added external attendees

* fixup! [#122] added external attendees

* fixup! [#122] added external attendees

* Update src/components/Attendees/AttendeeSearch.tsx

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
Co-authored-by: Benoit TELLIER <btellier@linagora.com>
2025-09-25 11:25:22 +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 1db93efed9 event creation button on sidebar (#140)
* [#139] added button on sidebar

* fixup! [#139] added button on sidebar

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
2025-09-24 16:49:13 +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 ae52f88faf fix(CalendarSelection): keep hook order stable by moving useState before conditional return in CalendarAccordion 2025-09-19 14:21:52 +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 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 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 2a84eba84b [#64] fixed css and empty name bug 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
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 8f2277b278 [#72] added duplicate button and fixed tests broken by new interaction between components 2025-09-11 18:22:11 +02:00
Camille Moussu 4b31d34414 [#63] added reload button and corresponding tests 2025-09-11 14:42:38 +02:00
ducdonghiem 4b71a6e3c7 ISSUE-91 add lock icon indication for private events (#98) 2025-09-11 09:17:54 +02:00
DNgMinh 54709ac994 Set calendar week to start on Monday (#94) 2025-09-09 15:35:39 +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 2f071303de [#77] fixed delete refresh issue and added more tests 2025-09-05 16:41:05 +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
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 282cbfc80e [#7] fixed attendee search in full display 2025-08-28 16:27:08 +02:00
Camille Moussu 6669eeb456 [#7] fixed allday implementation to prevent errors with openpaas 2025-08-27 14:55:14 +02:00
Camille Moussu e8a0ac41ef [#7] skeleton for complexe display 2025-08-25 17:01:18 +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 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 4ba8be73b7 [#58] changed the error detection to prevent displaying error on first connection 2025-08-22 12:11:38 +02:00
Camille Moussu 6c58680450 [#4] added padding between calendar headers 2025-08-22 10:48:09 +02:00
Camille Moussu aaba50cf00 [#4] added delegated calendars 2025-08-21 16:00:49 +02:00