|
|
@ -66,7 +66,7 @@ const RemixApp = (props: IRemixAppUi) => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (hadUsageTypeAsked) { |
|
|
|
if (hadUsageTypeAsked) { |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', hadUsageTypeAsked]) |
|
|
|
_paq.push(['trackEvent', 'userEntry', 'usageType', hadUsageTypeAsked]) |
|
|
|
} |
|
|
|
} |
|
|
|
}, []) |
|
|
|
}, []) |
|
|
|
|
|
|
|
|
|
|
@ -153,23 +153,26 @@ const RemixApp = (props: IRemixAppUi) => { |
|
|
|
// await props.app.appManager.call('filePanel', 'switchToWorkspace', { name: wName, isLocalHost: false })
|
|
|
|
// await props.app.appManager.call('filePanel', 'switchToWorkspace', { name: wName, isLocalHost: false })
|
|
|
|
|
|
|
|
|
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'beginner']) |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'beginner']) |
|
|
|
break |
|
|
|
_paq.push(['trackEvent', 'userEntry', 'usageType', 'beginner']) |
|
|
|
|
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
case UsageTypes.Advance: { |
|
|
|
case UsageTypes.Advance: { |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'advanced']) |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'advanced']) |
|
|
|
|
|
|
|
_paq.push(['trackEvent', 'userEntry', 'usageType', 'advanced']) |
|
|
|
break |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
case UsageTypes.Prototyper: { |
|
|
|
case UsageTypes.Prototyper: { |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'prototyper']) |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'prototyper']) |
|
|
|
|
|
|
|
_paq.push(['trackEvent', 'userEntry', 'usageType', 'prototyper']) |
|
|
|
break |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
case UsageTypes.Production: { |
|
|
|
case UsageTypes.Production: { |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'production']) |
|
|
|
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'production']) |
|
|
|
|
|
|
|
_paq.push(['trackEvent', 'userEntry', 'usageType', 'production']) |
|
|
|
break |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
default: throw new Error() |
|
|
|
default: throw new Error() |
|
|
|
} |
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|