Игорь Надеин
826298ff08
feat(calendar): add frontend components for calendar management (Phase 3 - Part 1)
Added API Integration:
- calendarsApi.js: Complete API wrapper for /api/v1/calendar/calendars/
* CRUD operations (create, read, update, delete)
* Subscribe/unsubscribe endpoints
* My subscriptions endpoint
* Cache invalidation support
Added UI Components:
- calendarManager.js: Calendar list management component
* Displays available calendars with color indicators
* Toggle calendar visibility (checkboxes)
* Subscribe/unsubscribe buttons
* Edit calendar button (for owners)
* Real-time calendar filtering
- calendarManageModal.js: Calendar creation/editing modal
* Create personal/public/department calendars
* Edit calendar properties (title, description, color)
* Delete calendar (owner only)
* Department selection for department calendars
* Auto-subscription settings
Added Styles:
- calendar-manager.scss: BEM-based styling
* Calendar list with glassmorphism design
* Color indicators and icons
* Hover states and animations
* Responsive design for mobile
* Empty state styling
Updated Templates:
- calendar_desktop.html: Added calendar list UI
* Replaced dropdown with collapsible calendar list
* Added manage calendar button
* Updated create event button icon
- calendar_modal_manage.html: New modal template
* Form fields for calendar properties
* Radio buttons for calendar types
* Department selector
* Auto-subscription checkboxes
* Delete button for owners
- rightbar_calendar.html: Included new modal
Updated Imports:
- main.scss: Added calendar-manager component import
Status: Phase 3 Part 1 complete (UI components ready)
Next: Part 2 - Integration with calendarWidget.js for event filtering
2026-02-11 09:42:18 +03:00
..
2026-02-11 08:35:24 +03:00
2025-09-09 17:55:15 +03:00
2026-02-11 08:35:24 +03:00
2026-01-05 11:20:56 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-09 14:56:44 +03:00
2026-02-06 15:33:48 +03:00
2026-01-22 01:33:42 +03:00
2026-01-09 14:48:43 +03:00
2025-11-20 09:00:55 +03:00
2025-07-30 08:15:53 +03:00
2026-01-13 10:19:26 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-13 15:02:29 +03:00
2025-09-11 17:56:33 +03:00
2026-02-11 09:42:18 +03:00
2026-02-11 09:42:18 +03:00
2026-02-11 08:35:24 +03:00
2025-07-30 08:15:53 +03:00
2026-01-05 10:47:56 +03:00
2026-01-08 16:14:00 +03:00
2025-11-20 09:00:55 +03:00
2025-09-03 17:17:44 +03:00
2025-07-30 08:15:53 +03:00
2026-01-05 07:41:34 +03:00
2026-01-22 01:33:42 +03:00
2026-01-08 16:14:00 +03:00
2026-01-06 07:48:04 +03:00
2026-01-08 16:55:54 +03:00
2026-01-09 15:07:55 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-13 09:18:25 +03:00