Remove Piwik support (#8835)
* Remove all mentions of Piwik * Kill off all consumer of the old Piwik Analytics module * Simplify ModalManager interface * i18n * Attempt to fix old e2e tests * Remove unused component * Iterate PR
This commit is contained in:
@@ -711,15 +711,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||
supportedLevelsAreOrdered: true,
|
||||
default: {}, // none allowed
|
||||
},
|
||||
// Legacy, kept around for transitionary purposes
|
||||
"analyticsOptIn": {
|
||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
|
||||
displayName: _td('Send analytics data'),
|
||||
default: false,
|
||||
},
|
||||
"showCookieBar": {
|
||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
|
||||
default: true,
|
||||
},
|
||||
"pseudonymousAnalyticsOptIn": {
|
||||
supportedLevels: [SettingLevel.ACCOUNT],
|
||||
displayName: _td('Send analytics data'),
|
||||
|
||||
@@ -28,7 +28,7 @@ export default class ThreadBetaController extends SettingController {
|
||||
public async beforeChange(level: SettingLevel, roomId: string, newValue: any): Promise<boolean> {
|
||||
if (Thread.hasServerSideSupport || !newValue) return true; // Full support or user is disabling
|
||||
|
||||
const { finished } = Modal.createTrackedDialog<[boolean]>("Thread beta", "degraded mode", QuestionDialog, {
|
||||
const { finished } = Modal.createDialog<[boolean]>(QuestionDialog, {
|
||||
title: _t("Partial Support for Threads"),
|
||||
description: <>
|
||||
<p>{ _t("Your homeserver does not currently support threads, so this feature may be unreliable. " +
|
||||
|
||||
Reference in New Issue
Block a user