pull/5313/head
bunsenstraat 3 weeks ago committed by Aniket
parent f5d6fa0ca3
commit 25a692d3d4
  1. 2
      apps/remix-ide-e2e/src/tests/matomo.test.ts
  2. 2
      libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx
  3. 2
      libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx

@ -439,7 +439,7 @@ module.exports = {
return (window as any)._paq
}, [], (res) => {
const expectedEvents = [
["trackEvent", "Preload", "start"],
["trackEvent", "App", "Preload", "start"],
["trackEvent", "Storage", "activate", "indexedDB"],
["trackEvent", "App", "load"],
];

@ -87,7 +87,7 @@ function ActivePluginCard({ profile, buttonText, deactivatePlugin }: PluginCardP
>
<button
onClick={() => {
_paq.push(['trackEvent', 'pluginManager', 'deactivateBtn', 'deactivate btn ' + profile.name])
_paq.push(['trackEvent', 'pluginManager', 'deactivateBtn', 'deactivate btn ' + profile.name])
deactivatePlugin(profile.name)
}}
className="btn btn-secondary btn-sm"

@ -105,7 +105,7 @@ function InactivePluginCard({ profile, buttonText, activatePlugin }: PluginCardP
{!canBeActivated ? <button className="btn btn-secondary btn-sm">{intl.formatMessage({ id: 'pluginManager.UnavailableOffline' })}</button> : (
<button
onClick={() => {
_paq.push(['trackEvent', 'pluginManager', 'activateBtn', 'activate btn' + profile.name])
_paq.push(['trackEvent', 'pluginManager', 'activateBtn', 'activate btn' + profile.name])
activatePlugin(profile.name)
}}
className="btn btn-success btn-sm"

Loading…
Cancel
Save