Commit Graph

12 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 48ca3fb834 UI: adjust main layout 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 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
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 9a58c485ac [#32] added check is no name or lastname 2025-08-21 09:27:29 +02:00
Camille Moussu 290c7f301b [#32] added setup in readme and support to missing applist.js 2025-08-21 09:27:29 +02:00
Camille Moussu aa498ac91f [#32] added app list and user icon to menubar 2025-08-21 09:27:29 +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