feat: add option to disable calendar

This commit is contained in:
Linus Rath
2026-06-24 18:39:38 +02:00
parent 8c575e8ed8
commit 7a022596c3
7 changed files with 18 additions and 6 deletions
+2
View File
@@ -51,6 +51,7 @@ export interface FeatureGates {
settingsExportEnabled: boolean;
customKeywordsEnabled: boolean;
templatesEnabled: boolean;
calendarEnabled: boolean;
calendarTasksEnabled: boolean;
smimeEnabled: boolean;
externalContentEnabled: boolean;
@@ -75,6 +76,7 @@ export const DEFAULT_FEATURE_GATES: FeatureGates = {
settingsExportEnabled: true,
customKeywordsEnabled: true,
templatesEnabled: true,
calendarEnabled: true,
calendarTasksEnabled: true,
smimeEnabled: true,
externalContentEnabled: true,
+1 -1
View File
@@ -65,7 +65,7 @@ async function readFeatures(): Promise<TelemetryFeatures> {
return {
// Booleans only. We read whether a feature is enabled - never any
// config value beyond a presence check.
calendar: gates.calendarTasksEnabled === true,
calendar: gates.calendarEnabled === true,
contacts: gates.contactsEnabled === true,
files: gates.filesEnabled === true,
extensions: gates.pluginsEnabled === true,