Skip to content

Commit

Permalink
chore: Add Userflow to euro2024, ai chart and report builder
Browse files Browse the repository at this point in the history
  • Loading branch information
jctello committed Sep 5, 2024
1 parent c3a130f commit 9392306
Show file tree
Hide file tree
Showing 10 changed files with 2,121 additions and 1,465 deletions.
3,556 changes: 2,095 additions & 1,461 deletions embedded-ai-chart/frontend/package-lock.json
100755 → 100644

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion embedded-ai-chart/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"material-symbols": "^0.17.1",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"userflow.js": "^2.12.1",
"zone.js": "~0.14.0"
},
"devDependencies": {
Expand All @@ -47,4 +48,4 @@
"ts-node": "~10.9.0",
"typescript": "~5.2.0"
}
}
}
2 changes: 1 addition & 1 deletion embedded-ai-chart/frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
</head>
<body class="mat-typography">
<body class="mat-typography userflow-showcase-ai-chart">
<app-root></app-root>
</body>
</html>
5 changes: 5 additions & 0 deletions embedded-ai-chart/frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import routeConfig from './app/app.routes';
import { ConfigService } from './app/shared/services/config.service';
import { environment } from './environments/environment';

// Userflow is only necessary for the Luzmo hosted showcases
import userflow from 'userflow.js'
userflow.init('ct_65z5oczamna45bveai47cpcbpe');
userflow.identifyAnonymous();

export function initializeApp(configService: ConfigService) {
return () => configService.loadConfig().toPromise();
}
Expand Down
2 changes: 2 additions & 0 deletions embedded-ai-chart/frontend/src/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,5 @@ input, button, textarea, select {
}
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }

userflow-showcase-ai-chart {}
6 changes: 6 additions & 0 deletions report-builder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions report-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"thememirror": "^2.0.1",
"three": "^0.164.1",
"tslib": "^2.3.0",
"userflow.js": "^2.12.1",
"util": "^0.12.5",
"zone.js": "~0.14.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex flex-col h-screen">
<div class="flex flex-col h-screen userflow-report-builder">
<app-header></app-header>
<div class="flex flex-row grow">
<app-data-panel class="border-r h-full"></app-data-panel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ app-chart-panel {
width: 18rem;
--violet: #7d00fa;
--violet-50: rgb(245 243 255 / 1);
}
}

userflow-report-builder {}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import { HeaderComponent } from './header/header.component';
import { MatSelectModule } from '@angular/material/select';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from "@angular/material/form-field";

// Userflow is only necessary for the Luzmo hosted showcases
import userflow from 'userflow.js'
userflow.init('ct_65z5oczamna45bveai47cpcbpe');
userflow.identifyAnonymous();

@Component({
selector: 'app-report-builder',
standalone: true,
Expand Down

0 comments on commit 9392306

Please sign in to comment.