Skip to content

Commit

Permalink
Merge pull request #96 from platformatic/bugfix/remove-posthog
Browse files Browse the repository at this point in the history
fix: removing posthog stuff
  • Loading branch information
tonysnowboardunderthebridge authored Dec 12, 2023
2 parents 35e3a67 + 492eb59 commit 25e8f14
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preload" href="/fonts/Inter/Inter-VariableFont_slnt,wght.ttf" as="font" type="font/ttf" crossorigin />
<link rel="preload" href="/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf" as="font" type="font/ttf" crossorigin />
<script>
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
posthog.init('phc_1FOsRPL8pkVk1HGZszUhYC4VCIhiCVWMaSatSYt6NTY',{api_host:'https://app.posthog.com'})
</script>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/components/steps/ConfigureApplication.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ const ConfigureApplication = React.forwardRef(({ onNext, onBack }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='configure_application_done'
/>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/components/steps/CreateApplication.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ const CreateApplication = React.forwardRef(({ onNext }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='create_application_done'
/>
</div>
</form>
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/src/components/steps/GeneratingApplication.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ const GeneratingApplication = React.forwardRef(({ onRestartProcess }, ref) => {
color={WHITE}
backgroundColor={TRANSPARENT}
classes={`${commonStyles.buttonPadding} cy-action-restart`}
data-posthog='generating_restart'
/>
<Button
disabled={!appGenerated}
Expand All @@ -157,7 +156,6 @@ const GeneratingApplication = React.forwardRef(({ onRestartProcess }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='generating_complete'
/>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/components/steps/PrepareFolder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ const PrepareFolder = React.forwardRef(({ onNext, onBack }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='prepare_folder_done'
/>}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ const ComposeApplication = React.forwardRef(({ onNext, onBack }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='compose_application_done'
/>
</div>
{showModalTemplate && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ const ConfigureServices = React.forwardRef(({ onNext, onBack }, ref) => {
bordered={false}
backgroundColor={WHITE}
classes={`${commonStyles.buttonPadding} cy-action-next`}
data-posthog='configure_services_done'
/>
</div>
</div>
Expand Down

0 comments on commit 25e8f14

Please sign in to comment.