fix: remove rlement endpoints and links from the HealthChat

* fix(healthchat): switch off analytics, crash and bug reporting endpoints

Upstream ships *.localhost placeholders in Secrets.swift and marks the file assume-unchanged; with analytics on, the Element Call widget was handed Element's own PostHog and Sentry. nil hides the analytics prompt, the Analytics and Report a problem entries until HealthChat runs its own services.

* feat(healthchat): hide the Labs entry in settings

* fix(healthchat): point Copyright and the analytics terms at healthchat.ch

* docs(healthchat): add the 26.11.1 release notes

* feat(healthchat): drop the Element help links

* feat(healthchat): switch off location sharing

* test(healthchat): skip the analytics suite without PostHog
This commit is contained in:
Sedat-Qaja
2026-10-19 14:40:20 +02:00
committed by GitHub
parent 7b07b51a10
commit 3b7ed0a48b
21 changed files with 125 additions and 61 deletions
@@ -65,11 +65,11 @@ final nonisolated class AppSettings: @unchecked Sendable {
copyrightURL: URL,
acceptableUseURL: URL,
privacyURL: URL,
encryptionURL: URL,
deviceVerificationURL: URL,
chatBackupDetailsURL: URL,
identityPinningViolationDetailsURL: URL,
historySharingDetailsURL: URL,
encryptionURL: URL?,
deviceVerificationURL: URL?,
chatBackupDetailsURL: URL?,
identityPinningViolationDetailsURL: URL?,
historySharingDetailsURL: URL?,
elementWebHosts: [String],
accountProvisioningHost: String,
bugReportApplicationID: String,
@@ -145,15 +145,15 @@ final nonisolated class AppSettings: @unchecked Sendable {
/// A URL that contains the app's Privacy Policy.
private(set) var privacyURL: URL = "https://element.io/privacy"
/// A URL where users can go read more about encryption in general.
private(set) var encryptionURL: URL = "https://element.io/help#encryption"
private(set) var encryptionURL: URL? = "https://element.io/help#encryption"
/// A URL where users can go read more about device verification..
private(set) var deviceVerificationURL: URL = "https://element.io/help#encryption-device-verification"
private(set) var deviceVerificationURL: URL? = "https://element.io/help#encryption-device-verification"
/// A URL where users can go read more about the chat backup.
private(set) var chatBackupDetailsURL: URL = "https://element.io/help#encryption5"
private(set) var chatBackupDetailsURL: URL? = "https://element.io/help#encryption5"
/// A URL where users can go read more about identity pinning violations
private(set) var identityPinningViolationDetailsURL: URL = "https://element.io/help#encryption18"
private(set) var identityPinningViolationDetailsURL: URL? = "https://element.io/help#encryption18"
/// A URL describing how history sharing works
private(set) var historySharingDetailsURL: URL = "https://element.io/en/help#e2ee-history-sharing"
private(set) var historySharingDetailsURL: URL? = "https://element.io/en/help#e2ee-history-sharing"
/// Any domains that Element web may be hosted on - used for handling links.
private(set) var elementWebHosts = ["app.element.io", "staging.element.io", "develop.element.io"]