Skip to content

Commit 9f7fc35

Browse files
authored
Merge branch 'dev' into subscription-handling
2 parents 88e61b9 + 7eeb80c commit 9f7fc35

File tree

3 files changed

+4
-38
lines changed

3 files changed

+4
-38
lines changed

client/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"chalk": "4",
8181
"flag-icons": "^7.2.1",
8282
"number-precision": "^1.6.0",
83-
"posthog-js": "^1.155.4",
8483
"react-countup": "^6.5.3",
8584
"react-player": "^2.11.0",
8685
"resize-observer-polyfill": "^1.5.1",

client/packages/lowcoder/src/app.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { SystemWarning } from "./components/SystemWarning";
5454
import { getBrandingConfig } from "./redux/selectors/configSelectors";
5555
import { buildMaterialPreviewURL } from "./util/materialUtils";
5656
import GlobalInstances from 'components/GlobalInstances';
57-
import posthog from 'posthog-js'
57+
// import posthog from 'posthog-js'
5858
import { fetchHomeData } from "./redux/reduxActions/applicationActions";
5959

6060
const LazyUserAuthComp = React.lazy(() => import("pages/userAuth"));
@@ -123,9 +123,9 @@ class AppIndex extends React.Component<AppIndexProps, any> {
123123
const isLowCoderDomain = window.location.hostname === 'app.lowcoder.cloud';
124124
const isLocalhost = window.location.hostname === 'localhost';
125125

126-
if (isLocalhost || isLowCoderDomain) {
126+
/* if (isLocalhost || isLowCoderDomain) {
127127
posthog.init('phc_lD36OXeppUehLgI33YFhioTpXqThZ5QqR8IWeKvXP7f', { api_host: 'https://eu.i.posthog.com', person_profiles: 'always' });
128-
}
128+
} */
129129

130130
// make sure all users in this app have checked login info
131131
if (!this.props.isFetchUserFinished || (this.props.currentUserId && !this.props.fetchHomeDataFinished)) {
@@ -136,7 +136,7 @@ class AppIndex extends React.Component<AppIndexProps, any> {
136136
// if the user just logged in, we send the event to posthog
137137
if (isLocalhost || isLowCoderDomain) {
138138
if (sessionStorage.getItem('_just_logged_in_')) {
139-
posthog.identify(this.props.currentUserId);
139+
// posthog.identify(this.props.currentUserId);
140140
sessionStorage.removeItem('_just_logged_in_');
141141
}
142142
}

client/yarn.lock

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10412,13 +10412,6 @@ coolshapes-react@lowcoder-org/coolshapes-react:
1041210412
languageName: node
1041310413
linkType: hard
1041410414

10415-
"fflate@npm:^0.4.8":
10416-
version: 0.4.8
10417-
resolution: "fflate@npm:0.4.8"
10418-
checksum: 29d8cbe44d5e7f53e7f5a160ac7f9cc025480c7b3bfd85c5f898cbe20dfa2dad4732daa534982664bf30b35896a90af44ea33ede5d94c5ffd1b8b0c0a0a56ca2
10419-
languageName: node
10420-
linkType: hard
10421-
1042210415
"file-entry-cache@npm:^6.0.1":
1042310416
version: 6.0.1
1042410417
resolution: "file-entry-cache@npm:6.0.1"
@@ -13847,7 +13840,6 @@ coolshapes-react@lowcoder-org/coolshapes-react:
1384713840
lowcoder-cli: "workspace:^"
1384813841
mq-polyfill: ^1.1.8
1384913842
number-precision: ^1.6.0
13850-
posthog-js: ^1.155.4
1385113843
prettier: ^3.1.0
1385213844
react-countup: ^6.5.3
1385313845
react-player: ^2.11.0
@@ -16423,24 +16415,6 @@ coolshapes-react@lowcoder-org/coolshapes-react:
1642316415
languageName: node
1642416416
linkType: hard
1642516417

16426-
"posthog-js@npm:^1.155.4":
16427-
version: 1.155.4
16428-
resolution: "posthog-js@npm:1.155.4"
16429-
dependencies:
16430-
fflate: ^0.4.8
16431-
preact: ^10.19.3
16432-
web-vitals: ^4.0.1
16433-
checksum: 749d180a4bfda0cb89307bad81eb230523c3e8f03dc94ac35dde212a130593a23dd98768bbff64753931dc501bca345397d7b39157dcc6eb174d57bd647c33d5
16434-
languageName: node
16435-
linkType: hard
16436-
16437-
"preact@npm:^10.19.3":
16438-
version: 10.22.1
16439-
resolution: "preact@npm:10.22.1"
16440-
checksum: 8762645766b1c057eaf9a58ff904b6659ffa7a7d33eb94dc2b96ff1ba08743855c3ade913dfbe9e8da994777aa9f4f5e9f23d39886340f23eaebcd98f5e107e5
16441-
languageName: node
16442-
linkType: hard
16443-
1644416418
"preact@npm:~10.12.1":
1644516419
version: 10.12.1
1644616420
resolution: "preact@npm:10.12.1"
@@ -21633,13 +21607,6 @@ coolshapes-react@lowcoder-org/coolshapes-react:
2163321607
languageName: node
2163421608
linkType: hard
2163521609

21636-
"web-vitals@npm:^4.0.1":
21637-
version: 4.2.1
21638-
resolution: "web-vitals@npm:4.2.1"
21639-
checksum: 556989af90814c6a88eaeea57f778414b26e39d8857173a03e240f62e9cf732090acc97fba38f34f760bde086fef5ee90969920ff1ab3a185518176723589cb8
21640-
languageName: node
21641-
linkType: hard
21642-
2164321610
"web-worker@npm:^1.2.0":
2164421611
version: 1.3.0
2164521612
resolution: "web-worker@npm:1.3.0"

0 commit comments

Comments
 (0)