mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
fix: allow cross subdomain cookies at posthog (#243)
This commit is contained in:
parent
1d0a7cd2d8
commit
5ecc0d4da9
6 changed files with 39 additions and 7 deletions
|
|
@ -457,6 +457,7 @@ export default function UsagePage() {
|
|||
<TableRow className="bg-muted/50">
|
||||
<TableHead className="font-semibold">Run ID</TableHead>
|
||||
<TableHead className="font-semibold">Agent Name</TableHead>
|
||||
<TableHead className="font-semibold">Call Type</TableHead>
|
||||
<TableHead className="font-semibold">Phone Number</TableHead>
|
||||
<TableHead className="font-semibold">Disposition</TableHead>
|
||||
<TableHead className="font-semibold">Date</TableHead>
|
||||
|
|
@ -479,6 +480,15 @@ export default function UsagePage() {
|
|||
#{run.id}
|
||||
</TableCell>
|
||||
<TableCell>{run.workflow_name || 'Unknown'}</TableCell>
|
||||
<TableCell>
|
||||
{run.call_type ? (
|
||||
<Badge variant={run.call_type === 'inbound' ? "secondary" : "default"}>
|
||||
{run.call_type === 'inbound' ? 'Inbound' : 'Outbound'}
|
||||
</Badge>
|
||||
) : (
|
||||
<span className="text-sm text-muted-foreground">-</span>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell className="text-sm">
|
||||
{run.phone_number || '-'}
|
||||
</TableCell>
|
||||
|
|
|
|||
|
|
@ -3344,6 +3344,16 @@ export type ValidationError = {
|
|||
* Error Type
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* Input
|
||||
*/
|
||||
input?: unknown;
|
||||
/**
|
||||
* Context
|
||||
*/
|
||||
ctx?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -3818,6 +3828,10 @@ export type WorkflowRunUsageResponse = {
|
|||
* Phone Number
|
||||
*/
|
||||
phone_number?: string | null;
|
||||
/**
|
||||
* Call Type
|
||||
*/
|
||||
call_type?: string | null;
|
||||
/**
|
||||
* Disposition
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ const initPostHog = () => {
|
|||
capture_pageview: 'history_change',
|
||||
capture_pageleave: true,
|
||||
capture_exceptions: true,
|
||||
cross_subdomain_cookie: true,
|
||||
debug: process.env.NEXT_PUBLIC_NODE_ENV === 'development',
|
||||
});
|
||||
console.log('PostHog initialized from NEXT_PUBLIC config');
|
||||
|
|
@ -68,6 +69,7 @@ const initPostHog = () => {
|
|||
capture_pageview: 'history_change',
|
||||
capture_pageleave: true,
|
||||
capture_exceptions: true,
|
||||
cross_subdomain_cookie: true,
|
||||
debug: process.env.NEXT_PUBLIC_NODE_ENV === 'development',
|
||||
});
|
||||
console.log('PostHog initialized from API config');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue