1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00

Merge master.

This commit is contained in:
Sam Rose 2024-09-26 10:54:30 +01:00
commit b93e6cb986
No known key found for this signature in database
4 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "2.32.7",
"version": "2.32.8",
"npmClient": "yarn",
"packages": [
"packages/*",

@ -1 +1 @@
Subproject commit c24374879d2b61516fabc24d7404e7da235be05e
Subproject commit afe53b4be55ac6f93dc9486596835412b2673f90

View file

@ -3,6 +3,7 @@ import * as context from "../context"
import { PostHog, PostHogOptions } from "posthog-node"
import { FeatureFlag, IdentityType, UserCtx } from "@budibase/types"
import tracer from "dd-trace"
import { Duration } from "../utils"
let posthog: PostHog | undefined
export function init(opts?: PostHogOptions) {
@ -16,6 +17,7 @@ export function init(opts?: PostHogOptions) {
posthog = new PostHog(env.POSTHOG_TOKEN, {
host: env.POSTHOG_API_HOST,
personalApiKey: env.POSTHOG_PERSONAL_TOKEN,
featureFlagsPollingInterval: Duration.fromMinutes(3).toMs(),
...opts,
})
} else {

View file

@ -396,6 +396,11 @@
padding: 6px 10px;
margin-bottom: 8px;
}
.compact .placeholder {
height: fit-content;
}
.title {
display: flex;
flex-direction: row;