diff --git a/app/src/lib/components/AnalyticsSettings.svelte b/app/src/lib/components/AnalyticsSettings.svelte index 2ebb4a297..2f27ef66b 100644 --- a/app/src/lib/components/AnalyticsSettings.svelte +++ b/app/src/lib/components/AnalyticsSettings.svelte @@ -12,17 +12,17 @@ const metricsEnabled = appMetricsEnabled(); const nonAnonMetricsEnabled = appNonAnonMetricsEnabled(); - function toggleErrorReporting(e: MouseEvent | CustomEvent) { + function toggleErrorReporting(e: MouseEvent) { $errorReportingEnabled = !$errorReportingEnabled; e.preventDefault(); } - function toggleMetrics(e: MouseEvent | CustomEvent) { + function toggleMetrics(e: MouseEvent) { $metricsEnabled = !$metricsEnabled; e.preventDefault(); } - function toggleNonAnonMetrics(e: MouseEvent | CustomEvent) { + function toggleNonAnonMetrics(e: MouseEvent) { $nonAnonMetricsEnabled = !$nonAnonMetricsEnabled; e.preventDefault(); } @@ -53,7 +53,7 @@
- + Error reporting Toggle reporting of application crashes and errors. @@ -62,24 +62,20 @@ - + Usage metrics Toggle sharing of usage statistics. - + - + Non-anonymous usage metrics Toggle sharing of identifiable usage statistics. diff --git a/app/src/lib/components/CloudForm.svelte b/app/src/lib/components/CloudForm.svelte index 943563292..982995292 100644 --- a/app/src/lib/components/CloudForm.svelte +++ b/app/src/lib/components/CloudForm.svelte @@ -79,30 +79,25 @@
- + Enable branch and commit message generation If enabled, diffs will sent to OpenAI or Anthropic's servers when pressing the "Generate message" and "Generate branch name" button. - + - + Automatically generate branch names @@ -133,11 +128,7 @@
Full data synchronization - await onSyncChange(e.detail)} - orientation="row" - > + Sync my history, repository and branch data for backup, sharing and team features. @@ -145,7 +136,7 @@ await onSyncChange(e.detail)} + on:click={async (e) => await onSyncChange(e.detail)} /> diff --git a/app/src/lib/components/PreferencesForm.svelte b/app/src/lib/components/PreferencesForm.svelte index a0cf39a73..8c967951b 100644 --- a/app/src/lib/components/PreferencesForm.svelte +++ b/app/src/lib/components/PreferencesForm.svelte @@ -56,7 +56,7 @@ await setWithForcePush(allowForcePushing)} + on:click={async () => await setWithForcePush(allowForcePushing)} /> @@ -84,7 +84,7 @@ await setOmitCertificateCheck(omitCertificateCheck)} + on:click={async () => await setOmitCertificateCheck(omitCertificateCheck)} /> diff --git a/app/src/lib/components/Toggle.svelte b/app/src/lib/components/Toggle.svelte index bfbd806ac..2cdcd3a96 100644 --- a/app/src/lib/components/Toggle.svelte +++ b/app/src/lib/components/Toggle.svelte @@ -1,6 +1,5 @@ { - dispatch('change', checked); - }} type="checkbox" class="toggle" class:small diff --git a/app/src/routes/settings/experimental/+page.svelte b/app/src/routes/settings/experimental/+page.svelte index 8ef829acc..ea40fd53a 100644 --- a/app/src/routes/settings/experimental/+page.svelte +++ b/app/src/routes/settings/experimental/+page.svelte @@ -21,7 +21,7 @@ ($baseBranchSwitching = !$baseBranchSwitching)} + on:click={() => ($baseBranchSwitching = !$baseBranchSwitching)} /> diff --git a/app/src/routes/settings/git/+page.svelte b/app/src/routes/settings/git/+page.svelte index ca8140ea3..ed23350fe 100644 --- a/app/src/routes/settings/git/+page.svelte +++ b/app/src/routes/settings/git/+page.svelte @@ -45,7 +45,7 @@ - + diff --git a/app/src/routes/settings/profile/+page.svelte b/app/src/routes/settings/profile/+page.svelte index e59e5ddc9..3cc6bfa84 100644 --- a/app/src/routes/settings/profile/+page.svelte +++ b/app/src/routes/settings/profile/+page.svelte @@ -100,7 +100,7 @@ {#if $user}
-