pull/5313/head
bunsenstraat 2 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 return (window as any)._paq
}, [], (res) => { }, [], (res) => {
const expectedEvents = [ const expectedEvents = [
["trackEvent", "Preload", "start"], ["trackEvent", "App", "Preload", "start"],
["trackEvent", "Storage", "activate", "indexedDB"], ["trackEvent", "Storage", "activate", "indexedDB"],
["trackEvent", "App", "load"], ["trackEvent", "App", "load"],
]; ];

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

Loading…
Cancel
Save