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:
Michael Telatynski 2022-06-14 17:51:51 +01:00 committed by GitHub
parent 7d14d15ba6
commit 3c5c2bef6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
142 changed files with 446 additions and 1412 deletions

View file

@ -66,10 +66,7 @@ export class IntegrationManagerInstance {
return IntegrationManagers.sharedInstance().showDisabledDialog();
}
const dialog = Modal.createTrackedDialog(
'Integration Manager', '', IntegrationManager,
{ loading: true }, 'mx_IntegrationManager',
);
const dialog = Modal.createDialog(IntegrationManager, { loading: true }, 'mx_IntegrationManager');
const client = this.getScalarClient();
client.setTermsInteractionCallback((policyInfo, agreedUrls) => {
@ -101,9 +98,6 @@ export class IntegrationManagerInstance {
// Close the old dialog and open a new one
dialog.close();
Modal.createTrackedDialog(
'Integration Manager', '', IntegrationManager,
newProps, 'mx_IntegrationManager',
);
Modal.createDialog(IntegrationManager, newProps, 'mx_IntegrationManager');
}
}

View file

@ -171,11 +171,11 @@ export class IntegrationManagers {
}
openNoManagerDialog(): void {
Modal.createTrackedDialog('Integrations impossible', '', IntegrationsImpossibleDialog);
Modal.createDialog(IntegrationsImpossibleDialog);
}
showDisabledDialog(): void {
Modal.createTrackedDialog('Integrations disabled', '', IntegrationsDisabledDialog);
Modal.createDialog(IntegrationsDisabledDialog);
}
async overwriteManagerOnAccount(manager: IntegrationManagerInstance) {