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
@@ -14,7 +14,7 @@ enum SecureBackupScreenViewModelAction {
}
struct SecureBackupScreenViewState: BindableState {
let chatBackupDetailsURL: URL
let chatBackupDetailsURL: URL?
var recoveryState = SecureBackupRecoveryState.unknown
var keyBackupState = SecureBackupKeyBackupState.unknown
var bindings: SecureBackupScreenViewStateBindings
@@ -22,7 +22,7 @@ class SecureBackupScreenViewModel: SecureBackupScreenViewModelType, SecureBackup
init(secureBackupController: SecureBackupControllerProtocol,
userIndicatorController: UserIndicatorControllerProtocol,
chatBackupDetailsURL: URL) {
chatBackupDetailsURL: URL?) {
self.secureBackupController = secureBackupController
self.userIndicatorController = userIndicatorController
@@ -64,10 +64,15 @@ struct SecureBackupScreen: View {
}
private var keyBackupDescriptionWithLearnMoreLink: AttributedString {
guard let chatBackupDetailsURL = context.viewState.chatBackupDetailsURL else {
// The link is its own sentence, so the full stop goes with it.
return AttributedString(L10n.screenChatBackupKeyBackupDescription("").replacing(/\s*\.\s*$/, with: ""))
}
let linkPlaceholder = "{link}"
var description = AttributedString(L10n.screenChatBackupKeyBackupDescription(linkPlaceholder))
var linkString = AttributedString(L10n.actionLearnMore)
linkString.link = context.viewState.chatBackupDetailsURL
linkString.link = chatBackupDetailsURL
linkString.bold()
description.replace(linkPlaceholder, with: linkString)
return description