tududi/frontend/components
Chris 57a6e558f3
fix: use CALDAV_ENABLED for calendar feature flag (#1070)
* fix: add FF_ENABLE_CALDAV feature flag for CalDAV functionality

Introduces a new dedicated feature flag for CalDAV sync that checks
both FF_ENABLE_CALDAV and CALDAV_ENABLED environment variables. This
allows the CalDAV tab to appear in profile settings when users set
CALDAV_ENABLED=true as documented.

The existing FF_ENABLE_CALENDAR remains unchanged as it's for a
separate (hidden) calendar feature.

Changes:
- Added 'caldav' feature flag to backend service (checks FF_ENABLE_CALDAV
  or CALDAV_ENABLED)
- Updated frontend FeatureFlags interface to include 'caldav'
- Changed CalDAV tab to use 'caldav' feature flag instead of 'calendar'
- Added FF_ENABLE_CALDAV to .env.example, .env.test, Dockerfile, and CI

Fixes #1048

* fix: add caldav property to all FeatureFlags initializations

Fixes TypeScript errors where FeatureFlags objects were missing the
new caldav property in:
- frontend/utils/featureFlags.ts (defaultFlags and error return)
- frontend/components/Navbar.tsx
- frontend/components/Sidebar.tsx
- frontend/components/Sidebar/SidebarNav.tsx
2026-04-25 18:21:53 +03:00
..
Admin fix(admin): add CSRF token to admin user management operations (#1065) 2026-04-24 23:24:46 +03:00
Area Set verification modal on escape (#470) (#473) 2025-11-03 16:27:13 +02:00
Auth feat: Add OIDC/SSO authentication support (#1008) 2026-04-13 12:17:35 +03:00
Backup Update translations 2025-12-10 11:43:15 +02:00
CalDAV feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Calendar Fix profile settings mobile layout (#694) 2025-12-10 09:10:23 +02:00
Habits Fix bug 733 (#735) 2025-12-27 21:00:52 +02:00
Inbox fix(inbox): Fix tag/project autocomplete selection (#1043) 2026-04-18 10:04:57 +03:00
Metrics Fix today race condition (#75) 2025-06-13 14:20:24 +03:00
Note fix: add copy button to note details page (#1068) 2026-04-25 01:31:05 +03:00
Notifications fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Productivity Fix redirect after task deletion to return to originating view (#887) 2026-03-01 16:07:02 +02:00
Profile fix: use CALDAV_ENABLED for calendar feature flag (#1070) 2026-04-25 18:21:53 +03:00
Project fix: resolve inbox project creation bugs (#1018) 2026-04-13 20:32:57 +03:00
Shared fix(ui): Auto-focus project search field when opened (Issue #992) (#1038) 2026-04-18 00:29:27 +03:00
Sidebar fix: use CALDAV_ENABLED for calendar feature flag (#1070) 2026-04-25 18:21:53 +03:00
Tag fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Task fix(today-settings): add missing CSRF token to today settings PUT request (#1044) 2026-04-20 13:05:03 +03:00
UniversalSearch fix(search): Handle touch events to prevent input blur on mobile when saving views (#1039) 2026-04-17 18:43:30 +03:00
About.tsx Feat main content revamp (#584) 2025-11-20 09:15:55 +02:00
Areas.tsx Feat main content revamp (#584) 2025-11-20 09:15:55 +02:00
Calendar.tsx Fix redirect after task deletion to return to originating view (#887) 2026-03-01 16:07:02 +02:00
Login.tsx feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Navbar.tsx fix: use CALDAV_ENABLED for calendar feature flag (#1070) 2026-04-25 18:21:53 +03:00
Notes.tsx Introduce focus mode in notes (#891) 2026-03-03 00:29:03 +02:00
Projects.tsx Fix projects order persist to localstorage (#868) 2026-02-27 00:35:44 +02:00
Register.tsx feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
Sidebar.tsx fix: use CALDAV_ENABLED for calendar feature flag (#1070) 2026-04-25 18:21:53 +03:00
Tags.tsx Feat improve task details (#585) 2025-11-21 18:43:10 +02:00
Tasks.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
ViewDetail.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00
Views.tsx fix: add CSRF token support to frontend requests (#1025) 2026-04-14 15:06:56 +03:00