Remove redundant self_hosted_expansion prefixes for telemetry events.
Этот коммит содержится в:
@@ -74,12 +74,12 @@ export default function SelfHostedExpansionErrorPage(props: Props) {
|
|||||||
error={true}
|
error={true}
|
||||||
formattedButtonText={formattedButtonText}
|
formattedButtonText={formattedButtonText}
|
||||||
buttonHandler={() => {
|
buttonHandler={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_try_again_clicked');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_try_again_clicked');
|
||||||
props.tryAgain();
|
props.tryAgain();
|
||||||
}}
|
}}
|
||||||
formattedTertiaryButonText={tertiaryButtonText}
|
formattedTertiaryButonText={tertiaryButtonText}
|
||||||
tertiaryButtonHandler={() => {
|
tertiaryButtonHandler={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_contact_support_clicked');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_contact_support_clicked');
|
||||||
window.open(contactSupportLink, '_blank', 'noreferrer');
|
window.open(contactSupportLink, '_blank', 'noreferrer');
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export default function SelfHostedExpansionSuccessPage(props: Props) {
|
|||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_success_screen_closed');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'success_screen_closed');
|
||||||
history.push(ConsolePages.BILLING_HISTORY);
|
history.push(ConsolePages.BILLING_HISTORY);
|
||||||
props.onClose();
|
props.onClose();
|
||||||
}}
|
}}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user