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:
committed by
GitHub
parent
7d14d15ba6
commit
3c5c2bef6d
@@ -183,15 +183,10 @@ class LocationPicker extends React.Component<ILocationPickerProps, IState> {
|
||||
// pin drop location without permissions is ok
|
||||
if (isSharingOwnLocation(this.props.shareType)) {
|
||||
this.props.onFinished();
|
||||
Modal.createTrackedDialog(
|
||||
'Could not fetch location',
|
||||
'',
|
||||
ErrorDialog,
|
||||
{
|
||||
title: _t("Could not fetch location"),
|
||||
description: positionFailureMessage(e.code),
|
||||
},
|
||||
);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Could not fetch location"),
|
||||
description: positionFailureMessage(e.code),
|
||||
});
|
||||
}
|
||||
|
||||
if (this.geolocate) {
|
||||
|
||||
@@ -49,7 +49,6 @@ const handleShareError = (error: Error, openMenu: () => void, shareType: Locatio
|
||||
"We couldn't start sharing your live location" :
|
||||
"We couldn't send your location";
|
||||
logger.error(errorMessage, error);
|
||||
const analyticsAction = errorMessage;
|
||||
const params = {
|
||||
title: _t("We couldn't send your location"),
|
||||
description: _t("%(brand)s could not send your location. Please try again later.", {
|
||||
@@ -63,7 +62,7 @@ const handleShareError = (error: Error, openMenu: () => void, shareType: Locatio
|
||||
}
|
||||
},
|
||||
};
|
||||
Modal.createTrackedDialog(analyticsAction, '', QuestionDialog, params);
|
||||
Modal.createDialog(QuestionDialog, params);
|
||||
};
|
||||
|
||||
export const shareLiveLocation = (
|
||||
|
||||
Reference in New Issue
Block a user